Ask anyone who has implemented Egyptian e-invoicing what caused the most rejections, and the answer is almost always item codes. The Egyptian Tax Authority wants every line on an e-invoice or e-receipt to identify the product or service with a code it recognises, linked to a standard classification. You can use international GS1 barcodes or the authority's own EGS codes. Choosing well, and managing the codes properly in your ERP, saves months of trouble.
FlexCode Middle East is part of FlexCode Systems GmbH, an Odoo Silver Partner. We implement Odoo, so Odoo is the system we describe, next to an honest look at the topic itself.
Key points
- Two code types. GS1 codes are global barcodes from GS1 Egypt; EGS codes are internal codes you register on the ETA portal.
- Both map to GPC. Every code is linked to a Global Product Classification brick that tells the ETA what the item is.
- Approval takes time. EGS codes must be approved on the portal before invoices using them are accepted.
- Store them on the product. In Odoo the ETA code lives on each product, so every invoice and receipt picks it up automatically.
Integrates with

Why item codes matter so much
An e-invoice is structured data, not a picture of an invoice. For the authority to use that data, it must know what each line is: a kilogram of cement, a laptop, an hour of consulting. Free-text descriptions vary from company to company, so the ETA asks for a code instead, and validates it when the document arrives. A missing, unapproved or wrong code is a rejection.
The code also links each line to a classification. That is how the authority can compare what similar companies sell and buy, spot unusual tax treatment and, over time, check that the VAT rate applied matches the kind of item.
If you are new to Egyptian e-invoicing, read our overview of ETA e-invoicing in Odoo first. Codes apply equally to B2C sales, covered in the e-receipt from Odoo Point of Sale.
GS1 and EGS side by side
GS1 is the international organisation behind the barcodes printed on retail products, the 13-digit GTIN numbers scanned at supermarket tills. GS1 Egypt issues these numbers to Egyptian companies for a fee. EGS stands for Egyptian Goods and Services codes: codes you create yourself, based on your own internal product codes, and register on the ETA portal.
| Point | GS1 | EGS |
|---|---|---|
| Who issues it | GS1 Egypt, for a fee | You, approved by the ETA |
| Format | Global GTIN number, usually 13 digits | EG, your tax registration number and your internal code |
| Best for | Branded retail products and exporters | Services, raw materials, custom and made-to-order items |
| Cost | Annual GS1 membership | No fee, but admin time for registration |
Most companies end up with a mix. A distributor might use the manufacturer's GS1 barcodes for branded goods it resells, and EGS codes for its own services such as delivery or installation. A manufacturer of industrial parts with thousands of variants usually relies on EGS for almost everything.
The GPC classification behind every code
Whichever code type you use, each code is linked to a GPC brick: a category in GS1's Global Product Classification, such as a specific type of beverage, a family of electrical components or a kind of professional service. When you register an EGS code you choose the brick; GS1 codes already carry one.
Choose bricks carefully and consistently. Using a vague or wrong brick may not cause an immediate rejection, but it makes your data look odd next to similar companies and can raise questions later, especially where tax rates differ between categories.

Registering EGS codes on the ETA portal
EGS codes are registered through the e-invoicing portal, either one at a time or in bulk with the authority's template. Each request goes through review, and an invoice that uses a code still pending approval will be rejected. Plan the registration before go-live and before launching new products.
- Export products from Odoo
- Assign EGS code and GPC brick
- Upload to the ETA portal
- Wait for approval
- Import approved codes into Odoo
Run this as a batch before go-live, then as a routine step whenever a product is created.
- Clean your product list first: merge duplicates, archive items you no longer sell and fix units of measure.
- Decide which products use GS1 and which use EGS, and record the decision on the product category.
- Build EGS codes from stable internal references, never from names that might change.
- Upload in batches, track which are approved, and only switch products to live invoicing once approved.
- Add a step to your new product process: no sale until the code is approved.
Managing codes in Odoo
Odoo's Egyptian e-invoicing module adds an ETA item code field to products. When an invoice is sent, Odoo reads the code from each product line, together with the unit of measure mapped to the ETA's unit codes. If the field is empty, the invoice cannot be submitted, which is a useful safety net.
- Keep the barcode field for the physical GS1 barcode used in the warehouse and at the till, and the ETA code field for the code sent to the authority. They are often the same for GS1 items and different for EGS items.
- Map every unit of measure you use, such as pieces, kilograms, metres, boxes and hours, to the ETA unit code.
- Give services a product record with a code too. Free-text lines without a product are a common reason for rejection.
- Create a filter for products without an ETA code and review it weekly.
- Restrict who can create products, so codes are added at creation rather than discovered at invoicing.
Clean product data pays off far beyond e-invoicing: stock counts, purchasing and reporting all depend on it. Our guide to barcode scanning in the Odoo warehouse shows how the same codes speed up receipts and picking, and the Egypt VAT return guide explains how rejected lines show up in your monthly reconciliation.
Mistakes we see most often
- Sending invoices before EGS codes are approved.
- Using one generic code for many different products.
- Choosing GPC bricks that do not match the product.
- Changing internal references after registration, so the code in Odoo no longer matches the portal.
- Unit of measure mismatches, such as invoicing in boxes when the code was registered in pieces.
None of these are technical problems. They are data discipline problems, and they are solved by deciding who owns product data and giving them a simple checklist.
FlexCode prepares your product data for the ETA
We clean your products, assign GS1 or EGS codes and GPC bricks, run the bulk registration and load approved codes into Odoo.
Frequently asked questions
Do I need GS1 codes for Egyptian e-invoicing?
No. You can use GS1 codes or EGS codes registered on the ETA portal. Many companies use both.
What is an EGS code?
An internal product or service code, prefixed with EG and your tax registration number, registered and approved on the ETA portal and linked to a GPC brick.
How long does EGS approval take?
It varies. Register codes well before go-live and before launching new products, and do not invoice with codes still under review.
Do services need codes too?
Yes. Every invoice line needs a code, including services, delivery charges and installation.
Where does Odoo store the ETA code?
On the product, in the field added by the Egyptian e-invoicing module, separate from the warehouse barcode.
Talk to us about how Odoo fits your business. Book a free call
Sources
This article explains the rules in general terms and is not tax or legal advice. Check the details for your company with your tax adviser.
Run invoicing, stock and accounts from one system.
FlexCode Middle East implements Odoo in Arabic and English for companies in Egypt, Saudi Arabia and the UAE.