# Purchase-to-pay specification

Pilot sample: a reusable specification template, and one workflow documented with it. Revision 0.3, 11/29/2026.

> An invented industrial distributor. Every company, person, number and document in this sample is synthetic.

## 1. Questionnaire

### Authority and approvals

Who may commit the company to spend money, and what happens when a commitment changes.

**Q-01. Who can commit the company to a purchase, and up to what amount?**

- Why we ask: Approval limits become routing rules and permission rows. Without numbers, nobody can test them.
- Fill in: A table of role, amount limit, and what happens above the limit.
- Answer (answered): Buyers can issue an order up to $2,500 on their own. Up to $25,000 needs the purchasing manager. Anything above that needs the controller. The limit applies to the order total, not per line.
- Becomes: BR-02, P-APPROVE-PO, AC-01, AC-02

**Q-02. If an approved order changes, when does it need approval again?**

- Why we ask: Changes are where approval limits get bypassed. This decides what counts as a material change.
- Fill in: The fields that matter, and the size of change that sends it back.
- Answer (answered): A change to vendor, item or payment terms always goes back for approval. A price or quantity change goes back if the total rises more than 5% or moves the order into a higher approval tier.
- Becomes: BR-03, AC-13

### Receiving

What the dock is allowed to accept, and what happens to anything still owed.

**Q-03. Can a delivery be accepted in part? What happens to the rest of the order?**

- Why we ask: Partial receipts decide when an order closes and how much an invoice may bill.
- Fill in: Yes or no; what stays open; who can give up on the remainder, and how.
- Answer (answered): Yes. Whatever arrives is received, and the rest stays open on the order line. If the vendor will not ship the rest, the buyer closes the line short with a reason.
- Becomes: BR-05, BR-06, EX-01, P-CLOSE-SHORT, AC-03, AC-07

**Q-04. Can the dock accept more than was ordered?**

- Why we ask: Over-receipts create stock nobody approved and invoices that will never match.
- Fill in: A tolerance in percent or units, per item class if it differs.
- Answer (assumed): Assumed no: receipts above the open quantity are refused at the dock. Warehouse to confirm for bulk items sold by weight.
- Becomes: BR-04, AC-04, D-05

### Matching and holds

How close an invoice must be to the order and the receipt before it pays without a person touching it.

**Q-05. How close must an invoice be to the order and the receipt before it can be paid without review?**

- Why we ask: Tolerances decide how many invoices a person has to touch. Too tight and AP drowns; too loose and money leaks.
- Fill in: Quantity tolerance, price tolerance (percent and amount), and whether under-billing passes.
- Answer (answered): Never pay for more than we received. The unit price may run at most 1% over the order price, and the extra on a line may not pass $25. Billing below the order price is fine, but record it.
- Becomes: BR-10, BR-11, EX-02, AC-05, AC-06

**Q-06. When an invoice is held, who fixes it, and what are their options?**

- Why we ask: Every hold needs an owner and a way out, or it sits until the vendor calls about late payment.
- Fill in: Per hold type, the owner, the allowed actions, and whether it can clear itself.
- Answer (answered): A quantity hold should clear itself when the goods arrive. A price hold goes to the buyer, who either confirms the order price (and AP asks the vendor for a credit) or amends the order within their limit. Only the controller can override a hold and pay anyway.
- Becomes: BR-12, P-RESOLVE-PRICE, P-OVERRIDE-HOLD, D-03

### Duplicates

What makes two invoices the same invoice, and how sure the system must be before it blocks one.

**Q-07. What makes two invoices the same invoice?**

- Why we ask: Vendors resend invoices by mail, email and portal. A duplicate rule that is too strict blocks real bills.
- Fill in: The matching fields, how invoice numbers are normalized, and what happens on a near match.
- Answer (answered): Same vendor, same invoice number and same amount is a duplicate: block it. Ignore spaces, dashes and case in the number. Same vendor and number with a different amount, or same vendor and amount within ten days, might be a duplicate: hold it for the AP lead.
- Becomes: BR-08, BR-09, EX-03, P-RELEASE-DUP, AC-08, AC-09, AC-10

