Signing the Egyptian e-invoice (CAdES-BES)
The issuer signs the invoice with a CAdES-BES signature over the hash of its serialization, using a certificate issued to it and held on a cryptographic device or an e-seal.
Invoice 1.0 has a signatures array: the issuer’s signature (I) required, a service provider’s (S) optional. The value is a Base64 CAdES-BES structure holding the signer certificate, the signed hash and the signature value. The issuer signs the whole document except the signatures; the provider signs the document plus the issuer’s signature; hashing is SHA-256.
The "Document Signature Creation" page hashes the UTF-8 bytes of the document’s canonical form, then adds the Base64 signature as a new element in the document. A signature is accepted when its certificate is valid on the submission date and issued to the invoice’s issuer (by registration number) or to an active representative.
The ETA’s electronic signature page carries documents for an "E-Seal Solution" and for "Cryptographic Hardware Devices", the list of signature service companies and the documents needed for a certificate. The pre-production environment uses internal certificates that must not be installed in production.
In JooDax
Not builtThe Egyptian B2B invoice signed with a cryptographic device (what the JooDax plan calls the "USB token") is planned for phase 7 and not built. The canonical serialization that precedes signing is built in the receipt module.
docs/COUNTRY-MATRIX.md
Related concepts
- E-invoice and e-receipt in Egypt: the differenceThe e-invoice is for business-to-business dealings and is digitally signed; the e-receipt is for consumer sales from a registered POS, chained by UUID.
- The ETA’s canonical serialization of a documentBefore hashing, the document becomes one line of text by fixed rules: field names upper-cased in quotes, values as they are, and the array name before each element.
E-receipts and e-invoices in Egypt
Sources
- Invoice v1.0 (v1.0) — Egyptian Tax Authority (ETA) – eInvoicing & eReceipt SDK
- Document Signature Creation — Egyptian Tax Authority (ETA) – eInvoicing & eReceipt SDK
- التوقيع الالكتروني (Electronic signature for the e-invoice) — Egyptian Tax Authority (ETA)
- FAQ (test environment setup and endpoints) — Egyptian Tax Authority (ETA) – eInvoicing & eReceipt SDK
Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.