# ibr-116-ae

Source: https://xmlvalid.com/rules/ibr-116-ae

> When Invoice transaction-type code (BTAE-02) has value XX1XXXXX (Margin scheme), then the tax category code (IBT-151) should have 'Standard rate additional VAT'.

- Level: error
- Rule sets: PINT AE rules (United Arab Emirates) 1.0.4
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `not(matches(cbc:ProfileExecutionID, "^[01]{2}1[01]{5}$")) or not((//cac:TaxCategory/cbc:ID | //cac:ClassifiedTaxCategory/cbc:ID)[normalize-space(.) != "N"])`

Validate a document against these rules: https://xmlvalid.com/validate
