Mirsal EDI Converter Excel invoice → Dubai Customs upload file
Runs entirely in your browser. Nothing is uploaded anywhere — safe for customs documents.
"IH" HEADER + "ID" LINE ITEMS · CRLF LINE ENDINGS · NO TRAILING NEWLINE · FIELD 5 = "2" (VALIDATED FORMAT) · HS→UNIT AUTO-LOOKUP (DUBAI CUSTOMS LIST)
1

Drop the Excel file

Same layout as always: header block on top (EDI No, Invoice Date, Importer, Currency, Total Invoice Value, Incoterm), then the items table starting with a "Line No" header row. First sheet is used. Statistical units are set automatically from the HS code: kg lines use the weight as quantity; unit (“u”) lines take the piece count from the Qty column, so make sure it is filled for those.

Column A holds the labels for the header block (rows 1–6). The items table starts wherever a row's Column A says "Line No" — a couple of blank rows in between (rows 7–8 below) is normal and fine.

A B C D E F G H I
1EDI NoST-373
2Invoice Date (YYYY-MM-DD)2026-07-07
3ImporterZORA ELECTRONICS TRADING FZE
4CurrencyAED
5Total Invoice Value4401574.21
6IncotermCIF
7
8
9Line NoHS CodeGoods DescriptionCountry of OriginStatistical Unit (kg/u)Statistical QuantityWeight UnitGross WeightInvoice Value
10185166000MIDEA 60CM CERAMIC HOBCN(blank)5(blank)53.53966.3
11284151010AIR CONDITIONERCN(blank)16(blank)1798.9114337.44
12384221100LG DISHWASHERKR(blank)43(blank)227378664.95
Items header row (must start with "Line No") Header block labels (Column A) Columns E and G are left blank — unit and weight-unit default automatically
Drop .xlsx here or click to browse
.xlsx / .xls — parsed locally with SheetJS
·
Waiting for a file. Once parsed, the header fields, validation stamps, and file preview appear here.
Unit reference: Dubai Customs HS unit list (HS_CODE_SUM, Jul 2026). Format reference: validated against a successful "Transfer within a FZ" upload on Dubai Trade (Mirsal 2), July 2026. Header line: "IH",invoice,date,"1","2",party,"7"," ",currency,total,incoterm,×6 empty · Item line: "ID",line,HS,description,"N",unit,qty,wtunit,weight,"","",value,origin,×5 empty. If Dubai Customs changes the spec, the generated file structure must be re-validated.