### Separation of duties

Which jobs must never be done by the same person on the same transaction.

**Q-08. Which jobs must never be done by the same person on the same transaction?**

- Why we ask: These become hard checks in the system, not policy on paper, and auditors test them.
- Fill in: Pairs of actions that must be done by different people, with any exceptions.
- Answer (answered): Whoever orders the goods cannot receive them. Whoever keys an invoice cannot release the payment. Whoever changes a vendor's bank details cannot pay that vendor. Proposing and releasing a payment run are two people.
- Becomes: SOD-01, SOD-02, SOD-03, SOD-04, AC-12

### Records and audit

What the business must be able to prove later, and to whom.

**Q-09. What must you be able to prove later, and to whom?**

- Why we ask: This sets the audit trail, retention, and which records can never be edited.
- Fill in: The events to record, who reads them (auditors, tax, lenders), and how long to keep them.
- Answer (answered): Who did what and when, on every order, receipt, invoice and payment, including holds and overrides with the reason. Our auditors ask for this every year. Keep seven years.
- Becomes: BR-16, AC-11

### Accounting handoff

What each step tells Finance. These answers usually need an accountant in the room.

**Q-10. When goods are received but not yet invoiced, how should that show in the books? And where does a price difference go?**

- Why we ask: Receipt accruals and price variances depend on the costing method, which is an accounting decision.
- Fill in: Accrual at receipt (yes or no), the valuation basis, and the account for price differences.
- Answer (open): Accrue at receipt at the order price. Price differences go to a variance account for now; the controller will decide between standard and average cost.
- Becomes: BR-15, D-02

## 2. Workflow

### ST-1. Raise and approve the purchase order

- Actor: Buyer, then an approver by amount
- Trigger: A replenishment need or an approved request.
- Does: The buyer creates the order. It routes for approval by order total, then is sent to the vendor.
- Ends: Order approved and sent.
- Owns: Purchase order, Order line, Approval record
- Rules: BR-01, BR-02, BR-03

### ST-2. Receive the goods

- Actor: Receiver
- Trigger: A delivery arrives at the dock with a packing slip.
- Does: The receiver counts what arrived and posts it against the open order lines. Stock and the receipt accrual post in the same transaction.
- Ends: Lines received in full, or in part with the rest left open.
- Owns: Goods receipt, Receipt line
- Rules: BR-04, BR-05, BR-06, BR-15

### ST-3. Capture the invoice and check for duplicates

- Actor: AP clerk
- Trigger: An invoice arrives by mail, email or the vendor portal.
- Does: The clerk keys the header and lines against the order. The duplicate check runs before the invoice can be saved as payable.
- Ends: Invoice accepted for matching, held as a possible duplicate, or blocked.
- Owns: Vendor invoice, Invoice line, Duplicate check
- Rules: BR-07, BR-08, BR-09

### ST-4. Three-way match

- Actor: System
- Trigger: An invoice is accepted, or a receipt, order change or credit memo touches a held invoice's order.
- Does: Each invoice line is compared with its order line (price) and the receipts so far (quantity). Lines outside tolerance open a hold with the exact variance.
- Ends: Matched, or on hold with an owner.
- Owns: Match result, Hold
- Rules: BR-10, BR-11, BR-12

### ST-5. Approve for payment

- Actor: System, or the AP lead after an override
- Trigger: The invoice has no open holds.
- Does: A clean match approves itself for payment. The due date comes from the vendor's terms and the invoice date.
- Ends: Approved, with a due date.
- Owns: Payment approval
- Rules: BR-13, BR-15

### ST-6. Pay

- Actor: AP lead proposes, Treasury releases
- Trigger: Approved invoices fall due within the run window.
- Does: The AP lead proposes a payment run. Treasury reviews and releases it; the bank file and remittance go out.
- Ends: Paid, with remittance sent to the vendor.
- Owns: Payment run, Payment
- Rules: BR-14

### Records

