Skip to content

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

POST/eslog/{documentId}/validate

Manually 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_idstringoptional

Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.

Path parameters

documentIdstringrequired

Document ID (invoice, estimate, credit note, or advance invoice)

Query parameters

typestringrequired

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_idstring
document_typestring
eslogobject
json
{
  "document_id": "string",
  "document_type": "string",
  "eslog": {
    "validation_enabled": true,
    "validation_status": "valid",
    "validation_errors": [
      "string"
    ],
    "validated_at": "string"
  }
}

Download e-SLOG XML

GET/eslog/{documentId}/download

Download a validated document as native e-SLOG 2.0 XML.

Header parameters

entity_idstringoptional

Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.

Path parameters

documentIdstringrequired

Document ID (invoice, estimate, credit note, or advance invoice)

Query parameters

typestringrequired

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"