Rules / IBR-175-AE
Non-AED invoices need VAT totals in AED
When you bill in another currency and the tax currency (cbc:TaxCurrencyCode) is AED, the total VAT in AED (IBT-111) and the total with VAT in AED (BTAE-20) must both be on the invoice.
The FTA reconciles VAT in dirhams.
Fails
<cbc:DocumentCurrencyCode>USD</cbc:DocumentCurrencyCode>
<cbc:TaxCurrencyCode>AED</cbc:TaxCurrencyCode>
<cac:TaxTotal><cbc:TaxAmount currencyID="USD">50.00</cbc:TaxAmount>...</cac:TaxTotal>
<!-- no AED TaxTotal, no AED total with VAT -->
Fix
Add a second cac:TaxTotal with cbc:TaxAmount in AED, converted at the stated rate, and give the total with VAT in AED in a cac:AdditionalDocumentReference with cbc:DocumentTypeCode aedtotal-incl-vat and the amount in cbc:DocumentDescription.
Passes
<cac:AdditionalDocumentReference>
<cbc:ID>1</cbc:ID>
<cbc:DocumentTypeCode>aedtotal-incl-vat</cbc:DocumentTypeCode>
<cbc:DocumentDescription>3856.13</cbc:DocumentDescription>
</cac:AdditionalDocumentReference>
…
<cac:TaxTotal><cbc:TaxAmount currencyID="USD">50.00</cbc:TaxAmount>...</cac:TaxTotal>
<cac:TaxTotal><cbc:TaxAmount currencyID="AED">183.63</cbc:TaxAmount></cac:TaxTotal>
Schematron
- Context
/ubl:Invoice | /cn:CreditNote- Test
cbc:DocumentCurrencyCode = "AED" or (cbc:DocumentCurrencyCode != "AED" and cbc:TaxCurrencyCode = "AED" and exists(cac:TaxTotal/cbc:TaxAmount[@currencyID = "AED"]) and exists(cac:AdditionalDocumentReference[cbc:DocumentTypeCode = "aedtotal-incl-vat"]/cbc:DocumentDescription))
Official text: When Invoice currency code [IBT-005] is other than 'AED' and Tax accounting currency [IBT-006] is 'AED', then the value in Invoice total VAT amount in tax accounting currency [IBT-111] and Invoice (or CreditNote) total amount with VAT in AED [BTAE-20] MUST be present.