| Id | Record | Step | Key fields |
|---|---|---|---|
| R-PO | Purchase order | ST-1 | po_no, vendor_id, buyer_id, terms, currency, total, revision, status |
| R-POL | Order line | ST-1 | po_no, line_no, item_id, qty_ordered, unit_price, qty_received, qty_billed, qty_closed_short, status |
| R-APR | Approval record | ST-1 | document, revision, tier, approver_id, decision, decided_at |
| R-GR | Goods receipt | ST-2 | gr_no, po_no, packing_slip, received_by, received_at |
| R-GRL | Receipt line | ST-2 | gr_no, po_line, qty, location, lot |
| R-INV | Vendor invoice | ST-3 | inv_id, vendor_id, vendor_invoice_no, normalized_no, invoice_date, gross_amount, status, captured_by |
| R-INL | Invoice line | ST-3 | inv_id, line_no, po_line, qty_billed, unit_price, amount |
| R-DUP | Duplicate check | ST-3 | inv_id, rule, matched_inv_id, outcome, checked_at |
| R-MAT | Match result | ST-4 | inv_line, qty_variance, price_variance, variance_pct, outcome |
| R-HLD | Hold | ST-4 | hold_id, inv_id, type, opened_at, owner_role, released_at, released_by, reason |
| R-PAA | Payment approval | ST-5 | inv_id, approved_by, approved_at, due_date, override |
| R-RUN | Payment run | ST-6 | run_id, proposed_by, released_by, second_approver, total, status |
| R-PAY | Payment | ST-6 | pay_id, run_id, vendor_id, amount, method, invoice_ids |
| R-AUD | Audit entry | ALL | entity, entity_id, from_state, to_state, actor, at, reason |

State diagrams: `spec/out/po-states.mmd`, `spec/out/invoice-states.mmd` (Mermaid).

## 3. Business rules

**BR-01. Orders need an active vendor and active items.** An order can be submitted only when the vendor is active and not on purchasing hold, and every item is active for purchase. _Source: Q-01. Tests: AC-15._

**BR-02. Approval by order total.** Orders up to $2,500.00 are approved by the issuing buyer. Orders over $2,500.00 and up to $25,000.00 route to the purchasing manager. Orders over $25,000.00 route to the controller. The order total, not the line, sets the tier. _Source: Q-01. Tests: AC-01, AC-02._

**BR-03. Material changes need approval again.** After approval, a change to vendor, item or terms, or a price or quantity change that raises the total by more than 5% or moves it into a higher tier, returns the order to Pending approval as a new revision. _Source: Q-02. Tests: AC-13._

**BR-04. No over-receipt.** A receipt line may not exceed the line's open quantity (ordered minus received minus closed short). The dock sees the open quantity in the refusal. _Source: Q-04. Tests: AC-04._

**BR-05. Partial receipts keep the line open.** A receipt below the open quantity leaves the remainder open on the line. The order is Partially received while any line has received quantity and open quantity, and Received when no line has open quantity. _Source: Q-03. Tests: AC-03._

**BR-06. Close short with a reason.** The buyer may close the open quantity of a line short. A reason is required, the closed quantity is recorded on the line, and it can no longer be received or billed. _Source: Q-03. Tests: AC-16._

**BR-07. Invoices reference order lines.** In release 1 every invoice line must reference an order line of the same vendor. Invoices without an order cannot be captured (decision D-01). _Source: Q-05. Tests: AC-17._

**BR-08. Exact duplicate is blocked.** Before saving, the invoice number is normalized (keep letters and digits only, uppercase, drop leading zeros). If an invoice that is not voided has the same vendor, the same normalized number and the same gross amount, the new invoice is blocked: it is never saved as payable, and the clerk is shown the original. _Source: Q-07. Tests: AC-08, AC-18._

**BR-09. Near duplicate is held.** Same vendor and normalized number with a different gross amount, or same vendor and gross amount with an invoice date within 10 days of another invoice, puts the new invoice on a Possible duplicate hold. Only the AP lead can clear it (to matching) or reject it. _Source: Q-07. Tests: AC-09, AC-10._

**BR-10. Never bill more than received.** For each order line, the total billed quantity across all invoices may not exceed the total received quantity. The excess opens a QTY hold for the difference in units. _Source: Q-05. Tests: AC-05._

