e-SLOG
e-SLOG
e-SLOG 2.0 (Slovenian electronic invoice) operations.
Documents can be validated and exported as native e-SLOG XML in the official urn:eslog:2.00 format.
Only available for Slovenian entities (country_code = 'SI').
Validate document for e-SLOG
/eslog/{documentId}/validateManually trigger e-SLOG 2.0 validation for a document.
Updates the document's eslog field with validation status.
Only available for Slovenian entities.
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 (invoice, estimate, credit note, or advance invoice)
Query parameters
Document type
Possible values: "invoice", "estimate", "credit_note", "advance_invoice"
curl -X POST "https://eu.spaceinvoices.com/eslog/{documentId}/validate?type=invoice" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID"Returns
{
"document_id": "string",
"document_type": "string",
"eslog": {
"validation_enabled": true,
"validation_status": "valid",
"validation_errors": [
"string"
],
"validated_at": "string"
}
}Download e-SLOG XML
/eslog/{documentId}/downloadDownload a validated document as native e-SLOG 2.0 XML.
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 (invoice, estimate, credit note, or advance invoice)
Query parameters
Document type
Possible values: "invoice", "estimate", "credit_note", "advance_invoice"
curl "https://eu.spaceinvoices.com/eslog/{documentId}/download?type=invoice" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID"