v1

latestOpenAPI 3.1.0Terms of services for Altera.app2026-07-13146285.1 KB
Sales

Get invoice data

Retrieve data for a particular invoice available in the system

This endpoint may be used as a base for new invoice data that we wish to create based on a set of related invoices

If you wish to generate such object base you will need to provide both:

  • related parameter, listing the related invoices
  • invoiceType of the new invoice we wish to create

The return object will be a temporary invoice object you may further extend before saving it.

get/sales/invoice

Query parameters

refinteger
Example:36891

InvoiceId identificator of the exact invoice we wish to retrieve

{"stackTrail":"paths:/sales/invoice:get:parameters:1:schema:items","oasType":"schema","type":"unknown"}

Comma delimited list of related invoices we wish to create a reference from

invoiceType'SALES' | 'CORRECTION' | 'INTERIM_FINAL'
Example:CORRECTION

Invoice type for the new invoice we wish to create based on related invoices

Response

OK

resultstring

Example response

{
  "data": {
    "invoice": {
      "basicInformation": {
        "invoiceType": "SALES"
      }
    },
    "relatedInvoices": [
      {
        "basicInformation": {
          "invoiceType": "SALES"
        }
      }
    ]
  }
}