UBL-CR-615: A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-CR-615]-A UBL invoice should not include the InvoiceLine Item AdditionalItemProperty UsabilityPeriod
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Item/cac:AdditionalItemProperty/cac:UsabilityPeriod)UBL-CR-615 is a warning rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected.
What this rule requires
This warning rule applies to UBL invoices and credit notes. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Item/cac:AdditionalItemProperty/cac:UsabilityPeriod), meaning the validator reports a warning if any cac:InvoiceLine or cac:CreditNoteLine contains a cac:Item/cac:AdditionalItemProperty/cac:UsabilityPeriod element. Because the severity is warning, the document is not rejected; the rule only recommends avoiding that element.
How to fix
Remove the cac:UsabilityPeriod element from any cac:AdditionalItemProperty under cac:Item in each cac:InvoiceLine and cac:CreditNoteLine of the UBL invoice or credit note.
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 UBL-CR-615.
Validate an invoice against these rules · All release changes