Update a line item in a payable

PATCH
/payables/:payable_id/line_items/:line_item_id

Edits the information of a specific line item.

Related guide: Update a line item

See also:

Manage line items

Collect payables

Path parameters

line_item_idstringRequired
payable_idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
accounting_tax_rate_idstringOptional
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.
descriptionstringOptional
Description of the product.
ledger_account_idstringOptional
ID of the account record used to store bookkeeping entries for balance-sheet and income-statement transactions.
namestringOptional
Name of the product.
quantitydoubleOptional
The quantity of each of the goods, materials, or services listed in the payable.
taxintegerOptional

VAT rate in percent minor units. Example: 12.5% is 1250.

unitstringOptional
The unit of the product
unit_priceintegerOptional

The unit price of the product, in minor units. For example, $12.50 is represented as 1250.

Response

This endpoint returns an object.
idstring
payable_idstring
accounting_tax_rate_idstringOptional
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.
descriptionstringOptional
Description of the product.
ledger_account_idstringOptional
ID of the account record used to store bookkeeping entries for balance-sheet and income-statement transactions.
namestringOptional
Name of the product.
quantitydoubleOptional
The quantity of each of the goods, materials, or services listed in the payable.
subtotalintegerOptional

The subtotal (excluding VAT), in minor units.

taxintegerOptional

VAT rate in percent minor units. Example: 12.5% is 1250.

tax_amountintegerOptional

Tax amount in minor units. For example, $12.50 is represented as 1250.

totalintegerOptional
The actual price of the product.
unitstringOptional
The unit of the product
unit_priceintegerOptional

The unit price of the product, in minor units. For example, $12.50 is represented as 1250.

was_created_by_user_idstringOptional
ID of the user who created the tag.

Errors