Tell the AR/AP dispatcher which Xero AccountCode to stamp on each outbox LineItem for this tenant. Four scopes per tenant. Empty rows fall back to the worker's spec defaults (200 for AR, 260 for retention, 800 for AP) — populating a row replaces that default.
AccountCode used when we POST an ACCREC invoice draft to Xero for a certified head-contractor claim.
AccountCode used when we POST an ACCPAY bill draft to Xero for an approved subcontractor claim.
AccountCode for the retention-held deduction line. Negative LineItem on the same invoice as the head-contractor draft.
Default AccountCode for purchase-order / RFQ-driven bills outside the claim lifecycle.
head_contractor → ACCREC invoice draft when a claim hits payment_due.subcontractor → ACCPAY bill draft when an approved sub-claim feeds the AP queue.retention → negative LineItem stamped on the head-contractor invoice for retention deduction.expense → default code for procurement-driven bills (RFQ / PO flow) that aren't tied to a progress claim.apps/worker/src/xero-dispatcher.ts (currently hardcodes — wiring these mappings is a follow-up run).