Expenses

List available expenses

Changed on

Gets a list of expense invoices imported into the system for your company.

get/expenses

Request

  • Base URL
    https://api.altera.co
  • URL
    https://api.altera.co/expenses
  • Auth
    API 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
unknown
paymentStatus'PAID' | 'UNPAID' | 'OVERDUE'
Example:OVERDUE

Response

OK

resultstring

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

    • 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