Skip to content
العربيةLet’s talk

Practical guide

How can you verify that JoFotara accepted an Odoo invoice in Jordan?

Check the JoFotara response and scan the invoice QR code in Sanad. See what to do when Odoo shows a timeout or the invoice was already submitted.

Lava Solutions · · 3 minute read

A green pencil rests on a squared notebook beside a calculator and glasses.
Illustrative stock photo. Photo: Cht Gsml / Unsplash.

A customer asks for the QR code on an invoice you posted in Odoo. Open the PDF for that invoice and scan its code with Jordan’s Sanad app. Compare the invoice number, seller and total that Sanad shows with the posted invoice. If the code is missing or the details differ, keep the case open. A posted entry tells you what is in your books. JoFotara supplies the evidence of what the national system received.

Start with one invoice you have already issued

Ask the accountant to choose an invoice the business already tried to send in its normal billing workflow. Record its number, date, seller, total and the time of the original send attempt. If your company operates several branches, use the issuing company’s invoice and PDF. You can review this evidence without sending another invoice to the tax department.

In the standard Odoo 20 Jordan integration, the sending option on a posted invoice is JoFotara (Jordan EDI). Open the invoice’s Other Info tab to read JoFotara State. If you are investigating several invoices, you can display that field and JoFotara Error in the invoice list. Record what you see before making a change. Odoo allows the state to be adjusted manually after a technical problem, so the label alone cannot resolve a disagreement with the PDF.

Match the national response to the same document

If the evidence is unclear, ask the person responsible for the integration to check the response from JoFotara. The Income and Sales Tax Department’s technical guide distinguishes a successful connection from the outcome for the invoice. HTTP 200 tells you the request was processed. The field EINV_STATUS tells you how the national system treated it.

  • SUBMITTED. The system accepted the invoice. Match the returned invoice number and unique identifier (UUID) to the original submission. Check that EINV_QR is present and the seller’s PDF carries the returned code.
  • ALREADY_SUBMITTED. The system recognizes the same invoice ID and UUID and returns the original QR code. Reconcile that code with the existing invoice. Creating a new invoice number would break the link you are trying to verify.
  • NOT_SUBMITTED. The system reports an error. Give the relevant error message and invoice reference to the person responsible for the correction. Keep the case open until you can verify the outcome.

Use the copy the customer would receive

Open the PDF intended for the customer. In Sanad, go to More, choose Validate document and scan the code. Compare the invoice number, date, seller, gross total and tax shown by Sanad with the PDF and the Odoo entry. If the code is valid but identifies a different invoice, set that PDF aside and investigate which attachment was selected.

Fictional example. A wholesaler’s invoice 1048 totals JOD 116. After a timeout, the accountant sees an uncertain sending state. The integration lead finds a response for the same number and UUID marked ALREADY_SUBMITTED. The accountant checks the returned code against the PDF and verifies that Sanad shows invoice 1048, the correct seller and JOD 116, along with the matching date and tax. The team can now record the original invoice as verified without issuing a replacement. If the response cannot be located, the integration lead keeps responsibility for the case and checks the original submission before authorizing another attempt.

For the rest of your finance rollout, see the Odoo accounting setup checklist. If the invoice state and PDF disagree, ask Lava’s Odoo team to review the handoff. Include the Odoo version, the displayed state and whether the QR check succeeded. An anonymized description is enough for the first conversation.

Sources & further reading

A useful next step

Bring one real workflow.

Share the process you want to improve, the systems involved and the decision you need to make.

Talk to Lava ↗