Add a new line item to a receipt
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
receipt_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
Post Receipts ID Line Items Request Unauthorized Error
403
Post Receipts ID Line Items Request Forbidden Error
404
Post Receipts ID Line Items Request Not Found Error
422
Post Receipts ID Line Items Request Unprocessable Entity Error
429
Post Receipts ID Line Items Request Too Many Requests Error