Skip to main content

Upload Provider Bill Invoices

POST 

/api/accounting/provider-bills/review/documents

Upload one or more invoice files without choosing a bill. With invoice reading on, each file is read and then matched to its provider bill by supplier, number and total (see List Unmatched Provider Bill Invoices). Returns the files still unmatched. Nothing is written to Xero or QuickBooks.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Form fields (multipart):

  • file (required without files) - one PDF, PNG, JPG, JPEG, TIF or TIFF, max 25 MB.
  • files[] (required without file, max 50) - several files, same types and size limit.
  • connection_id (optional, integer).

A file already uploaded before is refused with 422 and nothing is stored. Returns 404 when the tenant has no Xero or QuickBooks connection.

Authentication: Requires Bearer token. Scope: purchase-orders (read/write). The user must hold the Review provider bills permission (bills.review_provider).

Request​

Responses​

OK

Response Headers
    Content-Type