Parse SI — UBL (SI-UBL 2.0)
Parse SI — UBL (SI-UBL 2.0)
Parse a SI — UBL (SI-UBL 2.0) 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:si:ubl:parse entitlement.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
data
Base64 encoded document (XML or PDF with embedded XML)
filename
Original filename (helps detect format)
Response
Invoice parsed successfully
success
Whether parsing was successful
invoice
Extracted invoice data
format
Detected format (e.g., ZUGFERD_EN16931)
hash
SHA-256 hash of the input document
errors
Parsing errors (if any)
warnings
Parsing warnings (if any)
infos
Informational messages (e.g., XML extracted from PDF)
Errors
400
Ubl Si Request Bad Request Error
401
Ubl Si Request Unauthorized Error
403
Ubl Si Request Forbidden Error
429
Ubl Si Request Too Many Requests Error
500
Ubl Si Request Internal Server Error
