Actions9
Invoice → Get Peppol Document
AI-generatedSummary
Retrieves a Peppol document by sending a POST request to the POP API, using the default peppol/document-get endpoint. Choose how to provide the request body: forward incoming JSON, build it from form fields, enter a complete JSON body, or send a raw payload.
Inputs
- Environment — POP API environment; defaults to Production.
- Endpoint Path — Relative endpoint path; defaults to
peppol/document-get. - Input Mode — Select Use Incoming JSON, Form Fields, JSON, or Raw. Incoming JSON forwards the current input item's JSON as the body. Form Fields constructs a body from the fields below.
- Integration UUID (required) — In Form Fields mode, the UUID of the integration whose document to retrieve.
- License Key — In Form Fields mode, an optional POP license key. When provided, it is sent in the
X-API-Keyheader and aslicense_keyin the request body; otherwise the configured POP API credential may be used. - Target Environment — In Form Fields mode, optionally select Live or Sandbox; the default leaves the API environment unspecified.
- Zone (Country Code) — In Form Fields mode, an optional country zone. The value is trimmed and converted to uppercase before being added to
integration.zone; the UI notes it is required for sending to Peppol for a BE VAT number. - JSON Body — In JSON mode, provide the complete request body following the POP API v2
peppol/document-getschema. - Raw Body — In Raw mode, provide a raw request payload. The operation defaults the Content-Type to
application/xmlunless overridden. - Extra Headers (JSON) — Optional additional request headers supplied as a JSON object.
Output shape
A single POP API response object per input item, returned as n8n item JSON.
The request uses POST. With multiple input items, the operation makes a request for each item and pairs each result with its input. In Form Fields mode, the body contains
license_key, optionalenvironment, andintegrationwith the UUID and optional uppercased zone. JSON and raw modes use the supplied body directly. API errors are raised as node errors unless Continue On Fail is enabled.