**BR-11. Price tolerance.** An invoice unit price may exceed the order unit price by at most 1.0%, and the line's price variance (billed quantity times the unit difference) may not exceed $25.00. Breaking either opens a PRICE hold. A price below the order price passes, and the favorable variance is recorded. _Source: Q-05. Tests: AC-06._

**BR-12. Holds re-match themselves.** A held invoice is re-matched automatically whenever a receipt, an order revision, or a credit memo touches its order. Holds that no longer apply are released by the system with the triggering document as the reason. PRICE holds belong to the buyer; possible-duplicate holds to the AP lead. _Source: Q-06. Tests: AC-07._

**BR-13. Only clean invoices are approved.** An invoice with no open holds is approved for payment automatically. Its due date is the invoice date plus the vendor's terms (Net 30 for Kestrel Fasteners). An invoice released by a controller override needs AP lead approval. _Source: Q-06. Tests: AC-05, AC-14._

**BR-14. Payment runs take two people.** The AP lead proposes a run from approved invoices due within the window. Treasury releases it. A run over $50,000.00 also needs the controller. Invoices with any open hold can never enter a run. _Source: Q-08. Tests: AC-14._

**BR-15. Postings handed to Finance.** A receipt posts an accrual at the order price (inventory against receipts-not-invoiced). A matched invoice clears the accrual into accounts payable, and any price difference posts to the price variance account. Valuation basis is pending decision D-02. _Source: Q-10. Tests: AC-03._

**BR-16. Every state change is recorded.** Every change of state on an order, receipt, invoice, hold or payment writes one audit entry: entity, from and to state, user, timestamp and reason. Audit entries cannot be edited or deleted and are kept seven years. _Source: Q-09. Tests: AC-11._

### Separation of duties

- **SOD-01.** The buyer on an order cannot post a receipt against it. _Tests: AC-12._
- **SOD-02.** The clerk who captured an invoice cannot release a payment run containing it. _Tests: AC-12._
- **SOD-03.** The user who proposed a payment run cannot release it. _Tests: AC-12._
- **SOD-04.** A user who changed a vendor's bank details in the last 90 days cannot propose or release a payment to that vendor. _Tests: AC-12._

## 4. Permissions

| Action | Requester | Buyer | Purchasing manager | Receiver | AP clerk | AP lead | Controller | Treasury | Vendor admin |
|---|---|---|---|---|---|---|---|---|---|
| Create or change an order | request only | yes |  |  |  |  |  |  |  |
| Approve an order |  | up to $2,500 | up to $25,000 |  |  |  | any amount |  |  |
| Post a receipt |  |  |  | yes |  |  |  |  |  |
| Close a line short |  | own orders, reason required | reason required |  |  |  |  |  |  |
| Capture an invoice or credit memo |  |  |  |  | yes | yes |  |  |  |
| Clear or reject a possible duplicate |  |  |  |  |  | yes |  |  |  |
| Resolve a price hold |  | confirm price, or amend within limit |  |  | request credit memo |  |  |  |  |
| Override a match hold |  |  |  |  |  |  | reason required |  |  |
| Propose a payment run |  |  |  |  |  | yes |  |  |  |
| Release a payment run |  |  |  |  |  |  | second approval over $50,000 | yes |  |
| Change vendor bank details |  |  |  |  |  |  |  |  | with call-back verification |
| Read the audit trail |  |  | purchasing records |  |  | AP records | all |  |  |

## 5. Exceptions

### EX-01. Partial receipt

The vendor ships part of a line. The receipt posts what arrived, the rest stays open, and any invoice for the missing boxes waits.

