VRBL-INV-JP-1p0-13

Basic Info

Rule When the Seller is Japanese, then each Invoice Line must be categorized with the Invoiced Item Tax Category Code and the Invoiced Item Tax Rate.
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)
)