Deep Validation (Full Schematron)
POST/api/v1/invoices/validate/deep
Perform comprehensive validation including official Peppol Schematron rules.
Validation Layers:
- XSD - Structural XML schema validation
- Business Rules - Totals, calculations, BR-CO-xx rules
- eDEC - Code list validation (ICD, EAS, process IDs)
- CEN EN16931 - European standard Schematron
- Peppol BIS - Peppol-specific Schematron rules
- CIUS - Country-specific rules (optional, based on receiver_country)
Compliance Gate Policy:
errorandfatalseverities โ REJECT (is_valid = false)warningseverity โ 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.