Add a new line item to a receipt

Path parameters

receipt_idstringRequired

Headers

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_idstringOptionalformat: "uuid"
Accounting tax rate ID.
cost_center_idstringOptionalformat: "uuid"
Cost center ID.
general_ledger_idstringOptionalformat: "uuid"
General ledger ID.
namestringOptional

Line item name/description.

totalintegerOptional
Line item total in minor units.

Response

Successful Response
idstringformat: "uuid"
Unique line item ID.
created_atdatetime
Created at.
updated_atdatetime
Updated at.
receipt_idstringformat: "uuid"
Receipt ID.
accounting_tax_rate_idstring or nullformat: "uuid"
Accounting tax rate ID.
cost_center_idstring or nullformat: "uuid"
Cost center ID.
created_by_entity_user_idstring or nullformat: "uuid"
Created by user.
namestring or null
Line item name.
totalinteger or null
Total.

Errors