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:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the entity that owns the requested resource.
"9d2b4c8f-2087-4738-ba91-7359683c49a4"
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.
"dd13735f-ef3a-4312-8c37-835d70341375"
Description of the product.
ID of the account record used to store bookkeeping entries for balance-sheet and income-statement transactions.
"7df884fd-8be8-4eba-b6ff-417b66efe033"
Name of the product.
The quantity of each of the goods, materials, or services listed in the payable.
x >= 01.22
The unit of the product
"meter"
The unit price of the product, in minor units. For example, $12.50 is represented as 1250.
1200
Successful 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.
"dd13735f-ef3a-4312-8c37-835d70341375"
Description of the product.
ID of the account record used to store bookkeeping entries for balance-sheet and income-statement transactions.
"7df884fd-8be8-4eba-b6ff-417b66efe033"
Name of the product.
Indicates whether the item's unit_price and quantity were adjusted by OCR.
false
The quantity of each of the goods, materials, or services listed in the payable.
1.22
The subtotal (excluding VAT), in minor units.
1250
VAT rate in percent minor units. Example: 12.5% is 1250.
2000
Tax amount in minor units. For example, $12.50 is represented as 1250.
250
The actual price of the product.
1200
The unit of the product
"meter"
The unit price of the product, in minor units. For example, $12.50 is represented as 1250.
1500
ID of the user who created the tag.
"ea837e28-509b-4b6a-a600-d54b6aa0b1f5"