Skip to navigation

Parse SK — Peppol BIS 3.0 UBL (cross-border)

Parse a SK — Peppol BIS 3.0 UBL (cross-border) document. No pre-generated sample is shipped for this country/format yet — replace the data field with your own base64-encoded document before sending. Requires e-invoice:sk:peppol-ubl:parse entitlement.

Authentication

AuthorizationBearer

API Key authentication. Use sk_live_* for production or sk_test_* for testing.

Request

This endpoint expects an object.
datastringRequired

Base64 encoded document (XML or PDF with embedded XML)

filenamestringOptional

Original filename (helps detect format)

Response

Invoice parsed successfully
successboolean
Whether parsing was successful
invoiceobjectOptional
Extracted invoice data
formatstringOptional

Detected format (e.g., ZUGFERD_EN16931)

hashstringOptional

SHA-256 hash of the input document

errorslist of objectsOptional

Parsing errors (if any)

warningslist of objectsOptional

Parsing warnings (if any). A party address without a country (seller, buyer, tax representative, payee) gets the country of the format, and the warning PARTY_COUNTRY_ASSUMED names the field and the place in the document.

infoslist of objectsOptional

Informational messages (e.g., XML extracted from PDF)

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error