IBR-058-OM

[IBR-058-OM] - Prepayment invoice number (BTOM-027) and Prepayment invoice UUID (BTOM-014) must be provided if Paid amount (IBT-180) is present.

About

ID
IBR-058-OM
Flag
fatal
Context
ubl:Invoice | cn:CreditNote
Test
not($isPrepayment) or ( exists(cac:LegalMonetaryTotal/cbc:PrepaidAmount) and exists(cac:OriginatorDocumentReference/cbc:ID) and exists(cac:OriginatorDocumentReference/cbc:UUID) )