get https://example.com/peppol-api/ubl-documents/
The GET /ubl-documents/{documentId}
endpoint is used to retrieve a specific UBL document by its identifier.
The endpoint expects the documentId parameter to be provided in the path of the request URL.
Upon successful retrieval of the UBL document, the response will contain the UBL document in the response body.
The format of the document will be in compliance with the PEPPOL standard.
NOTE: It's important to note that UBL documents are only available for 30 days. After this period, they will be permanently deleted and will no longer be available for retrieval.
Therefore, it's important to archive the UBL documents as required by relevant laws and regulations.