An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment" shall not contain an invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated”.
The invoice contains both CategoryCode B and CategoryCode S. The rule prohibits this combination across the checked invoice lines, allowances and charges.
B identifies the “Split payment” tax category, while S identifies the “Standard rated” category. The rule prevents both categories from being used together in the same invoice.
The invoice contains both tax category B and S. You can make the categories in the relevant tax information consistent.
- Find the
CategoryCodevaluesBandSon invoice lines and in document-level allowances and charges. - Check the category in
TradeLineItem.TaxCategoryCodeandTaxCategoryCodes. - Check the categories for document-level allowances and charges in
AbstractTradeAllowanceCharge. - Regenerate the invoice and validate it again.
<ram:CategoryCode>B</ram:CategoryCode> <ram:CategoryCode>S</ram:CategoryCode>
<ram:CategoryCode>B</ram:CategoryCode>
TaxCategoryCodes(BT-151; BT-95; BT-102)TradeLineItem.TaxCategoryCode(BT-151)TradeLineItem.TaxType(BT-151-0)AbstractTradeAllowanceCharge(Document level allowance: BG-20; Document level charge: BG-21)AbstractTradeAllowanceCharge.ChargeIndicator(Document level allowance: BG-20; Document level charge: BG-21)
Technical details
The XPath passes if no CategoryCode B occurs or if no CategoryCode S occurs. The check covers CategoryCode elements throughout the document.
The rule applies to all CategoryCode elements on invoice lines and at document level for allowances and charges.
rule/@context)assert/@test)