BR-CO-20fatal

How to fix BR-CO-20

If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both.

What this rule checks

An <cac:InvoicePeriod> exists on an invoice line but has no start or end date. A line period must contain at least one date to be valid.

Referenced business terms

This rule references the following EN 16931 business terms. Click through for the full definition, the UBL XPath and the cardinality.

How to fix it

Add <cbc:StartDate> (BT-134) and/or <cbc:EndDate> (BT-135) inside the line-level <cac:InvoicePeriod>, or remove the empty <cac:InvoicePeriod> from the line.

Related rules

Validate your invoice

Upload your corrected invoice to check it passes BR-CO-20 and all other EN 16931 and Peppol BIS 3.0 rules. Free, instant, no signup.