navigate
http://127.0.0.1:8000/portal/login?next=/portal/invoices%3Fvendor%3DOrbit%2520Office%2520Supplies%26status%3Dopen&reason=signed_outOpening the supplier portal filtered to Orbit Office Supplies open invoices.
{"url": "http://127.0.0.1:8000/portal/invoices?vendor=Orbit Office Supplies&status=open"}
→ opened http://127.0.0.1:8000/portal/login?next=/portal/invoices%3Fvendor%3DOrbit%2520Office%2520Supplies%26status%3Dopen&reason=signed_out (HTTP 200)

type
http://127.0.0.1:8000/portal/login?next=/portal/invoices%3Fvendor%3DOrbit%2520Office%2520Supplies%26status%3Dopen&reason=signed_outSession expired; signing in again.
{"id": 1, "text": "ops.agent"}
→ typed "ops.agent"

type
http://127.0.0.1:8000/portal/login?next=/portal/invoices%3Fvendor%3DOrbit%2520Office%2520Supplies%26status%3Dopen&reason=signed_outEntering the password.
{"id": 2, "text": "acme-ops-2026"}
→ typed "acme-ops-2026"

click
http://127.0.0.1:8000/portal/loginSubmitting the sign-in form.
{"id": 3}
→ clicked "Sign in"

navigate
http://127.0.0.1:8000/portal/loginThe service answered 503; retrying the page.
{"url": "http://127.0.0.1:8000/portal/login"}
→ opened http://127.0.0.1:8000/portal/login (HTTP 200)

type
http://127.0.0.1:8000/portal/loginSession expired; signing in again.
{"id": 1, "text": "ops.agent"}
→ typed "ops.agent"

type
http://127.0.0.1:8000/portal/loginEntering the password.
{"id": 2, "text": "acme-ops-2026"}
→ typed "acme-ops-2026"

click
http://127.0.0.1:8000/portal/invoicesSubmitting the sign-in form.
{"id": 3}
→ clicked "Sign in"

