Skip to content

Services · JoFotara integration

We connect your billing system to JoFotara, Jordan's national e-invoicing system

The integration sends every invoice from your accounting software, point of sale or online store to JoFotara in Jordan. It prints the QR code JoFotara returns on your customer's copy. When JoFotara rejects an invoice, your staff see the reason on a single screen, fix it and send it again without creating a duplicate.

The service fits a business whose invoices come from a system that does not submit to JoFotara yet, or that stalls on rejections and duplicates. It also fits a software company whose customers in Jordan can use its product only once it submits to JoFotara. Either way, we add a submission module and one screen for rejected invoices to the existing system, and your team keeps working in the system it knows. We build to version 1.5 of the technical integration guide that ISTD, Jordan's Income and Sales Tax Department, publishes in Arabic. Each integration is quoted in writing after we have seen the system and sample invoices.

Reviewed on

Change log

  • : Rewritten against version 1.5 of ISTD's technical guide, issued 12 May 2026. Added JoFotara's common responses, the acceptance test plan, the preparation checklist and the documents table.
  • : First published.

Scope

Systems we connect to JoFotara

  • Accounting software or ERP

    We read each invoice from the database or API the moment it is issued and submit it before printing. The QR code is then on your customer's copy.

  • Point of sale

    The receipt waits for JoFotara's answer, then prints with the QR code. Before we build, we agree with you on what the point of sale does when the connection drops, so nobody is left waiting at the counter.

  • Online store

    On WooCommerce or a custom store, we submit the invoice when an order completes. When you refund, we submit a return invoice linked to the original, as the guide requires.

  • A system built for you

    In a system built for a school, training center or field-service company, we tie each invoice to the event that triggers it. Examples are a fee installment received or a work order closed.

How it runs

From the first conversation to the first accepted invoice

  1. A free first conversation

    Tell us through the project form or WhatsApp which system issues your invoices and which invoice types you issue. In that conversation we tell you whether the integration is feasible on that system. If its vendor already offers JoFotara submission, you may only need to switch it on.

  2. System review and what we need from you

    We review how your system builds an invoice against the preparation checklist below these steps. First on that list is access to the system through its database, its API or its developer. Next come your tax number and income source sequence (the number of the business activity that issues the invoices).

  3. A written quote

    The quote names the invoice types we connect, the screens we build, the price and the timeline. Work starts when you approve it, and any later change in scope goes into a revised quote before we build it.

  4. Link a device on the JoFotara portal

    The taxpayer, or a sub-user the taxpayer adds, signs in to the portal and opens ربط الأجهزة (device linking), then ربط جديد (new link). They enter a user name, pick the income source sequence and press إضافة (add). The portal then generates the Client ID and Secret Key. Enter both in the system settings yourself or with us on a call, and never send them in a message. Our guide to linking a device and getting the Client ID and Secret Key sets out these steps in detail. If you are not registered on the invoicing system yet, start with ISTD's joining procedures guide (opens in a new tab).

  5. Build and test

    We build the submission module and the rejected-invoices screen. Before anything is sent from your account, we test every invoice type you issue against the guide's examples.

  6. Acceptance testing on your account

    ISTD's guide publishes no address for a public test environment, so acceptance testing runs on your account with real invoices your accountant agrees to. We confirm that one invoice of each type you issue is accepted, and that your staff can fix a rejected invoice from the screen. Then we cut the connection on purpose after sending and check that JoFotara returns the same invoice rather than creating a second one. Finally, we scan a QR code in the Sanad app and match it against the invoice.

  7. Handover and training

    We train the person who handles rejected invoices on the screen. We also hand over a written note of what the integration stores for each invoice and where the submission log lives.

Preparation checklist

What to have ready before the system review

  • The name of the system that issues your invoices, and our way into it (its database, its API or its developer).
  • How many systems issue invoices, if there is more than one.
  • One sample of each invoice type you issue, cash and credit, returns included.
  • Your tax number, and the income source sequence of each business activity that issues invoices.
  • Whether you have registered on the national invoicing system and linked a device on the portal.
  • An accountant who confirms the invoice type and tax rate for each case.
  • Real invoices your accountant agrees to send during acceptance testing.
  • The person who will handle rejected invoices after launch.

For a wider readiness plan, from cleaning your data to corrections and reconciliation, read Jordan's national e-invoicing system for business owners.

What can go wrong

JoFotara's common responses and what the integration does

