[Preview] Record a supplier invoice

Record a supplier invoice by posting its journal entry.

Supply the double-entry lines in items. The lines must balance (total debit equals total credit)
and must credit the accounts payable account (2440 in the Swedish BAS chart) for the invoice total,
so a payment can be registered later. If date is omitted, the supplier invoice issue date is used.

Returns the supplier invoice with journalEntryRef set to the created journal entry.

Scope: supplier-invoices:write

Path Params
uuid
required

Unique identifier of the company

uuid
required

Unique identifier of the supplier invoice

Body Params

The journal entry lines used to record the supplier invoice.

date

Journal entry date. Defaults to the supplier invoice issue date if omitted.

items
array of objects
required
length ≄ 1

The double-entry lines used to record the supplier invoice. The lines must balance (total debit equals total credit) and must credit the accounts payable account (2440 in the Swedish BAS chart) for the invoice total.

items*
int32
required

The account number to post to.

double
Defaults to 0
double
Defaults to 0
Responses

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