Search invoices.
Search invoices. Returns a list containing basic information for the invoices. The ID in each result entry can be used to fetch complete invoice details with the GET /invoices/{invoiceId} endpoint. Supports purchase, purchase order, sales, sales order, self-assessed tax, travel and expense (bill of charges) invoices.
Request
- Base URL: https://pts-api.procountor.com/api
- URL: https://pts-api.procountor.com/api/invoices
- Auth: HTTP bearer
Query parameters
Invoice status
Start date of the search (invoice billing date)
End date of the search (invoice billing date)
Start date of the search (invoice created date)
End date of the search (invoice created date)
Start date of the search (invoice updated date)
End date of the search (invoice updated date)
Start date of the search (invoice due date)
End date of the search (invoice due date)
Invoice types. Supports more than one invoice status, separated by comma
Search invoices with given business partner ID
Search invoices with given factoring contract Id
Search invoices with given original invoice number
Search invoices with given invoice number
Search invoices containing a row with the given product ID. Supports multiple values separated by comma. Maximum 200 values.
Search invoices by searchTerm. Allows searching by counterpartyAddress.name, invoiceNumber and additionalInformation.
Search invoices with given isOffer value. Supported only for SALES_ORDER type.
Previous invoice ID for pagination
Order the results by invoice ID
Order the results by date
Order the results by created date
Order the results by version (updated date)
Page size for the results. Maximum value: 200.
Page number for the results
Invoice channel
Response
Invoices were successfully found.
Example response
{
"results": [
{
"type": "PURCHASE_INVOICE",
"status": "UNFINISHED",
"created": "2017-09-27T12:12:42",
"version": "2017-09-27T12:12:42",
"counterParty": {
"counterPartyAddress": {
"country": "SWEDEN"
}
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.