Create a new transaction record. Specify type as either inflow or outflow. The transaction must contain at least one line item and a valid contact.
type: Required – inflow or outflowcontact_id: Required – Must reference a valid contacttransaction_date: ISO 8601 dateline_items: Required – Array of objects with product ID, quantity, amounttax_data: Optional – Override auto-calculated taxcurrency: Optional – Defaults to organization base currencymetadata: Optional – Key-value pairsTransaction object, including its generated ID and all computed fields.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Transaction payload
Unique identifier for the transaction
Direction of the transaction
inflow, outflow Transaction amount
Currency code (e.g., USD, EUR)
Time of transaction
Optional description of the transaction
Transaction created
Unique identifier for the transaction
Direction of the transaction
inflow, outflow Transaction amount
Currency code (e.g., USD, EUR)
Time of transaction
Optional description of the transaction