Resources

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

UBL document type Document type code
Invoice invoice
CreditNote credit-note
Order order
OrderResponse order-response
DespatchAdvice despatch-advice

Each resource is made by:

Copy
Copied
- 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