Skip to main content
POST
/
api
/
documents
/
{document_id}
/
validate
Validate Document
curl --request POST \
  --url https://api.e-invoice.be/api/documents/{document_id}/validate \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "file_name": "<string>",
  "is_valid": true,
  "issues": [
    {
      "message": "<string>",
      "type": "error",
      "schematron": "<string>",
      "location": "<string>",
      "rule_id": "<string>",
      "flag": "<string>",
      "test": "<string>"
    }
  ],
  "ubl_document": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

document_id
string
required

Response

Successful Response

id
string
required
file_name
string | null
required
is_valid
boolean
required
issues
ValidationIssue · object[]
required
ubl_document
string | null