UJP
UJP
Slovenian UJP e-invoice package operations. The package endpoint generates native e-SLOG XML, a required UJP envelope, a tar.gz attachment package, and PDF visualization files for provider or UJP B2B exchange workflows.
Download UJP package
/documents/{id}/ujpDownload a deterministic ZIP package for Slovenian UJP provider or B2B e-invoice exchange. The document type is detected from the ID prefix. This does not send the document and does not require UJP credentials or certificates. The package requires current valid e-SLOG XML, a UJP .env envelope, a .tar.gz attachment package hashed by the envelope, and a PDF visualization.
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
Path parameters
Document ID. The document type is detected from the ID prefix.
curl "https://eu.spaceinvoices.com/documents/{id}/ujp" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID"