Payable line items

Update a line item in a payable

Edits the information of a specific line item.

Related guide: Update a line item

See also:

Manage line items

Collect payables

patch/payables/{payable_id}/line_items/{line_item_id}

Request

  • Base URL: https://api.sandbox.monite.com/v1
  • URL: https://api.sandbox.monite.com/v1/payables/{payable_id}/line_items/{line_item_id}
  • Auth: HTTP bearer

Path parameters

line_item_idstring required
payable_idstring required

Headers

x-monite-versionstring required
x-monite-entity-idstring required

The ID of the entity that owns the requested resource.

Request body

accounting_tax_rate_idstring uuid

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.

descriptionstring

Description of the product.

ledger_account_idstring uuid

ID of the account record used to store bookkeeping entries for balance-sheet and income-statement transactions.

namestring

Name of the product.

quantitynumber double

The quantity of each of the goods, materials, or services listed in the payable.

taxinteger

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

unitstring

The unit of the product

unit_priceinteger

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

Response

Successful Response

idstring uuid required
accounting_tax_rate_idstring uuid

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.

descriptionstring

Description of the product.

ledger_account_idstring uuid

ID of the account record used to store bookkeeping entries for balance-sheet and income-statement transactions.

namestring

Name of the product.

ocr_set_quantity_to_oneboolean

Indicates whether the item's unit_price and quantity were adjusted by OCR.

payable_idstring uuid required
quantitynumber double

The quantity of each of the goods, materials, or services listed in the payable.

subtotalinteger

The subtotal (excluding VAT), in minor units.

taxinteger

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

tax_amountinteger

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

totalinteger

The actual price of the product.

unitstring

The unit of the product

unit_priceinteger

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

was_created_by_user_idstring uuid

ID of the user who created the tag.

Changes

No recorded changes to this operation across all 1 revision of this API.