Get Invoice Bill Review
Returns the invoice’s LATEST bill review — the run, its verdict, and every finding it raised.
A bill review checks one invoice against the company’s own bill review rules and reports what it thinks is wrong with it. Runs are immutable records of what was judged: this endpoint always answers with the most recent one, and starting a new review adds a run rather than editing this one.
Poll this endpoint. status is queued or running while the review is
under way and succeeded or failed once it is terminal. passed is the
verdict and is null until then — and stays null forever on a failed
run, which is why error is the field to read there rather than inferring a
verdict from an empty findings list.
Staleness is yours to check. invoiceHeadJournalId is the invoice
version this run judged, pinned when the review was started. Compare it with
the invoice’s current headJournalId
(Get Invoice): if they differ, the
document has been edited since it was reviewed and the findings describe an
earlier version of it.
Dismissals. dismissedAt is set on a finding an operator has cleared in
the app. Dismissal is a stamp, never a delete, so a dismissed finding is
still returned — filter on the field if your integration only wants
outstanding ones. There is no API to dismiss.
billReview is null when the invoice exists but has never been
reviewed. An id that does not resolve for this company is a 404.
Required permission: company.payment:read
Authorizations
API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.
Path Parameters
Company identifier
Invoice identifier
Response
The invoice's latest bill review, or null if it has never been reviewed
An invoice's latest bill review — the run, its verdict, and the findings it raised. null when the invoice has never been reviewed.
