v1

latestOpenAPI 3.1.12026-07-24260246894.7 KB
Simplified Invoice Line Items

Update simplified invoice line item

Endpoint for updating an existing simplified invoice line item.

put/simplified-invoices/{invoice_id}/line-items/{id}/

Path parameters

invoice_idstring required
idstring required

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

accountstring required

The account associated with this line item.

cost_centerstring

The cost center associated with this line item.

created_tsstring date-time required

The timestamp in UTC when the line item was created.

descriptionstring required

The description of the line item.

discountnumber double nullable

The discount as the percentage.

idstring required

The unique identifier of the line item.

itemstring

The item associated with this line item.

item_unit_of_measurestring nullable

The item unit of measure for this line item.

legacy_idstring required

[Deprecated] The legacy identifier of the line item.

line_amountnumber double required

The total amount for this line item.

modified_tsstring date-time required

The timestamp in UTC when the line item was last modified.

orderinteger
quantitynumber double required

The quantity of the item or service.

tax_amountnumber double required

The total tax amount for this line item.

tax_ratestring

The tax rate applied to this line item.

unit_amountnumber double required

The unit amount of the item or service.

Response

accountstring required

The account associated with this line item.

cost_centerstring

The cost center associated with this line item.

created_tsstring date-time required

The timestamp in UTC when the line item was created.

descriptionstring required

The description of the line item.

discountnumber double nullable

The discount as the percentage.

idstring required

The unique identifier of the line item.

itemstring

The item associated with this line item.

item_unit_of_measurestring nullable

The item unit of measure for this line item.

legacy_idstring required

[Deprecated] The legacy identifier of the line item.

line_amountnumber double required

The total amount for this line item.

modified_tsstring date-time required

The timestamp in UTC when the line item was last modified.

orderinteger
quantitynumber double required

The quantity of the item or service.

tax_amountnumber double required

The total tax amount for this line item.

tax_ratestring

The tax rate applied to this line item.

unit_amountnumber double required

The unit amount of the item or service.