v2

latestOpenAPI 3.0.0Apache 2.02026-07-2638645559.8 KB
Purchases

List purchases

Get list of purchases

get/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

offsetinteger

The number of items to skip before starting to collect the result set.

limitinteger

The numbers of items to return.

searchstring

A string to search for in objects.

namestring
valuestring
comparator'=' | '<' | '>' | '<=' | '>=' | '!=' | 'LIKE' | 'IN' | 'REGEX' | 'NOT LIKE' | 'NOT <=>' | '<=>'

List of filters to apply to the query.

namestring

Column name

direction'asc' | 'desc' | 'closest'
valueinteger

Value for closest amount

List in order of priority of the variables by which to order the result.

expandstring[]

Response

Success

idinteger
status'new' | 'completed' | 'paid'
titlestring

Name visible on the accounting entries of the purchase

supplier_namestring
amountinteger

Amount without taxes in cents

amount_taxinteger

Amount of taxes in cents

amount_reverse_taxinteger

Reverse charge amount - Intra-community VAT (amount_tax must be 0)

amount_net_foreign_currencyinteger

Amount without taxes in cents

foreign_currencystring

Amount of taxes in cents

vat_detailobject

VAT breakdown

commentstring

free field

picturestring

Purchase picture

tagsstring[]
vat_repayment'payment' | 'billing'

In France, depending on the type of purchase (product or service), VAT is not payable at the same time. VAT on products is due on the date of the invoice, while VAT on services is due on the date of payment thereof

md5string

Md5 hash of the initial file sent

billed_atstring date-time

Date of invoice

completed_atstring date-time

Date on which the account, supplier, amount and billed_at fields were completed

accounted_atstring date-time

Date on which the accounting entries were generated

paid_atstring date-time

Date on which the invoice was fully paid

payment_deadline_atstring date-time

Payment deadline

expected_payment_deadline_atstring date-time

Payment deadline

payment_account_numberstring

Payment Account number

payment_routing_numberstring

Payment Routing number

payment_swiftstring

Payment SWIFT

payment_ibanstring

Payment IBAN

is_lateboolean

The payment deadline has passed and full payment has not been received

will_be_late_atstring date-time

Date the payment will be late. Is false if payment has been made