Add a line item to a payable
Add a new line item to a specific payable.
The subtotal
and total
fields of line items are automatically calculated based on the unit_price
,
quantity
, and tax
fields, therefore, are read-only and appear only in the response schema. The field
ledger_account_id
is required only for account integration, otherwise, it is optional.
Related guide: Add line items to a payable
See also:
Path parameters
Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
ID of the tax rate reference used for accounting integration. May be used to override auto-picked tax rate reference in accounting platform in case of any platform-specific constraints.
ID of the account record used to store bookkeeping entries for balance-sheet and income-statement transactions.
VAT rate in percent minor units. Example: 12.5% is 1250.
The unit price of the product, in minor units. For example, $12.50 is represented as 1250.
Response
ID of the tax rate reference used for accounting integartion. May be used to override auto-picked tax rate reference in accounting platform in case of any platform-specific constraints.
ID of the account record used to store bookkeeping entries for balance-sheet and income-statement transactions.
Indicates whether the item’s unit_price
and quantity
were adjusted by OCR.
The subtotal (excluding VAT), in minor units.
VAT rate in percent minor units. Example: 12.5% is 1250.
Tax amount in minor units. For example, $12.50 is represented as 1250.
The unit price of the product, in minor units. For example, $12.50 is represented as 1250.