VRBL-INV-AU-1p0-69

Basic Info

Rule The ABN must be provided in Seller Legal Registration ID, when the Seller Country Identification Code is "AU".
Context /ubl:Invoice/cac:AccountingSupplierParty
Pattern vrbl-invoice-au-1p0
Severity fatal

Implementation

not($AU-SupplierCountry = 'AU')
or
cac:Party/cac:PartyLegalEntity/cbc:CompanyID >=1 
and
cac:Party/cac:PartyLegalEntity/cbc:CompanyID/@schemeID = '0151'