BR-S-01

[BR-S-01]-If VAT category ID is used and an invoice line, document level allowance or charge has VAT category code "Standard rated", the VAT breakdown shall contain at least one VAT category code equal to "Standard rated".

About

ID
BR-S-01
Flag
fatal
Context
pxs-taxdata:TaxData/pxs-taxdata:ReportedTransaction/pxs-taxdata:ReportedDocument
Test
not(exists(//cac:AllowanceCharge/cac:TaxCategory/cbc:ID | //cac:ClassifiedTaxCategory/cbc:ID | cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:ID)) or not(exists(//cac:AllowanceCharge/cac:TaxCategory[cbc:ID and normalize-space(cbc:ID)='S'] | //cac:ClassifiedTaxCategory[cbc:ID and normalize-space(cbc:ID)='S'])) or exists(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cbc:ID and normalize-space(cbc:ID)='S'])
Rules
  • BR-S-01 [BR-S-01]-If VAT category ID is used and an invoice line, document level allowance or charge has VAT category code "Standard rated", the VAT breakdown shall contain at least one VAT category code equal to "Standard rated".
Syntax binding