Check the HTTP status
A 200 means JoFotara received and processed the request. For any other code, see the HTTP status codes section below.
Guides · Jordan e-invoicing
Look up the status, HTTP code or error message that Jordan's national e-invoicing API, JoFotara, sent back to your software. Each entry gives its meaning, what to check, the fix and whether to resend. Headings repeat each message exactly as ISTD's guide prints it, typos included, so your browser's find-in-page lands on it.
JoFotara rejects an invoice when it finds an error in the invoice data or in the integration setup. The response then carries NOT_SUBMITTED and names the reason in an error message. The most common rejection messages in ISTD's guide point to a grand total that does not match the line arithmetic, an invoice type that does not match the taxpayer's registration or a missing buyer name. Two lines sharing an ID, or a tax category that does not fit a zero rate, also cause rejections. An HTTP 403 or 500 points to the credentials, the registration or a tax rate the system does not accept. A 504 means the connection to JoFotara failed, so resend with the same ID and UUID.
Published and reviewed on
By BarmajTek
Checked by BarmajTek against version 1.5 of the technical integration guide, which Jordan's Income and Sales Tax Department (ISTD) issued with the date 12 May 2026. This is an educational reference by BarmajTek, not an ISTD document.
Change log
Reading the response
A 200 means JoFotara received and processed the request. For any other code, see the HTTP status codes section below.
EINV_STATUS holds the invoice's final state: SUBMITTED, ALREADY_SUBMITTED or NOT_SUBMITTED. ISTD tells integrators to rely on this field, not on the HTTP status alone.
On NOT_SUBMITTED, read EINV_RESULTS.ERRORS[].EINV_MESSAGE and search for it on this page. Trim whitespace before you compare strings: in ISTD's own sample the message ends with a space and status reads " ERROR ". Match on a distinctive fragment rather than the whole string, so a changed full stop or capital letter does not break your lookup.
Error reference
Meanings come from pages 97 to 104 of ISTD's guide, and every string is quoted exactly as the guide prints it. What to check, how to fix it and who usually fixes it are our advice, built from the guide's own rules. Each entry lists its source pages.
| Message or code | Where it appears | Who fixes it | Resend? |
|---|---|---|---|
| SUBMITTED | EINV_STATUS | Nobody | No |
| ALREADY_SUBMITTED | EINV_STATUS | Nobody | No |
| NOT_SUBMITTED | EINV_STATUS | Depends on the message | After the fix, same ID and UUID |
| 200 | HTTP status | Nobody | No, read EINV_STATUS |
| 400 Bad Request | HTTP status | Depends on the message | After the fix |
| 403 Forbidden | HTTP status | Whoever manages the integration settings | After fixing the keys |
| 500 Internal Server Error | HTTP status | Account owner with the accountant | After fixing the data |
| 504 Gateway Timeout | HTTP status | Network administrator | Yes, same ID and UUID |
| Total General Amount is Not Correct | EINV_MESSAGE | Integration developer | After the fix |
| This user is not authorized to submit this type of invoice | EINV_MESSAGE | Accountant, then the integration developer | After the fix |
| Bayer name is missing | EINV_MESSAGE | Whoever records the sale | After the fix |
| The ID number must be unique | EINV_MESSAGE | Integration developer | After the fix |
| General tax percentage must be zero | EINV_MESSAGE | Accountant, then the integration developer | After the fix |
| BuyerTaxNumber: The buyer's taxpayer number is not associated with the developmental arear | EINV_MESSAGE | Accountant with the buyer | After the fix |
| Postal code length is incorrect | EINV_MESSAGE | Whoever records the sale | After the fix |
| Invalid Invoice Minification | EINV_MESSAGE | Integration developer | After the fix |
| Complied with UBL 2.1 standards | INFO | Nobody | No |
Every response carries one of three values that decide the invoice's fate (pages 98 to 100).
SUBMITTEDEINV_STATUS.EINV_QR, the invoice number in EINV_NUM and its UUID in EINV_INV_UUID.EINV_QR holds a QR code. ISTD treats it as part of a completed, accepted submission.EINV_STATUS, and print the QR code on the seller's invoice, as the guide requires.ALREADY_SUBMITTEDEINV_STATUS.ID and UUID reached JoFotara before, so the response returns the QR code of that earlier submission. The guide calls it an invoice "approved previously".NOT_SUBMITTEDEINV_STATUS.EINV_QR, EINV_NUM, EINV_INV_UUID and EINV_SINGED_INVOICE are null. (ISTD spells the signed-invoice field that way.)EINV_RESULTS.ERRORS. Each item has EINV_CODE, EINV_CATEGORY and EINV_MESSAGE; look the message up below. Two traps in the guide: the rejected-invoice sample on page 100 sits under a heading that says ALREADY_SUBMITTED by mistake, and its status value is padded with spaces (" ERROR ").ID and UUID, following ISTD's rule for resending after a failed send (guideline 3, page 104). Do not resend automatically before the fix: the problem is in the data, not the connection. For that reason our own module never resends a rejected invoice by itself.The HTTP status tells you how the call itself went. ISTD lists the common values on page 101.
200EINV_STATUS to learn whether the invoice was accepted; ISTD says not to rely on the status code alone.400 Bad RequestEINV_MESSAGE.EINV_MESSAGE in the response says which.EINV_MESSAGE text in the error messages section below. ISTD recommends checking totals, taxes, the taxpayer number, the buyer number and mandatory fields before sending, to cut down on these errors.ID and UUID.403 ForbiddenClient-Id and Secret-Key, as in ISTD's example.ID and UUID. Resending with the same wrong values returns the same error.500 Internal Server ErrorID and UUID.504 Gateway TimeoutTimout Getway : 504.backend.jofotara.gov.jo over HTTPS and that no firewall rule blocks it.ID and UUID, without generating a new UUID, as ISTD requires. If the first attempt did arrive, you get ALREADY_SUBMITTED with the QR code.ISTD lists these as the most common messages that come with a 400 (pages 101 and 102). Each heading is the exact string, so ISTD's typos stay: Bayer for Buyer, arear for area.
Total General Amount is Not CorrectEINV_MESSAGE in ERRORS. In ISTD's sample its EINV_CODE is totalGeneralTaxesAmount and its category invoice.RoundingAmount) = line amount + line tax. In the header, TaxExclusiveAmount = Σ(quantity × unit price), AllowanceTotalAmount = Σ line discounts, TaxInclusiveAmount and PayableAmount = Σ RoundingAmount, and on a general sales invoice the header TaxAmount = Σ line tax. JoFotara does not accept an invoice-level discount, so spread it over the lines before sending, and send discounts as positive values. Rounding to 3 decimals (up to 9) is allowed as long as the difference stays within 0.001. Special sales invoices add the special tax to these formulas, from page 64.ID and UUID.This user is not authorized to submit this type of invoiceEINV_MESSAGE in ERRORS.name attribute of InvoiceTypeCode: 1 is an income invoice, 2 a general sales invoice, 3 a special sales invoice. Then compare it with the registration: businesses not registered for sales tax issue income invoices, registered ones issue sales invoices, and those registered for special sales tax issue special sales invoices.ID and UUID.Bayer name is missingEINV_MESSAGE in ERRORS. "Bayer" is ISTD's spelling.RegistrationName in the buyer block (AccountingCustomerParty), and the middle digit of the invoice type code, where 2 means a credit invoice.ID and UUID.The ID number must be uniqueEINV_MESSAGE in ERRORS.ID (ISTD's example: the first line has ID 1 and so does the second), so the invoice is not issued. A line ID must be unique within the invoice.cbc:ID values of the InvoiceLine elements.ID and UUID.General tax percentage must be zeroEINV_MESSAGE in ERRORS.ID and UUID.BuyerTaxNumber: The buyer's taxpayer number is not associated with the developmental arearEINV_MESSAGE in ERRORS. "arear" is ISTD's spelling.PartyIdentification with schemeID="TN".ID and UUID.Postal code length is incorrectEINV_MESSAGE in ERRORS.PostalZone in the buyer's address. ISTD's template marks it as optional.ID and UUID.Invalid Invoice MinificationEINV_MESSAGE in ERRORS.<Invoice> tag with its four namespace declarations (Invoice-2, cac, cbc and ext).ID and UUID.JoFotara also returns a message in the INFO list that signals neither acceptance nor rejection (pages 98 to 100).
Complied with UBL 2.1 standardsEINV_MESSAGE in INFO, with EINV_CODE XSD_VALID and category XSD validation.EINV_STATUS for the outcome.Download
The seventeen messages and codes on this page are also available as one UTF-8 CSV file. Load it into your software or map your own error handling to it. Each row has the exact string, its meaning, what to check and the fix in Arabic and English, the guide pages and a link to its entry here. The file's modified date changes only when its rows change.
Download the JoFotara error table (CSV)
id | The entry's anchor on this page, stable for good |
|---|---|
code_or_string | The exact string the guide prints, typos kept and trailing spaces trimmed |
kind | One of einv_status, http_status, einv_message or einv_info |
http_status | The HTTP status where the guide ties one to the entry, otherwise empty |
einv_code | Only where the guide prints it, otherwise empty |
einv_category | Only where the guide prints it, otherwise empty |
meaning_ar, meaning_en | What the entry means, in Arabic and in English |
check_ar, check_en | What to check, in Arabic and in English |
fix_ar, fix_en | The fix, in Arabic and in English |
resend_ar, resend_en | Whether to resend, in Arabic and in English |
fixed_by_ar, fixed_by_en | Who usually fixes it, in Arabic and in English |
guide_pages | Printed page numbers of guide v1.5, separated by semicolons |
guide_version | The guide version, 1.5 |
checked_on | The date we checked the entry against the guide |
url_ar, url_en | The link to the entry on the Arabic and on the English page |
All rights reserved by BarmajTek. You may link to the file.
How to cite the table:BarmajTek. JoFotara error table (Jordan national e-invoicing), checked against ISTD's technical guide v1.5 on 4 November 2026. https://barmajtek.com/en/guides/jofotara/errors
Pages 101 and 102 of ISTD's guide list "the most common" errors, not everything JoFotara can return, and the guide gives no example of a WARNINGS entry. If you get another message, log the full response with its code and category, and show staff a short reason, as ISTD recommends. Then ask ISTD's technical support committee for invoicing through istd.gov.jo (opens in a new tab), which is where the guide sends questions. You can also send us the message text (opens in a new tab), with your customers' data removed.
Your software can catch most errors above before it calls JoFotara. ISTD recommends checking totals, taxes, taxpayer and buyer numbers and mandatory fields before sending. Here are the checks we recommend. The JoFotara module we built on guide v1.5 runs most of them before any network call and gives each failure an Arabic and English message. It also builds the totals and the opening tag by the guide's own rules:
The rules on this page apply to every system that submits to JoFotara, wherever its developer sits. The Client ID and Secret Key come from your client's own JoFotara account, after the client links a device. Agree with your client how you will use them for test runs before you start. ISTD's guide v1.5 publishes one submission address, https://backend.jofotara.gov.jo/core/invoices/, and no separate test address.
This is an educational reference. It does not replace ISTD's guide or an answer from ISTD, and where they differ, ISTD is right. It is built from the guide, not from a log of our own rejected invoices. It is not tax advice either: your accountant or ISTD decides which invoice type fits your business and which rates apply to what you sell. We review this page when ISTD issues a new version of the guide and record each review in the change log. For the full checklist, read what to prepare before you connect: a checklist.
If your system stalls on every rejection, we build it a JoFotara connection that checks each invoice before sending and keeps the full response. 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.