1. 11/02/2026, Buyer: Issues PO-10482 to Kestrel Fasteners for $1,590.00. Within the buyer's $2,500 limit, so it approves on issue.
2. 11/03/2026, Receiver: Posts GR-7711. Line 1, 60 of 100 boxes. Line 2, 50 of 50. Line 1 keeps 40 boxes open. The order shows Partially received. Accrual of $1,090.00 posts with the stock.
3. 11/03/2026, Receiver (alternative): Tries to post 41 more boxes on line 1 from a mislabeled pallet. Refused. The message shows the 40 boxes still open.
4. 11/09/2026, Receiver: Posts GR-7724. Line 1, the remaining 40 boxes. Nothing left open. The order shows Received, and $500.00 more accrues. Any QTY hold on this order re-matches.
5. Buyer (alternative): If the vendor had said the 40 boxes would never ship: closes line 1 short, reason "discontinued by vendor". The order closes once billing reaches what was received. An invoice for the 40 boxes stays on QTY hold.

Rules: BR-04, BR-05, BR-06, BR-12, BR-15. Tests: AC-03, AC-04, AC-07.

### EX-02. Invoice mismatch

The invoice bills boxes that have not arrived, at a price above tolerance. Two holds open, one clears itself, one needs the buyer.

1. 11/04/2026, AP clerk: Captures Kestrel invoice KF-20417 as INV-000318. Line 1, 100 boxes at $12.90. Line 2, 50 at $6.80. Total $1,630.00. No duplicate found. Goes to matching.
2. 11/04/2026, System: Matches line by line against PO-10482 and GR-7711. Line 1 opens a QTY hold (100 billed, 60 received: 40 over) and a PRICE hold ($12.90 against $12.50 is 3.2% over, $40.00 on the line; limits are 1% and $25). Line 2 matches. The buyer is notified with both variances.
3. 11/09/2026, System: GR-7724 receives the last 40 boxes, which triggers a re-match. The QTY hold releases itself, reason "GR-7724". The PRICE hold stays open.
4. 11/10/2026, Buyer: Confirms $12.50 is the agreed price. The AP clerk asks Kestrel for a $40.00 credit. Hold stays open, now waiting on the vendor.
5. 11/12/2026, AP clerk: Captures credit memo KF-CM-20417 for $40.00 against INV-000318. The re-match nets the price to $12.50. Matched at $1,590.00, approved for payment, due 12/04/2026.
6. 12/02/2026, AP lead, then Treasury: The AP lead proposes run PR-1149. Treasury releases it. Kestrel is paid $1,590.00. Remittance goes out with the run.

Rules: BR-10, BR-11, BR-12, BR-13, BR-14. Tests: AC-05, AC-06, AC-07, AC-14.

### EX-03. Duplicate submission

Vendors resend invoices by email and portal. An exact repeat is blocked at capture; a near repeat waits for the AP lead.

1. 11/06/2026, AP clerk: Kestrel emails the same invoice again, numbered "KF20417", for $1,630.00. The clerk keys it. "KF20417" and "KF-20417" both normalize to KF20417. Same vendor, same number, same amount: blocked before it is saved. The clerk is shown INV-000318, captured 11/04/2026. The block is logged.
2. 11/11/2026, AP clerk (alternative): Kestrel sends KF-20417 once more, now for $1,590.00, as a corrected bill instead of a credit. Same vendor and number, different amount. Saved on a Possible duplicate hold. The clerk cannot release it.
3. 11/11/2026, AP lead (alternative): Decides the corrected bill replaces the original. Voids INV-000318 with a reason and clears the new one. The new invoice goes to matching. Only one invoice for KF-20417 can ever be paid.
4. 11/06/2026, AP clerk (alternative): An invoice numbered KF-20471 (digits swapped) arrives for $1,630.00, dated 11/05/2026. Different number, but same vendor and amount within 10 days. Held as a possible duplicate for the AP lead.

Rules: BR-08, BR-09, BR-16. Tests: AC-08, AC-09, AC-10, AC-11.

## 6. Acceptance tests

**AC-01. Small order approves on issue**

- Given A buyer with the standard role and an active vendor and items.
- When The buyer issues an order totaling $1,590.00.
- Then: The order is Approved with no approver task created.
- Then: One approval record shows the buyer, tier "buyer", decision "approved".
- Proves: BR-02

**AC-02. Larger order routes by tier, and the buyer cannot approve it**

