IBR-032-OM

[IBR-032-OM] - If Invoice type code (IBT-003) is '381' or '383' or '261', Preceding Invoice reference (IBT-025), and Preceding Invoice issue date (IBT-026), and Preceding invoice UUID (BTOM-031) MUST be present.

About

ID
IBR-032-OM
Flag
fatal
Context
ubl:Invoice | cn:CreditNote
Test
not($invoiceType='381' or $invoiceType='383' or $invoiceType='261') or (cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID and cac:BillingReference/cac:InvoiceDocumentReference/cbc:IssueDate and cac:BillingReference/cac:InvoiceDocumentReference/cbc:UUID)