Skip to main content

Deep Validation (Full Schematron)

POST 

/api/v1/invoices/validate/deep

Perform comprehensive validation including official Peppol Schematron rules.

Validation Layers:

  1. XSD - Structural XML schema validation
  2. Business Rules - Totals, calculations, BR-CO-xx rules
  3. eDEC - Code list validation (ICD, EAS, process IDs)
  4. CEN EN16931 - European standard Schematron
  5. Peppol BIS - Peppol-specific Schematron rules
  6. CIUS - Country-specific rules (optional, based on receiver_country)

Compliance Gate Policy:

  • error and fatal severities โ†’ REJECT (is_valid = false)
  • warning severity โ†’ PASS with flag (is_valid = true, logged)

Use this endpoint to validate invoices before sending to ensure Peppol compliance. The profile field contains audit metadata including Schematron version and checksum.

Requestโ€‹

Responsesโ€‹

Successful Response