Cius

Peppol-Icon

BIS3 Netherlands

Validation message

[NL-R-009] For suppliers in the Netherlands, if an order line reference (ram:BuyerOrderReferencedDocument/ram:LineID) is used, there must be an order reference on the document level (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerOrderReferencedDocument/ram:IssuerAssignedID)

UBL

Context

1

cac:OrderLineReference/cbc:LineID[$supplierCountryIsNL]

Rule

1

exists(/*/cac:OrderReference/cbc:ID)

CII

Context

1

rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:BuyerOrderReferencedDocument/ram:LineID[$supplierCountryIsNL]

Rule

1

exists(/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerOrderReferencedDocument/ram:IssuerAssignedID)

UBL CREDIT NOTE

Context

1

cac:OrderLineReference/cbc:LineID[$supplierCountryIsNL]

Rule

1

exists(/*/cac:OrderReference/cbc:ID)

Used in business terms