BR-TMP-6 – XRechnung validation rule
Official message
[BR-TMP-6] Datumsangaben in UBL müssen im Format JJJJ-MM-TT (YYYY-MM-DD) übermittelt werden.
- Severity
- Warning Note: this does not make the invoice invalid, but it should be checked.
- Applies to
- XRechnung (UBL)
For developers: test expression per syntax
XRechnung (UBL) (UBL)
Context: cbc:IssueDate | cbc:DueDate | cbc:StartDate | cbc:EndDate | cbc:ActualDeliveryDate | cbc:IssueDate | cbc:TaxPointDate | cbc:PaymentDueDate
matches(normalize-space(text()), '^\d{4}-\d{2}-\d{2}$')
Related validation rules
Last updated:
Explanation of the validation rule, not legal or tax advice.