BR-CO-19: If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the…
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[BR-CO-19]-If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both.
exists(cbc:StartDate) or exists(cbc:EndDate) or (exists(cbc:DescriptionCode) and not(exists(cbc:StartDate)) and not(exists(cbc:EndDate)))BR-CO-19 is a fatal rule in the business layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected. It refers to BG-14, BT-73, BT-74.
What this rule requires
The rule requires that if an invoicing period is present, it must contain at least a start date or an end date. In UBL, cac:InvoicePeriod must contain cbc:StartDate or cbc:EndDate, or, if neither date is present, cbc:DescriptionCode is accepted. In CII, //ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod must contain ram:StartDateTime or ram:EndDateTime. A document that includes the period element without any of these is rejected as fatal.
How to fix
Ensure the cac:InvoicePeriod element contains cbc:StartDate or cbc:EndDate; if no date can be supplied, provide cbc:DescriptionCode. For CII, ensure ram:StartDateTime or ram:EndDateTime is present inside //ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod. If the invoice does not actually use an invoicing period, remove the period element entirely.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to BR-CO-19.
Validate an invoice against these rules · All release changes