Skip to content
Docs menu

Finance bills

Payables' vendor bills and credit notes. Enter one or make it from a Capture document, let the checks catch duplicates, unverified vendors and changed bank details, send it through approvals, and get its accrual journal when it is approved.

View .md

A bill is what a vendor asks you to pay. A credit note is the vendor taking some of it back. Both live in Finance > Bills (/finance/bills), part of the Payables module (entitlement finance.payables). When Payables is off, the page says so and every bill tool answers 403 product_not_enabled.

Entering a bill

There are two ways in:

  • From a document. A vendor invoice or credit note in Capture's inbox, once Capture has read it, becomes a bill with From a document. Its number, dates, currency, payment terms and lines are filled in from the reading. The vendor is matched by tax id, then by name. Each line is coded the way this vendor's last approved bill was, or to the entity's default expense account (settings.default_expense_account_id on the entity). A confirmed document makes a draft; one still in review makes a needs review bill. The bill links back to its document.
  • By hand. New bill takes the vendor, number, date, currency, terms and one line. More lines go through the finance_bill_create tool or POST /api/v1/finance/bills.

The due date comes from the terms you give, else the terms printed on the invoice, else the vendor's payment terms. Terms like 2/10 net 30 (or the vendor's early-payment discount) set an early-payment discount: the amount and the date it must be paid by (1/10 n/30, 2% 10, net 30 and the days first, 15 days 2%, 30 days net, work too; a date printed in the terms, like due 10/31/2026, is never read as a discount). The list and the approver's queue show that date. The bill keeps the discount's rate and days as well as its amount, even when a very small total rounds the amount to 0. Changing the bill without giving new terms keeps its discount: the same rate on the new total, the same number of days after the bill date (a bill entered before rates were kept carries the same share of the new total). Terms given again replace it.

The payable account the accrual credits is the one you choose, else the entity's settings.payable_account_id.

Duplicates

The same vendor, entity, kind and number can only have one live bill. Numbers are compared without spaces, punctuation or leading zeros, so INV-0042, inv 42 and INV/042 are the same number and the second one is refused. One document makes one live bill. To enter a corrected bill, void the first one.

Checks when you send it for approval

Send for approval runs the checks first. Each problem becomes an exception in Finance > Exceptions, with its risk. The bill's risk score is the risks added up (at most 100).

Check Exception Risk
The same number from this vendor in another entity duplicate 70
The same total from this vendor within a week, under another number duplicate 35
An expense with this vendor as its merchant, the same amount and currency, within 3 days of the bill date duplicate 30
The vendor is not verified yet vendor_unverified 30
The vendor is blocked vendor_blocked 80
The bank details on the invoice are not the vendor's verified account bank_mismatch 80
The amount changed between readings of the document, or differs from what was read amount_altered 60
The spending policy wants a purchase order and there is none po_required 20
A line's tax does not match its tax code's rate, or the code is for another country tax_mismatch 20
The bill's month is closed: its journal goes to the next open month period_locked 10
With a purchase order: a price above the order's plus the price tolerance price_variance 30
With a purchase order: more billed than received (three-way) or ordered (two-way) quantity_variance 30
With a three-way purchase order: nothing received yet not_received 40
With a purchase order: a line that is not on it not_ordered 30

The bill also gets flags approval policies can route on: no_po when it has no purchase order, over_po when its match against the order is outside the tolerances, risk_high when its score is 60 or more. A bill with a purchase order (po_id) is matched two- or three-way against it: see Purchase orders. A spending policy that blocks the bill stops it here; the exceptions stay.

The bill then goes through the approvals engine as document type bill. With no approval policy for bills, a controller of the bill's entity approves it (never the person who sent it).

Statuses

Status Meaning
draft Entered, not sent yet
needs_review Made from a document still in review, or rejected in approval
in_approval Waiting on its approvers
approved Approved: its accrual journal is in the outbox
scheduled, partly_paid, paid Set by payments
disputed On hold, with a reason; it is not paid while disputed
void Voided, with a reason

A draft or needs review bill can be changed. A bill in approval is changed after it is rejected. Sending it needs a vendor, at least one line, an account on every line and a payable account.

Approval and the accrual

When the last approver approves, in the same transaction:

  • the bill becomes approved;
  • Finance proposes its accrual journal (Finance journals): each line's expense (with tax that is not recoverable), recoverable tax on its tax code's account, and the total credited to the payable account for the vendor. A credit note is the mirror image. The journal is proposed once per bill, however often approval runs;
  • finance.bill.approved is sent to your webhooks (Finance webhook events).

A rejected bill goes back to needs review.

Disputes and voiding

Dispute puts a draft, needs review or approved bill on hold with a reason. Resolve dispute puts it back where it was. Void takes a reason and works on a draft, needs review, disputed or approved bill, not one in approval, scheduled or paid. Voiding an approved bill voids its accrual journal, or reverses it if it was exported, so it also needs journals.write on the entity (a controller).

Who can do what

Action Roles
See bills (bills.read) ap_clerk, controller, payment_preparer, auditor
See the bills you entered yourself anyone with bills.create, such as a requester
Enter, change, dispute (bills.create) ap_clerk, requester, controller
Send for approval (bills.submit) ap_clerk, controller
Void (bills.void) ap_clerk, controller

Rights are per entity: see Finance roles. For an agent, entering and changing a bill are drafts; sending, voiding and disputing are decisions its job must allow (Finance agents).

Tools and API

Tool REST What it does
finance_bill_list GET /api/v1/finance/bills Bills, newest first; filter by status, entity, vendor, document or number
finance_bill_get GET /api/v1/finance/bills/{id} One bill with its lines
finance_bill_create POST /api/v1/finance/bills Enter a bill or credit note, or make one from a document (document_id)
finance_bill_update PATCH /api/v1/finance/bills/{id} Change a draft or needs review bill
finance_bill_submit POST /api/v1/finance/bills/{id}/submit Run the checks and send it for approval
finance_bill_void POST /api/v1/finance/bills/{id}/void Void it with a reason
finance_bill_dispute POST /api/v1/finance/bills/{id}/dispute Dispute it, or resolve the dispute (resolve: true)

Amounts are whole minor units as text ("125000" is 1,250.00 in a two-decimal currency). Every change is on the audit trail under subject kind bill. Bills can be mentioned in the workspace as fin_bill (Finance references). A vendor sees its bills' progress (received, approved, scheduled, paid) on its onboarding link (vendor onboarding).