All rules · tdd-ae · error
ibr-tdd-55
The custom content for the total amount with VAT in AED (BTAE-20) must hold its amount in cbc:Value, not in an extension.
Draft — not yet reviewed
Why this rule exists
Custom content is read by field; a value placed anywhere else is not found.
Why it usually happens
- Putting the amount inside cec:ExtensionContent, which is not allowed here
How to fix it
Put the AED amount in pxs:CustomContent/cbc:Value.
The official rule
The CUSTOM CONTENT (pxs:CustomContent) for the Invoice (or CreditNote) total amount with VAT in AED (BTAE-20) MUST contain the cbc:Value element (pxs:CustomContent/cbc:Value)
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
exists(cbc:Value)
Applied to nodes matching /pxs:TaxData/pxs:ReportedTransaction/pxs:CustomContent
Rule-pack versions
| Rule-pack | Layer | Severity | Applies to |
|---|---|---|---|
| tdd-ae-1.0.4 | tdd-ae | error | tax-reporting/taxdata |
| tdd-ae-1.0.3 | tdd-ae | error | tax-reporting/taxdata |
Related rules
Check your own invoice
Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.
Open the validator