Update a line item of a receipt
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
receipt_id
line_item_id
Headers
x-monite-version
x-monite-entity-id
The ID of the entity that owns the requested resource.
Request
This endpoint expects an object.
accounting_tax_rate_id
Accounting tax rate ID.
cost_center_id
Cost center ID.
ledger_account_id
Ledger account ID.
name
Line item name/description.
total
Line item total in minor units.
Response
Successful Response
id
Unique line item ID.
created_at
Created at.
updated_at
Updated at.
receipt_id
Receipt ID.
accounting_tax_rate_id
Accounting tax rate ID.
cost_center_id
Cost center ID.
created_by_entity_user_id
Created by user.
ledger_account_id
Ledger account ID.
name
Line item name.
total
Total.
Errors
401
Patch Receipts ID Line Items ID Request Unauthorized Error
403
Patch Receipts ID Line Items ID Request Forbidden Error
404
Patch Receipts ID Line Items ID Request Not Found Error
422
Patch Receipts ID Line Items ID Request Unprocessable Entity Error
429
Patch Receipts ID Line Items ID Request Too Many Requests Error