Türkiye e-Invoice (e-Fatura, e-Arşiv) via Integrator API for Odoo

e-Fatura and e-Arşiv from Odoo, through your integrator

What Türkiye e-Invoice (e-Fatura, e-Arşiv) via Integrator API does

Send UBL-TR 1.2 invoices to GİB through a special integrator, route each customer to e-Fatura or e-Arşiv with the GİB registry, follow every status and turn incoming e-invoices into vendor bills.

Send e-Fatura and e-Arşiv invoices in UBL-TR 1.2 through your special integrator (Nilvera adapter, test/production switch): GİB taxpayer lookup by VKN/TCKN with automatic e-Fatura / e-Arşiv routing, withholding (tevkifat), exemption (istisna), export (ihracat) and return (iade) invoices, status polling, rejection handling, incoming e-invoices as vendor bills with accept/reject answers, GİB-style PDF with QR code, job queue with retries.

  • e-Fatura
  • e-Arşiv
  • Export
  • Withholding
  • Incoming bills

Features

  • e-Fatura and e-Arşiv

    TEMELFATURA, TICARIFATURA, EARSIVFATURA and IHRACAT in UBL-TR 1.2 with signature block, mailboxes and 16-character GİB numbers per series and year.

  • Registry lookup and routing

    VKN / TCKN checksum, GİB registry check with mailboxes, re-check before every send and a daily refresh, so a customer who registers for e-Fatura is never sent an e-Arşiv.

  • All invoice types

    Sale, withholding (tevkifat 601-627), exemption (istisna), export-registered, returns to suppliers (IADE) and withholding returns, from your Odoo taxes.

  • Export invoices

    Customs party, foreign buyer, GTİP per product, incoterm, transport mode and the exchange rate for foreign currencies.

  • Status and rejections

    Status polling, GİB envelope codes, buyer answers of commercial invoices, activities on errors and rejections, e-Arşiv cancellation through the integrator.

  • Incoming e-invoices

    Vendor bills with lines, taxes, UBL file and PDF; returns become credit notes linked to your original invoice; accept or reject within 8 days.

  • Print, QR and XSLT

    GİB-style PDF with QR code, amount in words, embedded XSLT layout and an in-Odoo preview of the file.

  • Built to run unattended

    Idempotent job queue with retry, backoff, rate-limit handling and dead letters; delivered e-invoices are locked against reset to draft.

  • Safe for teams

    User and administrator roles, API key visible to administrators only, one connection per company with multi-company rules.

How it works, step by step

  1. 01Connect your integrator

    Türkiye e-Invoice > Configuration > Setup wizard. Choose the integrator (Nilvera first), the Test or Production environment and paste the API key from the integrator portal. Test connection reads your remaining credits and checks your own tax number in the GİB registry.

    Türkiye e-Invoice (e-Fatura, e-Arşiv) via Integrator API: Connect your integrator
  2. 02Numbering and tax mapping

    Set the 3-character series (EFA2026000000001), the default e-Fatura scenario and the purchase journal. Then map every tax to its place in the UBL-TR file: VAT 0015, other tax types, withholding codes 6xx or exemption reasons.

    Türkiye e-Invoice (e-Fatura, e-Arşiv) via Integrator API: Numbering and tax mapping
  3. 03One overview for the whole flow

    To send, waiting for GİB, accepted, errors, rejected by the buyer and incoming invoices to answer, each one click away. Retrying jobs, dead letters, credits and the last import are on the card.

    Türkiye e-Invoice (e-Fatura, e-Arşiv) via Integrator API: One overview for the whole flow
  4. 04GİB registry lookup by VKN / TCKN

    Check GİB registry on a customer asks the integrator whether the tax number is an e-Fatura taxpayer and stores its mailboxes (posta kutusu). The checksum of VKN and TCKN is checked first. Fill address from registry completes the tax office and address.

  5. 05Pre-send check on every invoice

    The e-Invoice tab picks the scenario (e-Fatura, e-Arşiv or export) from the registry and the invoice type (sale, withholding, exemption, return) from the taxes, then lists everything GİB would refuse: tax office, identity, mailbox, tax codes, GTİP, incoterm, return reference.

  6. 06Send to GİB

    Send to GİB re-checks the registry, gives the invoice its ETTN and GİB number, writes the UBL-TR 1.2 file and hands it to the integrator. Here an export (IHRACAT) invoice goes to the customs mailbox, with the buyer, GTİP codes, incoterm and exchange rate.

  7. 07Preview the e-invoice

    The file carries a print layout (XSLT), so the receiver sees the same document. e-Invoice preview renders it inside Odoo before and after sending.

  8. 08Every status at a glance

    Outgoing e-invoices show the GİB number and status: queued, sent, accepted, approved or rejected by the buyer, error, cancelled. Status is read every 30 minutes or with Refresh GİB status.

  9. 09Withholding (tevkifat)

    Taxes mapped to a withholding code (here 609, 7/10) make a TEVKIFAT invoice with the withheld VAT in its own block. Exemptions (istisna) and export-registered sales work the same way.

  10. 10Errors come back with the GİB reason

    If the integrator or GİB refuses a document, the invoice shows the reason and gets an activity. Fix the data and click Fix and resend: same number, new ETTN.

  11. 11Commercial invoice rejected by the buyer

    A TICARIFATURA buyer has 8 days to accept or reject. A rejection is shown on the invoice with the buyer note and an activity for the salesperson.

  12. 12GİB-style print with QR code

    e-Fatura / e-Arşiv print: scenario, type, number, ETTN, tax office, VAT and withholding breakdown, amount in words and the QR code with the GİB data set.

Questions about Türkiye e-Invoice (e-Fatura, e-Arşiv) via Integrator API

Which integrator does it support?

Nilvera, with its test and production platforms. The connection is built as an adapter, so other special integrators can be added; ask us if you use another one.

Does it work on Odoo Community?

Yes. It needs Invoicing and the Turkish localisation (l10n_tr), both in Community. It also runs on Enterprise.

Can it run next to the Odoo Nilvera modules?

It uses its own fields and menus. Use one of the two to send a given invoice, not both.

How is e-Fatura or e-Arşiv chosen?

From the GİB registry: e-Fatura taxpayers get e-Fatura (basic or commercial), everyone else e-Arşiv; foreign customers with an incoterm get an export invoice. You can override it per invoice before sending.

What if a customer registers for e-Fatura?

The registry is checked again before sending when the last check is older than the hours you set, and refreshed daily for active customers.

Is a sent invoice locked?

Yes. Reset to draft is blocked once an e-invoice is queued, sent or accepted. Cancel e-Arşiv through the integrator, or record an e-Fatura cancellation made outside GİB.

Are the GİB codes up to date?

The tables ship with the common tax type, withholding and exemption codes and can be edited when GİB publishes changes. Have your accountant review them before going live.

Is there a trial mode?

The offline simulator answers like an integrator without sending anything, for training and demos. The integrator Test environment is the next step.

All Odoo apps

Related Odoo apps

Tell us which systems disagree. We will fix that.

Thirty minutes with an engineer, not a salesperson. You leave with a map of what you run, what to connect first and a price range, whether or not you hire us.