M2 Generator is an invoice text file generator for Dubai Trade BOEs. It validates your Excel invoice data and creates a comma-delimited text file. You upload that file on the invoice page of a BOE in Dubai Trade and every line item is populated — no manual data entry. It is not a BOE or customs-clearance system: you still create, review and submit the BOE in Dubai Trade yourself.
Where the time goes when you furnish a BOE
The BOE itself is not hard to understand — the invoice lines are hard to key in. Every line needs the same fields typed again: HS code, description, quantity, weight, value and country of origin. Multiply that by dozens of lines and dozens of BOEs a week and three things happen:
- The hours pile up. Re-keying is repetitive work that skilled people should not be doing.
- Typos slip through. A dropped leading zero or a swapped digit in an HS code is easy to miss and expensive to fix.
- Problems show up late. A missing permit or a wrong unit is found at upload time — or later — instead of before.
How it works
- Enter the invoice header in the app: regime, declaration type, invoice number and date, seller, INCO terms, value and currency.
- Fill the Excel template with one row per invoice line (HS code, description, quantities, weight, value, origin and any permit reference). Paste from the supplier’s sheet.
- Import & Validate. The app reads your sheet, checks every line and shows totals for value, weight and line items.
- Fix anything flagged — malformed HS codes, unit problems or missing permits — then import again.
- Generate the text file and upload it on the invoice page of your BOE in Dubai Trade. All line items populate.

The Excel invoice template
Each row of the “Invoice Items” sheet is one invoice line. The template has ten columns:
| Column | What to enter |
|---|---|
| HS Code | The 8-digit or 12-digit tariff code. |
| Description | The goods description as it appears on the commercial invoice. Be specific — avoid “items” or “samples”. |
| Stat Qtty / No. of Pcs | Quantity in the statistical unit of the tariff line. |
| Supplementary Quantity | A second quantity when the tariff line calls for one. |
| Net Weight (Kg) | Net weight of the line in kilograms. |
| Value | Line value in the invoice currency. |
| Country of Origin | Two-letter country code, for example CN, GB or US. |
| BOE Ref. No. | A related BOE reference, when the line needs one. |
| Exemption Ref | An exemption reference, when an exemption applies. |
| Permit Reference Number | The permit number issued by the controlling authority, when the goods are regulated. |

Invoice header details you enter in the app
- Regime type and declaration type
- Invoice number, invoice date and total invoice pages
- Seller’s name, invoice type and payment instrument type
- INCO terms (for example CIF), invoice value and invoice currency
- Goods condition and exemption type
- Freight and insurance charges, each with its own currency
File operations stay disabled until every required header field is filled — a simple guard against incomplete invoices.
What gets validated before you generate the file
- HS code format — 8-digit and 12-digit codes are checked against built-in rules. See 8-digit vs 12-digit HS codes.
- Controlling authority — the regulating body is shown for each line. See controlling authorities explained.
- Missing permits — lines that need a permit reference but do not have one are marked “Permit Missing”.
- Unit-of-measure consistency — statistical units and quantities are checked together.
- Totals — invoice value, total net weight and number of line items are calculated for a quick sanity check against the paper invoice.
Always review the result. Customs can change HS codes and controlling authorities at any time. M2 Generator’s checks reduce errors but do not replace your own verification before you submit — see the Terms & Conditions.
What M2 Generator is — and isn’t
| It is | It is not |
|---|---|
| An invoice text file generator for Dubai Trade BOEs | BOE or customs-clearance software |
| A validator for HS codes, permits, units and totals | A replacement for Dubai Trade, or a way to submit on your behalf |
| A Windows app that processes your data locally | An official tool of Dubai Customs or Dubai Trade |
| An aid that reduces typing and typos | Customs, legal or classification advice |
Your options for getting invoice lines into a BOE
| Approach | Best for | Trade-offs |
|---|---|---|
| Type lines into Dubai Trade | Very low volumes | No extra cost, but slow and error-prone as volume grows. |
| A full customs / ERP system | Companies that need billing, tracking and accounting in one platform | Broader scope; typically a bigger setup, longer rollout and ongoing cost. |
| An invoice text file generator (M2 Generator) | Clearing agents, forwarders and importers who work from invoice spreadsheets | Fast to adopt, paid per PC (1 license per PC), data stays on your PC. Focused on the invoice upload file — not an ERP or accounting system. |
What manual entry costs your team
Enter your own numbers to see the monthly hours and staff cost involved:
Staying manual costs you about
— AED / month
Open the full calculator → · Request a license →
Frequently asked questions
Is M2 Generator BOE software?
No. M2 Generator is an invoice text file generator. It validates your Excel invoice data and creates a comma-delimited text file. You upload that file on the invoice page of a BOE in Dubai Trade, which populates the line items. You still create, review and submit the BOE in Dubai Trade yourself.
Can I upload an Excel invoice straight to Dubai Trade?
You upload the text file that M2 Generator creates from your Excel sheet. Once uploaded on the invoice page, every line item is populated — you do not type the lines into the portal.
What happens if an HS code or permit is wrong?
M2 Generator checks 8 and 12 digit HS code formats, shows the controlling authority for each line and flags lines where the permit reference is missing, so you can correct the sheet before you generate the file.
Is the Excel file sent to a server?
No. Conversion and validation run locally on your Windows PC. Your Excel files and invoice data are never uploaded.
Is M2 Generator paid? How do I get it?
Yes — it is paid software, licensed 1 license per PC, with team-size packages for companies. Email support@m2-generator.com your company name, company email, phone number and number of licenses; we reply within 24–48 business hours.
Skip the manual work
M2 Generator validates your Excel invoice and generates one text file that fills in every line item on the Dubai Trade invoice page — processed locally on your PC. Paid software, 1 license per PC; we reply to every email within 24–48 business hours.
Not sure yet? Book a 15-minute walkthrough first.