UBL-CR-582: A UBL invoice should not include the InvoiceLine Item StandardItemIdentification…
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-582]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification ExtendedID
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Item/cac:StandardItemIdentification/cbc:ExtendedID)UBL-CR-582 is a warning rule in the schema layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is flagged but not rejected.
What this rule requires
This warning rule checks that an invoice or credit note has no cbc:ExtendedID inside cac:StandardItemIdentification inside cac:Item on any cac:InvoiceLine or cac:CreditNoteLine. Because it is a warning, a document with such an ExtendedID is still reported but is not rejected; the rule advises that the element should not be included there. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Item/cac:StandardItemIdentification/cbc:ExtendedID), so it fails only when at least one such ExtendedID exists in those line item standard identifications.
How to fix
Remove every cbc:ExtendedID that is a child of cac:StandardItemIdentification within a line item (cac:InvoiceLine/cac:Item/cac:StandardItemIdentification or cac:CreditNoteLine/cac:Item/cac:StandardItemIdentification). If the producing system currently writes this element, configure it not to emit it for line items. The rule does not say what alternative identification element to use, so only removal is supported by this rule.
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-582.
Validate an invoice against these rules · All release changes