Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

token

The token obtained on connection

Required

from

The first record to show starting with index 0. Default is 0

Optional

count

The number of records to show, up to 100 at a time. Default is 100.

Optional

filter

A json containing filter information (see below)

Required

 

JSON format of "filter"

...

parameter

You can filter the list of invoices that you want to download. You need to specify if you want client or supplier invoices. All other filter options are optional.

 

isClientInvoicesBoolean value. If set to 'true', you obtain client invoices/quotes. Otherwise, you obtain supplier invoices/quotes.Required
idsAn array containing the ids of the invoices to download. For example: [2,58,124]Optional
statusesThe statuses of the invoices to download. Array of integer value.See InvoiceStatus in (LIEN)ApiInvoiceFor example, to get "Invoice sent" and "Invoice approved" use: [11,15]Optional
referenceFilter on the reference of the invoice.Optional
clientCompanyIdFilter on the id of the client companyOptional
clientCompanyNameFilter on the name of the client companyOptional
supplierCompanyIdFilter on the id of the supplier companyOptional
supplierCompanyNameFilter on the name of the supplier companyOptional
projectRefFilter on the reference of the associated projectOptional
projectIdFilter on the id of the associated projectOptional
invoiceNoFilter on the invoice numberOptional
quoteNoFilter on the quote numberOptional

...