Jordan Fawtara / JoFotara sandbox

Test your invoice integration before going live. The AVTAX sandbox checks invoice data and tax totals, then returns unsigned UBL XML without contacting JoFotara.

Send your first sandbox invoice

  1. Create an account, generate a partner API key and arrange invoice allowance.
  2. Download the sample invoice JSON. Give each new invoice its own UUID.
  3. Submit it to the same invoice endpoint with X-Sandbox-Mode: true.
Sandbox request
curl --request POST 'https://jordanapi.avtax.net/api/v2/invoices' \
  --header 'Content-Type: application/json' \
  --header 'Partner-Api-Key: YOUR_PARTNER_API_KEY' \
  --header 'X-Sandbox-Mode: true' \
  --data-binary @invoice.json

Government credentials are not required in sandbox. Run this request from your backend or development tools.

Read the result

state: Submitted
Local validation passed; this is not government acceptance.
sandbox: true
No invoice was sent to JoFotara.
xmlSource: Sandbox
The returned XML is unsigned.
xmlBase64
Save the returned XML. Sandbox XML is not archived.

Repeat the same UUID and identical content to recover the result during the 90-day window without another allowance charge. An ordinary status GET does not return sandbox XML.

Sandbox and live mode

BehaviorSandboxLive
Mode headerX-Sandbox-Mode: truefalse or omitted
Government requestNoneSent to JoFotara
Government credentialsNot requiredRequired for submission
XMLUnsigned; returned directlyGovernment XML when returned; otherwise labelled Generated
XML archiveNone90 days after acceptance
Successful invoiceUses one allowance unitUses one allowance unit

Check tax totals without using allowance

Send the same invoice body to POST /api/v2/invoices/verify-totals with your partner API key. This validates fields and calculates JOD totals without contacting JoFotara or consuming invoice allowance.

Move to live submission

Set sandbox mode to false and add the supplier’s Gov-Client-Id and Gov-Client-Secret. Use the supplier’s correct tax number and income-source sequence. Check the live response before treating an invoice as accepted.

This sandbox is provided by AVTAX for integration testing. It does not verify government credentials or guarantee that JoFotara will accept a live invoice.