Bring Tunisian e-invoicing into your existing ERP. Send JSON, get back a signed XML (TEIF v1.8.9 + XAdES) and a PDF with a QR code.
Already have an API account?
Log in to the developer portal$ curl -X POST \
https://efacturetn.com/api/v1/einvoices/process \
-H "X-Api-Key: ck_test_xxx" \
-H "Content-Type: application/json" \
-d '{ "invoice_number": "F-001",
"date": "2026-06-13",
"seller": { "name":"...", "tax_id":"1234567RAM000", "address":"Avenue Habib Bourguiba", "city":"Tunis", "postal_code":"1000" },
"buyer": { "name":"...", "tax_id":"7654321CAM000" },
"items": [ { "description":"Service", "quantity":1,
"unit_price":500, "vat_rate":19 } ] }'
// Response (~5 seconds)
{
"success": true,
"data": {
"status": "signed",
"ttn_reference": "TTN-TEST-XXXXX",
"xml_base64": "PD94bWwgdmVyc2lvbj0i...",
"pdf_base64": "JVBERi0xLjQKJaqr..."
}
}
You send, we handle everything
One price per invoice, no hidden fees
Compliant XAdES-BES with a Tunisian certificate. Entreprise ID (automatic seal), DigiGo (PIN + OTP), USB token or E-Houwiya (Mobile ID).
Direct submission with smart retry and a circuit breaker when TTN is unavailable.
Professional PDF with an automatically generated verification QR code.
Every invoice archived in accordance with Tunisian law.
Check your invoices before signing with /einvoices/validate. No credits consumed.
Success rate, credits, errors and p50/p95 latency in your admin console.
Each client has its sandbox key (ck_test_), with no credits consumed, and its live key (ck_live_) when it is ready.
Choose according to your use case. You can switch from one to another on each request.
Electronic server seal (SEAL)
Synchronous, ~5 seconds, no user interaction. The signature is applied automatically by our server with the company's seal.
Remote signing with PIN + OTP
Asynchronous. The signer signs on a secure page with their PIN and an OTP, from any device.
GET /einvoices/{id}Physical token, local signing
Asynchronous. The invoice is signed on the signer's workstation with their USB certification token, and the API handles the TTN submission.
Mobile ID, mobile digital identity
Asynchronous. The signer approves the signature from their smartphone with their mobile digital identity (Mobile ID).
Free sign-up, test keys as soon as your email address is confirmed, no credits required for testing.
More details in the integration guide.
// Incoming request (your ERP → our API)
X-Api-Key: ck_live_xxxxx...
Content-Type: application/json
Sign up, verify your email, create your first client and use its sandbox key ck_test_xxx to start integrating. No credits consumed in test mode.
$ curl https://efacturetn.com/api/v1/status
{
"success": true,
"data": {
"status": "operational",
"version": "1.0.0"
}
}
Our team handles the integration into your existing system, whatever the technology (SAP, Odoo, Sage, in-house software). Quote on request.
Custom pricing based on your volume. Reply within 24h.