When you send or receive an invoice or other document via Recommand, a document package (ZIP) is automatically created. This package contains:
- the original UBL XML file,
- any attachments (such as a PDF version),
- the parsed document in JSON format
Download complete package:
Via the API endpoint /api/peppol/documents/{documentId}/download-package or directly from the dashboard.
Get only the XML file:
Use the endpoint
GET /api/peppol/documents/{documentId}
and retrieve the XML file from the xml field.