- Given An order totaling $12,000.00.
- When The buyer submits it, then tries to approve it.
- Then: The order is Pending approval with one task for the purchasing manager.
- Then: The buyer's approve action is refused, and the refusal is in the audit trail.
- Then: An order of $25,000.01 routes to the controller instead.
- Proves: BR-02

**AC-03. Partial receipt leaves the remainder open**

- Given PO-10482 approved, line 1 for 100 boxes at $12.50, line 2 for 50 at $6.80.
- When The receiver posts 60 boxes on line 1 and 50 on line 2.
- Then: Line 1 open quantity is 40; line 2 open quantity is 0.
- Then: The order is Partially received.
- Then: Stock rises by 60 and 50 in the same transaction as the receipt.
- Then: The accrual posted is $1,090.00.
- Proves: BR-05, BR-15

**AC-04. Over-receipt is refused**

- Given Line 1 of PO-10482 has 40 boxes open.
- When The receiver posts 41 boxes.
- Then: Nothing posts.
- Then: The message states that 40 boxes are open.
- Proves: BR-04

**AC-05. Billing beyond receipts opens a QTY hold**

- Given 60 boxes received on line 1.
- When An invoice bills 100 boxes on line 1.
- Then: A QTY hold opens on the invoice with a variance of 40 boxes.
- Then: The invoice is On hold and cannot be approved for payment.
- Proves: BR-10, BR-13

**AC-06. Price over tolerance opens a PRICE hold**

- Given Line 1 ordered at $12.50.
- When An invoice bills 100 boxes at $12.90.
- Then: A PRICE hold opens showing $0.40 per box, $40.00 on the line, 3.2%.
- Then: The hold is assigned to the buyer on the order.
- Then: At $12.62 (0.96%, $12.00 on the line) no hold opens.
- Then: At $12.40 no hold opens and a favorable variance of $10.00 is recorded.
- Proves: BR-11

**AC-07. A receipt releases a QTY hold without anyone touching it**

- Given INV-000318 on a QTY hold for 40 boxes and a PRICE hold.
- When GR-7724 posts the remaining 40 boxes.
- Then: The QTY hold is released by the system within 60 seconds, with reason "GR-7724".
- Then: The PRICE hold is still open.
- Then: No user action was needed.
- Proves: BR-12

**AC-08. Exact duplicate is blocked at capture**

- Given INV-000318 saved for Kestrel Fasteners, number KF-20417, $1,630.00.
- When A clerk enters Kestrel Fasteners, number "KF20417", $1,630.00.
- Then: No invoice record is created.
- Then: The clerk sees INV-000318 and its capture date.
- Then: One audit entry records the blocked attempt.
- Then: Numbers "kf 20417" and "KF-020417" are blocked the same way.
- Proves: BR-08

**AC-09. Same number, new amount waits for the AP lead**

- Given INV-000318 saved for KF-20417 at $1,630.00.
- When A clerk enters KF-20417 for $1,590.00.
- Then: The invoice is saved on a Possible duplicate hold.
- Then: The AP clerk's release action is refused; the AP lead's succeeds.
- Proves: BR-09

**AC-10. Same amount within ten days waits for the AP lead**

- Given INV-000318 dated 11/04/2026 for $1,630.00.
- When A clerk enters KF-20471 for $1,630.00 dated 11/05/2026.
- Then: The invoice is saved on a Possible duplicate hold.
- Then: The same invoice dated 11/15/2026 (11 days later) is not held.
- Proves: BR-09

**AC-11. Every state change leaves one audit entry**

- Given The three exception paths run end to end.
- When The audit trail for PO-10482 and its invoices is exported.
- Then: Each state change on the diagram has exactly one entry, with user, timestamp, from and to state, and reason.
- Then: An attempt to edit or delete an entry is refused.
- Proves: BR-16

**AC-12. Separation of duties is enforced by the system**

- Given One user holding both the buyer and receiver roles, and one holding AP clerk and treasury.
- When Each tries the second action on the same transaction.
- Then: The buyer of PO-10482 cannot post its receipt.
- Then: The clerk who captured INV-000318 cannot release a run containing it.
- Then: The proposer of a run cannot release it.
- Then: A user who changed Kestrel's bank details 30 days ago cannot propose a payment to Kestrel.
- Proves: SOD-01, SOD-02, SOD-03, SOD-04

