cURL
curl --request POST \ --url https://api.e-invoice.be/api/validate/ubl \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "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>" }
Validate the correctness of a UBL document
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes
error
warning