post
https://{serverName}/j1p/api/public/j1/v2/invoices//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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204No Content,indicating that the lines were created successfully without returning any content
401Unauthorized. Bearer token was rejected or was not valid.
403Tenant or user does not have permission to perform the requested operation
404Not Found. Object referenced by id in URL path does not exist