Skip to main content

Resources

There are different type of documents you can manage with A-Cube Peppol API:

UBL document typeDocument type code
Invoiceinvoice
CreditNotecredit-note
Orderorder
OrderResponseorder-response
DespatchAdvicedespatch-advice

Each resource is made by:

- the document source (UBL 2.1 XML or the JSON transposition
- the document metadata, information about the context and the document source

You can obtain a document resource with its getter operation. E.g. GET /invoices/\{uuid} or GET /orders/\{uuid}

You can obtain the original document source with the source getter operation. E.g. GET /invoices/\{uuid}/source or GET /orders/\{uuid}/source