An overview of the DigiTax Tanzania API
Introduction
Before you proceed, we encourage you to get an overview of DigiTax API and TRA VFD and TRA and the VFD System.
Use DigiTax Tanzania API to integrate your system with the TRA VFD System for automation and to reduce platform-hopping
The premise is simple: DigiTax sits between your system and TRA's EFDMS.
You send invoice data to DigiTax. DigiTax validates, enriches, signs, and routes it to TRA's EFDMS for fiscalization - giving you peace of mind and saving you time.

DigiTax Tanzania API Features
The DigiTax API is a RESTful, JSON API. When you call the DigiTax TZ API:
- You send and receive JSON - no XML required on your side
- DigiTax handles PKI certificate management, XML construction, counter sequencing, and daily Z Report submissions to EFDMS
- Responses include the fiscalized receipt data (verification URL, verification code, receipt number) ready for printing
Key platform capabilities:
- RESTful API with standard HTTP methods (GET, POST)
- OpenAPI spec for interactive, auto-generated documentation
- Secure authentication via
X-API-Keyin the request header - Asynchronous processing - DigiTax queues, retries, and deduplicates EFDMS submissions automatically
- 99.99% uptime commitment
- Code samples in 20+ programming languages on every endpoint
DigiTax Tanzania API Endpoints
- Businesses
- Retrieve business info: GET /info
- Customers
- Create a customer: POST /customers
- Retrieve multiple customers: GET /customers
- Retrieve a single customer: GET /customers/{id}
- Items
- Create an item: POST /items
- Retrieve multiple items: GET /items
- Retrieve a single item: GET /items/{id}
- Invoices
- Create an invoice: POST /invoices
- Retrieve multiple invoices: GET /invoices
- Retrieve a single invoice: GET /invoices/{id}
- Retrieve detailed invoice: GET /invoices/{id}/detailed
Welcome to the DigiTax Tanzania API Hub
We're excited you're here! 💚
We invite you to use the DigiTax Tanzania API to integrate your system with TRA's VFD System for automation and to reduce platform-hopping.
To recap:
- Explore our detailed guides to gain understanding of DigiTax Tanzania integration. Learn how to navigate them here
- Get the Prerequisites for using DigiTax Tanzania API
- For support, email us OR talk to us via the DigiTax chat on the bottom-right of any page
Welcome to the Less Taxing solution - DigiTax.
