Expenses
List available expenses
Changed onGets a list of expense invoices imported into the system for your company.
get/expenses
Request
- Base URLhttps://api.altera.co
- URLhttps://api.altera.co/expenses
- AuthAPI key in header Authorization
Query parameters
documentsPerPage'10' | '20' | '50' | '100'
Defines the amount of invoices polled per page
pageNumberstring
Defines the page we want to poll
sortBy'INVOICE_NUMBER' | 'ISSUE_DATE' | 'SALE_DATE' | 'DUE_DATE' | 'AMOUNT_GROSS' | 'CONTRACTOR_NAME'
Example:ISSUE_DATE
order'ASC' | 'DESC'
Example:DESC
searchPhrasestring
Freetext search over concatenated fields InvoiceNumber, ContractorName, ContractorTIN and ContractorCity
contractorNamestring
paymentStatus'PAID' | 'UNPAID' | 'OVERDUE'
Example:OVERDUE
Response
OK
Example response
{
"data": {
"expenses": [
{
"basicInformation": {
"invoiceType": "SALES",
"currency": "EUR",
"language": "en"
},
"invoicePosition": [
{
"gtu": "2"
}
]
}
]
}
}Changes
- breaking
the response property
/////became nullable for the status - info
added the non-success response with the status
- info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status
- breaking
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info