IBR-156-OM

[IBR-156-OM] - Import date (BTOM-020) MUST be formatted YYYY-MM-DD and be a valid date.

About

ID
IBR-156-OM
Flag
fatal
Context
ubl:Invoice | cn:CreditNote
Test
not(cac:Delivery/cac:Shipment/cac:Delivery/cbc:ActualDeliveryDate) or (matches(cac:Delivery/cac:Shipment/cac:Delivery/cbc:ActualDeliveryDate, '^\d{4}-\d{2}-\d{2}$') and cac:Delivery/cac:Shipment/cac:Delivery/cbc:ActualDeliveryDate castable as xs:date)