**AC-13. Material change sends the order back for approval**

- Given PO-10482 approved at $1,590.00.
- When The buyer raises line 1 to 110 boxes (total $1,715.00, up 7.9%).
- Then: The order returns to Pending approval as revision 2.
- Then: A change to 104 boxes (total $1,640.00, up 3.1%) does not.
- Proves: BR-03

**AC-14. Held invoices never reach a payment run**

- Given Ten approved invoices due this week and two on hold.
- When The AP lead proposes a run.
- Then: The run holds exactly the ten approved invoices.
- Then: Adding a held invoice by hand is refused.
- Proves: BR-14, BR-13

**AC-15. Orders need an active vendor**

- Given A vendor on purchasing hold.
- When A buyer submits an order to that vendor.
- Then: The submit is refused with the vendor's hold reason.
- Proves: BR-01

**AC-16. Close short stops further receipts and billing**

- Given Line 1 with 40 boxes open.
- When The buyer closes it short with reason "discontinued by vendor".
- Then: Line 1 closed-short quantity is 40 and open quantity is 0.
- Then: A receipt or invoice for those 40 boxes is refused or held.
- Then: Closing without a reason is refused.
- Proves: BR-06

**AC-17. Invoices must reference an order line**

- Given Release 1 settings.
- When A clerk tries to capture an invoice line with no order line.
- Then: The line is refused with a message naming decision D-01.
- Proves: BR-07

**AC-18. The duplicate check is fast at volume**

- Given 2,000,000 invoices on file.
- When 1,000 captures run the duplicate check.
- Then: 95% return in under 1 second.
- Proves: BR-08

## 7. Open decisions

**D-01. Do non-PO invoices (utilities, services, rent) belong in release 1?** (open; owner: Product owner) They need a separate approval path, because there is no order or receipt to match against. Options: Release 1 with coding and approval by amount; Later release; Never (handled outside the platform). Affects: BR-07, AC-17.

**D-02. Which costing method values receipts and absorbs price variances, standard or moving average?** (open; owner: Controller; needs: Accounting) It changes the receipt accrual, where a price difference posts, and how inventory is valued. Options: Standard cost with a purchase price variance account; Moving average with variances in inventory. Affects: BR-15, Q-10.

**D-03. May AP short-pay a price variance, or must the vendor always send a credit memo?** (open; owner: AP lead; needs: Accounting) Short-paying is faster but creates a balance the vendor's records will not show. Options: Credit memo only; Short-pay with a debit memo sent to the vendor. Affects: Q-06, P-RESOLVE-PRICE.

**D-04. Who validates sales tax on vendor invoices, and with what?** (open; owner: Controller; needs: Tax) Tax on purchases varies by ship-to location and exemption status; getting it wrong is an audit finding. Options: Accept vendor tax as billed; Validate with a tax engine; Self-assess use tax. Affects: BR-11.

**D-05. Confirm zero over-receipt tolerance, including bulk items sold by weight.** (assumed; owner: Warehouse manager) Bulk items rarely arrive at the exact ordered weight; a zero tolerance refuses most of them. Options: Zero for all items; Per item class (for example 2% for bulk). Affects: BR-04, Q-04.

**D-06. Which payment methods and bank file format does release 1 need?** (open; owner: Treasury) It decides the bank integration in the architecture milestone. Options: ACH only (NACHA file); ACH and check; Positive pay file for checks. Affects: BR-14.

## Change log

| Rev | Date | By | Summary |
|---|---|---|---|
| 0.1 | 11/20/2026 | Architect | First pass of the questionnaire; product owner interview 1. |
| 0.2 | 11/24/2026 | Architect | Tolerances set from Q-05; duplicate rule split into block (BR-08) and hold (BR-09). |
| 0.3 | 11/29/2026 | Architect | Exception paths EX-01 to EX-03 written as one worked order; D-05 raised from the warehouse review. |
