Rules / IBR-154-AE
IBR-154-AE error
Transaction type is eight 0/1 flags
The invoice transaction type code (BTAE-02) is a string of eight flags, each 0 or 1: free trade zone, deemed supply, margin scheme, summary invoice, continuous supply, disclosed agent, e-commerce, export.
ASPs route and report on these flags. A wrong length or a stray letter breaks that.
Fails
<cbc:ProfileExecutionID>0000000</cbc:ProfileExecutionID>
Fix
Use 00000000 for a plain domestic supply and set only the flags that apply.
Passes
<cbc:ProfileExecutionID>00000000</cbc:ProfileExecutionID>
Schematron
- Context
/ubl:Invoice | /cn:CreditNote- Test
(matches(cbc:ProfileExecutionID, "^[01]{8}$"))
Official text: Invoice Transaction-type code (BTAE-02) must be provided from the Invoice Transaction Type Code List. It should be a string consisting of no more than 8 characters, exclusively comprising of 0 and 1. The value in this field should be based on the sequence of transaction present in the invoice (as per list order), If applicable '1', and if not applicable '0' .