Invoicing and E-Invoices
From sales order to AR invoice to ETA e-invoice: how invoices are created, validated, submitted, cancelled and credited in EGKits, including received invoices.
Invoicing and E-Invoices
Invoicing in EGKits is a chain rather than a single screen. Sales confirms an order or delivery, Accounts Receivable raises the invoice and posts the General Ledger journal, and, where the company has an ETA bridge enabled, the E-Invoices module (/ei, code einvoices) receives a draft, validates it, signs and submits it to the Egyptian Tax Authority. Incoming supplier invoices appear under Received Invoices (/received-invoices), a tab of the same module. This guide explains the chain, the e-invoice lifecycle and the controls to use every day.
#Prerequisites
| Requirement | How to verify |
|---|---|
| Sales, AR and E-Invoices enabled and granted | Cards visible; /ei/dashboard opens for the e-invoice role. |
| ETA bridge setting for the company | Enabled in System Configuration; without it, AR invoices post but no e-invoice draft is created. |
| Issuer and receiver tax data | Company tax registration; customers with tax ID, address and activity codes. |
| Item and tax code mapping | Items and taxes carry the codes the authority expects. |
| Signing set-up | USB token on a computer running the ETA Signing Agent, with the signing device registered. |
#The invoicing chain
A sale creates exactly one receivable. Sales asks the AR invoice factory for an invoice either when the order is confirmed or when a delivery is invoiced; the factory is idempotent on a key from the source (order, delivery or recurring period), so a replayed event or a second click can never raise a second invoice. When the AR invoice is Sent, the GL journal posts (debit AR control, credit revenue, credit tax liability) and the ETA draft is raised if the bridge is enabled. The draft carries the AR invoice number as its internal id and links back to the invoice. Use the Document flow action on a quotation, order or delivery to see the whole lineage.
- Confirm or deliver the sales order according to the tenant invoicing mode.
- Open the AR invoice in
/ar/invoicesand check lines, tax and customer data. - Send the invoice; verify the GL journal exists.
- Open the linked e-invoice in
/ei/invoicesand validate it. - Submit to ETA and track the result until Valid.
#E-invoice statuses and actions
Sent e-invoices move through Draft, Validated, Submitted, Valid, Invalid, Rejected and Cancelled. Draft, Validated and Invalid can be edited, deleted, validated or submitted; Submitted, Valid, Rejected and Cancelled are locked. A Valid invoice can be cancelled on ETA by the issuer inside the allowed window, can receive a credit note for the remaining amount at any time, and may have a recipient rejection that the issuer answers with Decline Rejection. Sync Status and ETA PDF need the authority UUID. All these rules come from one policy applied identically by the screens and the API; a disabled menu item always shows the reason.
| Action | Available when | Notes |
|---|---|---|
| Validate / Submit | Draft, Validated, Invalid | Same gate; resubmit from Invalid |
| Sync Status | ETA UUID present | Refreshes authority status |
| Cancel On Eta | Valid and inside the window | Issuer only; none pending |
| Create Credit Note | Valid and not fully credited | No cancel-window deadline |
| Decline Rejection | Rejection pending | Issuer answers recipient |
| Duplicate | Always | Creates a new draft |
#Automation, imports and exceptions
Auto-submit (/ei/auto-submit) sends validated invoices on a schedule. Imports (/ei/imports) bring in external documents, packages (/ei/packages) group submissions, and the duplicates page (/ei/duplicates) flags suspected repeated documents before they are sent. Errors (/ei/errors and /ei/errors/{id}) list authority refusals with the reason, and notifications (/ei/notifications) alert users. Tax analysis (/ei/tax-analysis) and reports (/ei/reports) support month-end reconciliation to GL tax accounts.
#Received invoices
Supplier invoices submitted to your tax registration appear in /received-invoices. Review each against the purchase order and goods receipt; use Reject Invoice only within the rejection window and when the invoice is Valid, or accept it and route it to Accounts Payable. If the supplier cancels, you may decline the cancellation within its window. Reports are at /received-invoices/reports.
#Month-end checks
Reconcile in three steps: AR invoices Sent equals e-invoices Valid plus those awaiting action; e-invoice tax totals equal the tax lines posted in GL; no Draft or Invalid e-invoices remain for the period. Keep the Signing Agent and ETA configuration under change control, and use the ETA technical guide for payload-level questions.
#Permissions
Separate permissions govern validate, submit, cancel, credit note, decline and delete. Auto-submit and ETA configuration should be administrator-only.
#Common errors
- Submit disabled: status is Submitted, Valid, Rejected or Cancelled, or the document is received-side.
- Cancel disabled: not Valid, window closed, or a cancellation or rejection is already pending.
- Decline Rejection disabled: no pending rejection, already declined, wrong side, or window closed.
- Sync or PDF disabled: the document has no ETA UUID yet.
- Invalid result: tax, item code or receiver data refused by the authority; read
/ei/errors.
#Troubleshooting
| Issue | Resolution |
|---|---|
| AR invoice has no e-invoice | The ETA bridge setting is off for that company; enable it and resend or create the draft as per policy. |
| Credit note rejected | Invoice is not Valid or already fully credited. |
| Totals differ between AR and ETA | Rounding or tax setup differs; compare line taxes on both documents. |
| Signature errors | Signing Agent offline or token certificate expired; see the Signing Agent guide. |