# ibr-138-ae

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

> Invoicing period [IBG-14] is MUST, where Invoice transaction type code [BTAE-02] is XXX1XXXX (Summary invoice).

- Level: error
- Rule sets: PINT AE rules (United Arab Emirates) 1.0.4
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `(matches(cbc:ProfileExecutionID, "^[01]{3}1[01]{4}$") and cac:InvoicePeriod) or not(matches(cbc:ProfileExecutionID, "^[01]{3}1[01]{4}$"))`

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