8:00 AM – 6:00 PM +20 106 357 8846 [email protected]
Tax compliance

Egyptian e-invoicing — what your data needs first

Most e-invoicing integration problems are not software problems. They are unprepared data inside the accounting system. This guide covers what has to be fixed before integrating.

Electronic invoicing in Egypt has moved from optional to a condition of doing business: an invoice that was never submitted is not accepted as a deductible expense document by the buyer — which means companies now press their own suppliers to comply before any authority does.

Scope of this page

This is a technical explanation of the requirements and of how to prepare ERP data for them. The requirements and mandate dates are set by the Egyptian Tax Authority and change over time, so always check the official source for the current version before making a decision.

A data document, not an invoice image

The most common misunderstanding is that electronic invoicing means emailing a PDF. In reality the system receives a structured data document describing the invoice field by field — seller, buyer, and each line with its code, unit, price and tax — which is digitally signed and submitted, after which a unique identifier and a status are returned: accepted, or rejected with a reason.

This has a practical consequence: a system that prints a handsome invoice but does not hold structured line-level data cannot submit, no matter what modules are added later. Readiness begins with data structure.

Four questions that decide your readiness

1. Does every item have a standard code?

Free-text descriptions are not accepted. Each item needs a code from an approved coding scheme — either a GS1 code or a code from the authority's item catalogue. Companies that identify items by free text or by unmapped internal codes face a manual coding exercise across thousands of items.

Start early: add a field for the approved code on the item master, and code the fastest-moving items first rather than working alphabetically.

2. Are units of measure approved?

Units must come from an approved list. "Carton", "sack" and "bundle" are common in warehouses but are not standard units, and each needs mapping to an approved unit with a conversion factor.

3. Is customer tax data complete?

A B2B invoice requires the buyer's tax registration number and registration type. Any business customer without one in the database means an invoice that will be rejected. This is the point that surprises companies most, because the customer record historically held little more than a name and a phone number.

4. Is tax calculated per line?

Many older systems apply tax as a percentage of the invoice total. The system requires tax type and amount to be determined per line, because a single invoice may contain items at different rates or exempt items. A system that does not store tax at line level needs a data-structure change, not a change to the print layout.

E-receipts are a different problem

E-receipts cover sales to end consumers at points of sale. The data is simpler because the buyer is not tax-registered, but the challenge differs: volume and continuity. A retailer issuing thousands of receipts a day cannot stop selling because the connection dropped.

The workable design is a submission queue: the receipt is recorded locally and handed to the customer immediately, then transmitted in the background with retry on failure. Any design that makes the sale depend on a real-time response is not viable in practice.

What we do at this stage

  • A readiness review of item, customer and tax data in your current system, quantifying the gaps — how many items lack a code, how many customers lack a tax number.
  • Structuring invoice data inside Keystone ERP so that tax, item codes and units are held at line level in the form the system requires.
  • Item coding and mapping to approved codes.

Honest scope note

The direct submission connector to the Tax Authority — unique identifier generation, digital signing, submission and status tracking — is on the product roadmap and is not a shipped feature today. What we provide at this stage is data and invoicing structure preparation. Please contact us for the current status and availability before building a decision on it.

A recurring mistake: integrating before cleaning

Companies that start with technical integration before cleaning their data enter an exhausting loop: submit a batch, most are rejected, correct manually, resubmit, repeat daily. The real cost is not development — it is the finance team's hours.

The cheaper order is the reverse: fix codes, units and customer tax data first, after which integration becomes a relatively short technical step.

FAQ

About the system

What is the difference between an e-invoice and an e-receipt?

An e-invoice covers transactions between registered businesses (B2B) and carries the buyer's full tax registration details. An e-receipt covers sales to end consumers (B2C) at points of sale, and its data is simpler because the buyer is not tax-registered. They are separate systems with separate requirements.

Is producing a PDF invoice enough?

No. The system does not process an image of an invoice but a structured data document that is digitally signed and submitted, after which a unique identifier and an accepted or rejected status are returned. A printed invoice or PDF is a presentation output and does not substitute for submission.

What data must be ready before integrating?

A standard code for every item, an approved unit of measure per item, tax registration numbers for business customers, the entity's activity code, and tax determined at invoice line level rather than on the invoice total. Missing any of these causes rejection at submission.

Start with a readiness review

We assess item, customer and tax data in your current system and hand you a gap report before any commitment.