Purchase-to-pay specification
Pilot sample: a reusable specification template, and one workflow documented with it. It is built the way the paid pilot would be: the questionnaire filled in for purchase-to-pay, then the workflow documented from the answers, including the three exceptions the post names.
How one answer becomes a specification
Pick any question and follow it forward. Each answer becomes numbered rules, an exception path that exercises them, and tests with numbers you can check.
The spec is checked like code
The spec lives in plain YAML files. A script compiles them into this site and refuses to build if any reference is broken, so the document cannot quietly drift out of step with itself.
What’s in this sample
Plain-English questions a product owner can answer, and what each answer turns into. Blank and filled-in views.
Six steps from order to payment, the records each step owns, and the two state machines.
Sixteen numbered business rules, four separation-of-duties checks, and the role matrix.
The partial receipt, the invoice mismatch and the duplicate submission, step by step on one order.
Eighteen measurable tests, and the matrix that links each question to its rules, tests and evidence.
What is still open, who owns it, which ones need an accountant, and the revision history.
Scope
Scope of Release 1 for this workflow. Anything out of scope is either a later capability or an open decision.
- PO-backed purchasing of stocked items, from purchase order to payment
- Receiving at one warehouse, including partial deliveries
- Vendor invoices with a line-level three-way match (order, receipt, invoice)
- Duplicate invoice detection at capture
- Approval for payment and payment runs
- The postings each step hands to Finance (accrual, payable, price variance)
- Non-PO invoices such as utilities and services (decision D-01)
- Returns to vendor and debit memos (later capability)
- Landed cost, freight allocation and multi-currency (later capability)
- Invoice reading from PDF or email (later capability; capture is manual in release 1)