v2

latestOpenAPI 3.0.0Apache 2.02026-07-2638645559.8 KB
Transactions

Create a Transaction

post/apps/{appId}/transactions/

Path parameters

appIdinteger required

The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have several Sinao applications. To retrieve the identifiers of its applications, you must call the endpoint /apps.

Query parameters

contact_organization_idinteger
contact_person_idinteger
account_idinteger
cashflow_source_idinteger required
contact_namestring
amountinteger

Amount in base currency. Optional if foreign_currency and original_amount are provided

original_amountinteger

Amount in foreign currency. Required with foreign_currency if amount is not provided

foreign_currencystring

Foreign currency code (ISO 4217). Required with original_amount if amount is not provided

method'check' | 'transfer' | 'cash' | 'creditcard' | 'automatic_debit' | 'creditnote'
received_atstring date-time required
labelstring
detailsstring
tagsstring
metadatastring[] nullable

Response

Success

idinteger nullable
contact_organization_idinteger nullable
contact_person_idinteger nullable
author_user_idinteger
cashflow_source_idinteger
amountinteger
creditinteger nullable
debitinteger nullable
methodinteger nullable
received_atstring date-time
labelinteger
detailsinteger nullable
lettered_atstring date-time nullable
tagsstring nullable
created_atstring date-time
updated_atstring date-time
deleted_atstring date-time