Purchases
Create a purchase
Create a new purchase with an Organization. Relationship store notes, metadata and accounting settings parameters
post/apps/{appId}/purchases
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
invoicestring binary
Invoice or receipt file (pdf or image)
account_idinteger
supplier_organization_idinteger
titlestring
supplier_namestring
amountinteger
amount_taxinteger
amount_reverse_taxinteger
currencystring
vat_detailobject
billed_atstring date
commentinteger
vat_repayment'payment' | 'billing'
payment_deadline_atstring date nullable
expected_payment_deadline_atstring date nullable
payment_account_numberstring nullable
payment_routing_numberstring nullable
payment_swiftstring nullable
payment_ibanstring nullable
amortization_periodinteger nullable
author_user_idinteger nullable
completed_atstring date nullable
employee_idinteger nullable
Account Employee id of the purchase
employee_namestring nullable
Employee id of the purchase
mileage_allowance_idinteger nullable
mileage allowance id of the purchase
is_expense_reportboolean
Response
Success