Meanings from ISTD's technical integration guide, version 1.5, pages 97 to 101. Error messages are quoted as the guide prints them, and status codes carry their standard HTTP names.

  1. 403 Forbidden

    The Client ID or Secret Key is wrong. The integration stops sending and asks an admin to copy both again from the device-linking screen. Retrying with the same values gets the same answer.

  2. 500 Internal Server Error

    This usually means a wrong tax number or income source sequence, and less often a wrong Client ID or Secret Key. It can also mean a tax rate ISTD does not accept. The integration treats it as a setup error for your accountant and admin, and does not retry on its own.

  3. 400 Bad Request

    EINV_MESSAGE names the wrong value in the invoice. "Total General Amount is Not Correct" means a totals calculation is off, and "The ID number must be unique" means two lines share an item ID. "Bayer name is missing" (ISTD's spelling) means the buyer's name is absent. The name is required on credit invoices and on cash invoices over 10,000 JOD or the equivalent in another currency. Your staff fix the source from the rejection screen and resend the invoice with the same ID and UUID.

  4. This user is not authorized to submit this type of invoice

    The invoice type does not match your registration, for example an income invoice from a taxpayer registered for general sales tax. We settle the type for each case with your accountant during the build and test it in acceptance testing.

  5. 504 Gateway Timeout

    JoFotara could not be reached, either because your firewall blocked the call or because of a problem on the national system's main site. The invoice stays in the queue, and the integration resends it with the same ID and UUID once the connection is back.

  6. ALREADY_SUBMITTED

    The same invoice, with the same ID and UUID, arrived earlier. If you could not store the QR code on the first send, the guide lets you recover it this way. The integration treats the invoice as accepted and saves the code.

What the integration covers

ISTD's guide defines six documents: the income invoice, the general sales invoice and the special sales invoice, each with its return, on cash or on credit. Each comes in variants such as local, export and development-zone invoices, and we connect the ones you actually issue. For each invoice the integration stores what the guide asks you to keep: ID, UUID, QR code and EINV_STATUS. It prints the QR code on your invoice and writes every send, response and resend to an audit log. It also keeps the item ID of every line, because a return invoice matches returned items by it.

The three invoice types and their returns in ISTD's technical guide, version 1.5 (pages 10, 23, 32 and 65)
DocumentWho issues itTax on the invoiceReturn document
Income invoiceA taxpayer not registered for sales taxNo sales taxIncome return invoice
General sales invoiceA taxpayer registered for general sales taxGeneral sales taxGeneral sales return invoice
Special sales invoiceA taxpayer registered for special taxSpecial tax, then general sales tax on the amount including the special taxSpecial sales return invoice

A return invoice is a credit note against the original. It returns quantities only, never more than the quantity sold, and you can send several returns against one invoice until its quantities run out.

How we stop duplicate invoices

JoFotara identifies an invoice by its ID and UUID together. The guide warns that many systems generate the UUID automatically and, if they do not store it, can create a duplicate when they resend. Our integration stores the UUID on the first attempt and reuses it on every resend. As the guide advises, it reads EINV_STATUS in the response before treating an invoice as accepted. When JoFotara rejects an invoice for bad data, the integration stops resending it until your staff correct it.

How much does it cost?

Each integration is quoted in writing, and this service has no fixed packages. The price depends on how many invoice types you issue and how many systems issue them. It also depends on how we can reach your system and which screens your team needs for rejected invoices. No sales tax is added.

Clinics on ClinicTek

If your clinic runs on ClinicTek, the invoice comes from the visit inside the system. ClinicTek invoices are ready to be linked to the national invoicing system, with official activation subject to ISTD's requirements. The page on clinic invoicing through JoFotara walks through that path. This service is for businesses whose invoices come from another system.

Where the service stops

Your accountant decides the invoice type and tax rate, and signing in to the JoFotara portal stays with the taxpayer or a sub-user the taxpayer adds. Work beyond the integration, such as redesigning a point of sale or moving data out of an old system, goes into a separate quote. Our separate integrations service covers payment gateways, delivery companies and other systems. It is quoted on its own. If the review shows invoices are built in two systems, we agree on one source with you before the first submission.

A taxpayer registered only for income tax issues income invoices, which carry no sales tax. A taxpayer registered for general sales tax issues general sales invoices, and one registered for special sales tax issues special sales invoices. JoFotara rejects a type that does not match your registration, and your accountant confirms the right one.

Get a quote to connect your system to JoFotara

In the project form, name the system that issues your invoices, the invoice types you issue and whether a device is already linked on the portal. The first conversation is free, and the quote comes in writing before any work starts.

The message ends with a short code that shows the page where your visit started and how you reached it. It carries nothing about who you are, and you can delete it before sending.