Create Buyer Invoice Lines

Creates lines for an existing buyer invoice identified by the specified invoiceId
Any unprovided property that is not required will be populated using rules the organization has for default values
Lines are only created if all data provided is valid.
The following examples will show each property that can be provided for an invoice line. You can update any combination of these examples seperately or together.

General validations include:

  • Valid buyer invoice id must be provided
  • Invoice must be editable (i.e. invoice can not be in complete status, cancelled status or in an automated workflow step)
  • No more than 50 lines can be created at a time
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

This is the JI internal database id for the invoice.

Body Params
lines
array of objects
length ≥ 0
lines
Responses
204

No Content,indicating that the lines were created successfully without returning any content

401

Unauthorized. Bearer token was rejected or was not valid.

403

Tenant or user does not have permission to perform the requested operation

404

Not Found. Object referenced by id in URL path does not exist

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