VRBL-INV-JP-1p0-13

Basic Info

Rule When the Seller Group is Japanese, then each Invoice Line Group must be categorized with the Invoice Line Tax ID and the Invoice Line Tax Percent.
Context /ubl:Invoice/cac:InvoiceLine
Pattern vrbl-invoice-jp-1p0
Severity fatal

Implementation

not($JPSupplierCountry = 'JP')
or
(
	boolean(cac:Item/cac:ClassifiedTaxCategory/cbc:ID)
	and
	boolean(cac:Item/cac:ClassifiedTaxCategory/cbc:Percent)
)