Create Invoice Record

Creates a record for an invoice.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint creates a record for an invoice and attaches it to one or more purchase orders.

The actual invoice files aren't uploaded by calling this endpoint. You can upload the files later using the Upload Invoice endpoint.

Alternatively, the Upload Invoices (with AI) endpoint can create records for the invoices and receive their files in a single API call.

Invoice Number Uniqueness

The combination of invoice_number + supplier must be unique within an outlet. The same invoice_number can exist for different suppliers or across different outlets.

If a duplicate is detected, the endpoint returns a 409 Conflict with an INVOICE_NUMBER_DUPLICATED_EXCEPTION error.

Body Params
string
required

The ID of the outlet.

string
required

The ID of the supplier.

string
required

The invoice number.

purchase_orders
array of strings
required

List of IDs of purchase orders

purchase_orders*
date
required

The date of the invoice.

date

The invoice's due date.

float
required

The total amount invoiced.

boolean
Defaults to false
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json