These cookies are required for the website to function properly. They ensure security, enable basic features like page navigation, and store user session data. You cannot disable these cookies.
- Accounts Payable Automation
- Data model
The tables behind Accounts Payable Automation
Accounts Payable Automation ships with 27 tables, grouped here by the feature that uses them. Every record your team works with lives in one of them, and you can add fields and tables in Proto.
- Tables
- 27
- Features
- 6
- Change it
- Add fields and tables in Proto
How the model is organised
Supplier records
Vendors, vendor contacts and one off payees hold identity and permitted payment information. Employees are a scoped identity reference, not a payroll subsystem.
Purchasing evidence
Purchase orders, PO line items, goods receipts and receipt line items retain the basis for matching. Declare their upstream or standalone ownership.
Invoice work
Bills links to bill lines, attachments, decisions and disputes. Vendor credits retain available and applied credit amounts.
Payment work
Payment runs and payment run items connect selected obligations to Payments and payment batches. Keep decision, transmission and settlement outcomes separate.
Reporting evidence
Form1099 tracking and form1099 filings retain the reporting basis, recipient snapshot and partner result.
Every table, by feature
- Supplier management5
- Invoice capture6
- Invoice matching9
- Approvals and disputes6
- Payment runs8
- Vendor reporting8
- Vendors
The AP-side vendor master. Includes legal-name + EIN identity, W-9 status, default 1099 eligibility, remit-to address, ACH bank details (masked), and default payment terms. Bank-account changes go through a two-person verify before the new details are usable on a payment run.
Linked to Employees (second-pair-of-eyes verifier) - Vendor contacts
Named contacts at each vendor — AP contact, account manager, remittance contact. Multiple per Vendor.
Linked to Vendors - One off payees
For one-time disbursements where setting up a full Vendor record is overkill — refunds, settlements, ad-hoc reimbursements to non-Vendors. Still tracked for 1099 if the cumulative payments cross threshold.
- Employees
A scoped employee identity directory synchronized from the organization identity or HR source. This reference supports ownership and approval attribution; it does not add payroll or HR administration. Role membership alone never grants access to every directory field. External auditors and portal users receive only the identities needed for their granted work.
- Vendor tax withholdings
Per-Vendor backup-withholding configuration — typically driven by an IRS B-Notice (incorrect TIN), missing W-9, or voluntary withholding. Drives Payments to apply the withholding rate against 1099-reportable disbursements.
Linked to Vendors
- Bills
Vendor bill header. The center-of-gravity table. Lifecycle: Draft → pending match → pending approval → Approved → partially paid / Paid / Voided / Disputed.
Linked to Vendors, Purchase orders (null for non-PO bills like utilities), Recurring bills (when generated) - Bill lines
Bill expense lines. Each line carries its GL account, project / department tags, and optional PO-line link for three-way match.
Linked to Bills, PO line items (null for non-PO bills) - Bill attachments
Attached documents — vendor invoice PDF, supporting docs, OCR source file, contract reference, dispute correspondence. Multiple per Bill.
Linked to Bills, Employees - Recurring bills
Templates for recurring vendor expenses — rent, software subscriptions, insurance premiums. Generates a
Linked to VendorsBillsrow on schedule. - Vendors
The AP-side vendor master. Includes legal-name + EIN identity, W-9 status, default 1099 eligibility, remit-to address, ACH bank details (masked), and default payment terms. Bank-account changes go through a two-person verify before the new details are usable on a payment run.
Linked to Employees (second-pair-of-eyes verifier) - Purchase orders
PO header. Read-only mirror from scm-procurement when that app is present; primary master here when AP runs standalone. Drives the PO leg of three-way match.
Linked to Vendors
- Purchase orders
PO header. Read-only mirror from scm-procurement when that app is present; primary master here when AP runs standalone. Drives the PO leg of three-way match.
Linked to Vendors - PO line items
PO lines — what was ordered. The line-level grain for three-way match.
Linked to Purchase orders - Goods receipts
Goods-receipt header. Read-only mirror from scm-procurement when that app is present; primary master here when AP runs standalone. Drives the Receipt leg of three-way match.
Linked to Purchase orders, Vendors (denorm) - Receipt line items
Receipt lines — what physically arrived. Joins to PO line items by PO + line number for match.
Linked to Goods receipts, PO line items - Bills
Vendor bill header. The center-of-gravity table. Lifecycle: Draft → pending match → pending approval → Approved → partially paid / Paid / Voided / Disputed.
Linked to Vendors, Purchase orders (null for non-PO bills like utilities), Recurring bills (when generated) - Bill lines
Bill expense lines. Each line carries its GL account, project / department tags, and optional PO-line link for three-way match.
Linked to Bills, PO line items (null for non-PO bills) - Three way match results
One row per Bill match attempt. Captures the per-line outcome — PO presence, Receipt presence, quantity / dollar variance — and the overall verdict.
Linked to Bills, Match tolerances (config snapshot at time of match) - Match tolerances
Configurable variance tolerances for the three-way match engine. Single active row at a time per cost-center scope; older rows retained for audit. Precedence: most-specific scope wins (project code > Department > Global), ties broken by
EffectiveFrom desc. - Disputes
Bills under dispute — three-way mismatch, vendor-billing error, quality issue, duplicate-bill flag. Tracked through to resolution with a vendor credits or bill status: Voided outcome.
Linked to Bills, Vendors (denorm), Employees, Employees (AP Manager)
- Bill approval matrix
The tiered approval ladder — amount band to required approver role. Multiple bands stack; routing walks them in order.
- Bill approval steps
Audit trail — one row per required approval step per Bill, with the approver’s decision.
Linked to Bills, Bill approval matrix (tier applied), Employees - Bills
Vendor bill header. The center-of-gravity table. Lifecycle: Draft → pending match → pending approval → Approved → partially paid / Paid / Voided / Disputed.
Linked to Vendors, Purchase orders (null for non-PO bills like utilities), Recurring bills (when generated) - Disputes
Bills under dispute — three-way mismatch, vendor-billing error, quality issue, duplicate-bill flag. Tracked through to resolution with a vendor credits or bill status: Voided outcome.
Linked to Bills, Vendors (denorm), Employees, Employees (AP Manager) - Vendor credits
Credit memos issued by a vendor — applied against open Bills or banked for future use.
Linked to Vendors, Bills (when credit relates to a specific Bill), Disputes (when credit is a dispute resolution) - Bill attachments
Attached documents — vendor invoice PDF, supporting docs, OCR source file, contract reference, dispute correspondence. Multiple per Bill.
Linked to Bills, Employees
- Payment runs
Weekly (or on-demand) payment-batch header. Lifecycle: Draft (seeded) → Approved (AP Manager signs off selections) → Funded (bank confirms ACH file received / checks printed) → Posted (GL settlement JE posted via #10).
Linked to Employees (AP Manager) - Payment run items
One row per Bill (or one off payee) selected for payment in this run, with the chosen payment method and any discount taken.
Linked to Payment runs, Bills (null when paying a OneOffPayee), One off payees (null when paying a Bill), Vendors (denorm) - Payment approval steps
Audit trail for payment run release — one row per required approval step per payment run, with the approver’s decision. Replaces the prior “Controller signs off” hand-wave with a defensible per-step trail.
Linked to Payment runs, Employees - Payments
The actual disbursement record — one per Bill (or one off payee) per actual payment movement. Joins the payment run items intent to the bank’s confirmation.
Linked to Payment run items (null for off-cycle one-offs), Bills, One off payees, Vendors (denorm) - Payment batches
The bank-side batch artifact — NACHA file uploaded, check-print register printed, wire instruction submitted. One per payment run × Method combination.
Linked to Payment runs - Early pay discounts
Per-Bill early-pay discount opportunities — computed from the vendor payment terms discount clause and the Bill’s window. The AP Manager dashboard surfaces Available rows; inclusion in a payment run item flips Status to Taken.
Linked to Bills, Vendors (denorm), Payment runs - Bills
Vendor bill header. The center-of-gravity table. Lifecycle: Draft → pending match → pending approval → Approved → partially paid / Paid / Voided / Disputed.
Linked to Vendors, Purchase orders (null for non-PO bills like utilities), Recurring bills (when generated) - One off payees
For one-time disbursements where setting up a full Vendor record is overkill — refunds, settlements, ad-hoc reimbursements to non-Vendors. Still tracked for 1099 if the cumulative payments cross threshold.
- Bills
Vendor bill header. The center-of-gravity table. Lifecycle: Draft → pending match → pending approval → Approved → partially paid / Paid / Voided / Disputed.
Linked to Vendors, Purchase orders (null for non-PO bills like utilities), Recurring bills (when generated) - Payments
The actual disbursement record — one per Bill (or one off payee) per actual payment movement. Joins the payment run items intent to the bank’s confirmation.
Linked to Payment run items (null for off-cycle one-offs), Bills, One off payees, Vendors (denorm) - Vendors
The AP-side vendor master. Includes legal-name + EIN identity, W-9 status, default 1099 eligibility, remit-to address, ACH bank details (masked), and default payment terms. Bank-account changes go through a two-person verify before the new details are usable on a payment run.
Linked to Employees (second-pair-of-eyes verifier) - Disputes
Bills under dispute — three-way mismatch, vendor-billing error, quality issue, duplicate-bill flag. Tracked through to resolution with a vendor credits or bill status: Voided outcome.
Linked to Bills, Vendors (denorm), Employees, Employees (AP Manager) - Early pay discounts
Per-Bill early-pay discount opportunities — computed from the vendor payment terms discount clause and the Bill’s window. The AP Manager dashboard surfaces Available rows; inclusion in a payment run item flips Status to Taken.
Linked to Bills, Vendors (denorm), Payment runs - Form 1099tracking
Annual aggregator — cumulative 1099-NEC reportable payments per Vendor per tax year, with the verified tax-year reporting decision and the IRS filing reference once Payroll’s filing partner transmits.
Linked to Vendors, One off payees (alternative when not a Vendor), Form 1099filings (set when issued) - Form 1099filings
The handoff artifact to Payroll’s filing partner — one row per Vendor per tax year per form type, snapshotting recipient identity at filing time so amendments and audits resolve cleanly even if the underlying Vendor record changes.
Linked to Vendors - Vendor tax withholdings
Per-Vendor backup-withholding configuration — typically driven by an IRS B-Notice (incorrect TIN), missing W-9, or voluntary withholding. Drives Payments to apply the withholding rate against 1099-reportable disbursements.
Linked to Vendors
Keys and references
Keep stable source identifiers for imported suppliers, invoices, orders, receipts and bank events. A retry must resolve to its original occurrence. References support traceability; they do not bypass field or supplier access restrictions.
Migration order
- Configure organization identities, role scopes and source ownership.
- Import verified suppliers, contacts, terms and permitted account references.
- Reconcile order and receipt evidence where matching is used.
- Load open bills and credits with their actual outstanding balances.
- Reconcile in-flight payments and reporting handoffs before enabling automation.
Set up Accounts Payable Automation your way.
Start free, then use Proto to change fields, steps and approvals before your team goes live.