note_fact
http://127.0.0.1:8000/portal/invoicesTarget invoice is OR-5521; noting it.
{"key": "invoice_number", "value": "OR-5521", "source": "http://127.0.0.1:8000/portal/invoices"}
→ noted invoice_number = 'OR-5521' (source: http://127.0.0.1:8000/portal/invoices)

click
http://127.0.0.1:8000/portal/invoices/6Opening invoice OR-5521.
{"id": 8}
→ clicked "View"

read_pdf
http://127.0.0.1:8000/portal/invoices/6Reading the invoice PDF, the document of record.
{"url": "/portal/invoices/6/pdf"}
→ PDF text: Orbit Office Supplies GSTIN 06AAACO3456P1Z1 | ar@orbit.example TAX INVOICE Invoice number: OR-5521 Invoice date: 2026-10-07 Due date: 2026-10-21 Purchase order: PO-7741 Bill to: Acme Robotics Pvt Ltd, New Delhi Item Qty Unit price Amount Office chairs 4 Rs 1,600.00 Rs 6,400.00 Total due (INR): Rs 6,400.00

note_fact
http://127.0.0.1:8000/portal/invoices/6Noting pdf_total:OR-5521 from the PDF.
{"key": "pdf_total:OR-5521", "value": "640000", "source": "/portal/invoices/6/pdf"}
→ noted pdf_total:OR-5521 = '640000' (source: /portal/invoices/6/pdf)

note_fact
http://127.0.0.1:8000/portal/invoices/6Noting due_date:OR-5521 from the PDF.
{"key": "due_date:OR-5521", "value": "2026-10-21", "source": "/portal/invoices/6/pdf"}
→ noted due_date:OR-5521 = '2026-10-21' (source: /portal/invoices/6/pdf)

note_fact
http://127.0.0.1:8000/portal/invoices/6Noting po:OR-5521 from the PDF.
{"key": "po:OR-5521", "value": "PO-7741", "source": "/portal/invoices/6/pdf"}
→ noted po:OR-5521 = 'PO-7741' (source: /portal/invoices/6/pdf)

note_fact
http://127.0.0.1:8000/portal/invoices/6Noting vendor_gstin:OR-5521 from the PDF.
{"key": "vendor_gstin:OR-5521", "value": "06AAACO3456P1Z1", "source": "/portal/invoices/6/pdf"}
→ noted vendor_gstin:OR-5521 = '06AAACO3456P1Z1' (source: /portal/invoices/6/pdf)

navigate
http://127.0.0.1:8000/mail/login?next=/mail/inbox%3Fq%3DOrbit&reason=signed_outPDF facts noted; checking the mailbox for revisions.
{"url": "http://127.0.0.1:8000/mail/inbox?q=Orbit"}
→ opened http://127.0.0.1:8000/mail/login?next=/mail/inbox%3Fq%3DOrbit&reason=signed_out (HTTP 200)

type
http://127.0.0.1:8000/mail/login?next=/mail/inbox%3Fq%3DOrbit&reason=signed_outSession expired; signing in again.
{"id": 1, "text": "ops.agent"}
→ typed "ops.agent"

type
http://127.0.0.1:8000/mail/login?next=/mail/inbox%3Fq%3DOrbit&reason=signed_outEntering the password.
{"id": 2, "text": "acme-ops-2026"}
→ typed "acme-ops-2026"

click
http://127.0.0.1:8000/mail/inbox?q=OrbitSubmitting the sign-in form.
{"id": 3}
→ clicked "Sign in"

note_fact
http://127.0.0.1:8000/mail/inbox?q=OrbitNo relevant mail; moving to the ERP.
{"key": "mail_check:OR-5521", "value": "no relevant mail", "source": "http://127.0.0.1:8000/mail/inbox?q=Orbit"}
→ noted mail_check:OR-5521 = 'no relevant mail' (source: http://127.0.0.1:8000/mail/inbox?q=Orbit)

navigate
http://127.0.0.1:8000/ledger/login?next=/ledger/vendors&reason=signed_outOpening the vendor master to match by GSTIN.
{"url": "http://127.0.0.1:8000/ledger/vendors"}
→ opened http://127.0.0.1:8000/ledger/login?next=/ledger/vendors&reason=signed_out (HTTP 200)

type
http://127.0.0.1:8000/ledger/login?next=/ledger/vendors&reason=signed_outSession expired; signing in again.
{"id": 1, "text": "ops.agent"}
→ typed "ops.agent"

type
http://127.0.0.1:8000/ledger/login?next=/ledger/vendors&reason=signed_outEntering the password.
{"id": 2, "text": "acme-ops-2026"}
→ typed "acme-ops-2026"

click
http://127.0.0.1:8000/ledger/vendorsSubmitting the sign-in form.
{"id": 3}
→ clicked "Sign in"

note_fact
http://127.0.0.1:8000/ledger/vendorsGSTIN 06AAACO3456P1Z1 belongs to Orbit Office Supplies.
{"key": "vendor_name:OR-5521", "value": "Orbit Office Supplies", "source": "http://127.0.0.1:8000/ledger/vendors"}
→ noted vendor_name:OR-5521 = 'Orbit Office Supplies' (source: http://127.0.0.1:8000/ledger/vendors)

navigate
http://127.0.0.1:8000/ledger/bills?q=OR-5521Searching the ERP for this invoice number.
{"url": "http://127.0.0.1:8000/ledger/bills?q=OR-5521"}
→ opened http://127.0.0.1:8000/ledger/bills?q=OR-5521 (HTTP 200)

note_fact
http://127.0.0.1:8000/ledger/bills?q=OR-5521No duplicate; proceeding to record.
{"key": "duplicate_check:OR-5521", "value": "none", "source": "http://127.0.0.1:8000/ledger/bills?q=OR-5521"}
→ noted duplicate_check:OR-5521 = 'none' (source: http://127.0.0.1:8000/ledger/bills?q=OR-5521)

navigate
http://127.0.0.1:8000/ledger/login?next=/ledger/bills/new&reason=signed_outOpening the new bill form.
{"url": "http://127.0.0.1:8000/ledger/bills/new"}
→ opened http://127.0.0.1:8000/ledger/login?next=/ledger/bills/new&reason=signed_out (HTTP 200)

type
http://127.0.0.1:8000/ledger/login?next=/ledger/bills/new&reason=signed_outSession expired; signing in again.
{"id": 1, "text": "ops.agent"}
→ typed "ops.agent"

type
http://127.0.0.1:8000/ledger/login?next=/ledger/bills/new&reason=signed_outEntering the password.
{"id": 2, "text": "acme-ops-2026"}
→ typed "acme-ops-2026"

click
http://127.0.0.1:8000/ledger/bills/newSubmitting the sign-in form.
{"id": 3}
→ clicked "Sign in"

select
http://127.0.0.1:8000/ledger/bills/newSelecting vendor Orbit Office Supplies.
{"id": 5, "option": "Orbit Office Supplies"}
→ selected "Orbit Office Supplies"

type
http://127.0.0.1:8000/ledger/bills/newEntering invoice.
{"id": 6, "text": "OR-5521"}
→ typed "OR-5521"

type
http://127.0.0.1:8000/ledger/bills/newEntering total.
{"id": 7, "text": "6400.00"}
→ typed "6400.00"

type
http://127.0.0.1:8000/ledger/bills/newEntering due.
{"id": 8, "text": "2026-10-21"}
→ typed "2026-10-21"

type
http://127.0.0.1:8000/ledger/bills/newEntering purchase order.
{"id": 9, "text": "PO-7741"}
→ typed "PO-7741"

commit
http://127.0.0.1:8000/ledger/bills/4?flash=savedAll fields entered; committing the bill through the policy gate.
{"id": 12, "intent": {"type": "create_bill", "system": "ledger", "vendor_name": "Orbit Office Supplies", "vendor_gstin": "06AAACO3456P1Z1", "invoice_number": "OR-5521", "amount_paise": 640000, "due_date": "2026-10-21", "po_number": "PO-7741", "approved_by": ""}}
→ clicked "Record invoice"; submitted. Now verify on the page that the record exists with the right values.

navigate
http://127.0.0.1:8000/ledger/bills?q=OR-5521Submitted; verifying on the list page.
{"url": "http://127.0.0.1:8000/ledger/bills?q=OR-5521"}
→ opened http://127.0.0.1:8000/ledger/bills?q=OR-5521 (HTTP 200)

done
http://127.0.0.1:8000/ledger/bills?q=OR-5521The list shows the record; declaring what must now be true.
{"summary": "Recorded OR-5521 (Orbit Office Supplies) for 6,400.00 INR due 2026-10-21 in ledger. Verified on the list page (record #4).", "assertions": [{"kind": "exists", "system": "ledger", "entity": "bill", "match": {"invoice_number": "OR-5521", "vendor_gstin": "06AAACO3456P1Z1"}, "expect": {"amount_paise": 640000, "due_date": "2026-10-21", "status": "posted", "po_number": "PO-7741"}}]}
→ assertions recorded; verification will decide the status
