Powercomputers
Tax devices (EFD & VFD)

Issuing TRA fiscal receipts from TallyPrime through PowerVFD

Turn TallyPrime sales vouchers into TRA fiscal receipts without keying each sale into a separate machine. What happens when a voucher is saved, how Tally fields become receipt fields, and what to settle before going live.

By the Powercomputers team · 26 November 2026 · 5 min read

The short answer

TallyPrime can issue TRA fiscal receipts by handing each sales invoice to a VFD integrated with it, so no sale has to be keyed into a separate EFD. With PowerVFD, Tally sends the invoice to a route set aside for Tally, PowerVFD validates it and issues the receipt, and four details come back to be stored on the voucher: receipt number, Z number, verification code and TRA verification link. Because the voucher number is reused as the receipt’s invoice number, no voucher can be fiscalised twice, which keeps Tally in line with what TRA received.

Key points

  • Under the 2025 amendments, accounting software integrated with TRA’s EFDMS may issue fiscal receipts carrying an approved electronic signature or code.
  • Invoices from Tally go to a dedicated route, /service/v1/invoices/tally, with the same rules as PowerVFD’s main invoice API.
  • Each voucher number doubles as the receipt’s invoice number, so sending a voucher again is refused.
  • Lines go in VAT-inclusive with a tax code from 1 to 5, and PowerVFD works out the net amount and the VAT.
  • A party’s TIN must come to 9 digits after spaces and dashes are removed.
  • Receipt number, Z number, verification code and verification link are returned for every voucher.

The case for connecting Tally to TRA

When invoices are raised in Tally but receipts come from a separate EFD, every sale is entered twice, once in each. That takes staff time, and the two sets of records drift apart.

The 2025 amendments to the Tax Administration (General) Regulations set out a cleaner route. Accounting software may issue fiscal receipts itself, provided the software is integrated with TRA’s Electronic Fiscal Device Management System (EFDMS) and every receipt bears an electronic signature or code that the Commissioner General has approved.

A VFD supplies that integration. PowerVFD stands between Tally and TRA: it signs and submits each invoice using the TRA certificate for your registration, then passes the receipt details back to Tally.

From saved voucher to fiscal receipt

Behind the scenes, each sales invoice goes through five steps.

  • A user saves a sales invoice in TallyPrime.
  • Tally hands it to /service/v1/invoices/tally, a route kept for Tally that is processed by the same code as PowerVFD’s main invoice API.
  • PowerVFD checks the party’s ID, the tax code on every line, the date order and the device licence. If anything is wrong, it replies with a plain message naming the problem and saves nothing.
  • A valid invoice becomes a receipt, complete with receipt number, Z number, verification code and TRA verification link, and goes on to TRA.
  • Those details return to Tally and are kept with the voucher, ready to print alongside the QR code.

Matching Tally fields to the receipt

Each part of a Tally voucher has a place on the PowerVFD invoice. The field names below are the ones used in PowerVFD’s Tally integration guide and API reference.

  • The voucher number goes in custinvoiceno. No two invoices on a device may share it, so a voucher that has already been sent is turned away.
  • The party’s TIN goes in custid, with custidtype set to 1. It must be 9 digits once spaces and dashes are removed, which means 123-456-789 is accepted.
  • A walk-in sale is sent with custidtype 6 and no customer ID.
  • Item lines go in invoiceDetails: at least one, each giving a description, quantity, tax code and amount.
  • The VAT treatment of each line becomes taxcode 1 to 5, which corresponds to TRA categories A to E.
  • The receipt details come back as vfdinvoicenum, znumber, rctvcode and rctvnum. Store them on the voucher and show them on the printed invoice.

Letting the tax code handle VAT

Tally sends each line’s amount with VAT included, together with a tax code from 1 to 5. PowerVFD converts the code into TRA’s category letter: A for the standard rate, B for a special rate, C for zero rate, D for special relief and E for exempt. That letter is what appears on the receipt and goes to TRA, so Tally never has to send it.

Take a category A line of TZS 5,000.00 on a VAT-registered device: PowerVFD splits it into 4,237.29 net and 762.71 VAT, while categories B to E have no VAT in them at all. If the business isn’t registered for VAT, even category A lines have no VAT, since the category belongs to the product rather than to the seller.

Why one voucher gives exactly one receipt

Since the voucher number is saved as the invoice number, a second send of the same voucher fails with a duplicated invoice number message, no matter what happened to the first. That makes a retry safe: if Tally timed out and you send again, the duplicate message confirms that the first attempt was saved.

PowerVFD’s API will also take several invoices in one request, but a batch is saved as a whole or not at all. For everyday sales, posting invoices one at a time means a single faulty invoice can’t hold up the others.

Settle these before the first live invoice

Agree these points, ideally with whoever looks after your Tally company, before real customers start receiving receipts.

  • Give Tally an interface of its own in the PowerVFD dashboard; you can then switch it off without affecting any other connected system.
  • Make sure every party that needs its TIN on the receipt carries a correct 9-digit TIN on its Tally record.
  • Match every VAT treatment in your Tally setup to one of the five tax codes.
  • Run your real item and party names through a test. Some special characters are refused in names and descriptions, and it is better to find them in a test than at the till.
  • Decide how back-dated vouchers will be handled. A future-dated invoice is always refused; an earlier date is accepted only in date order, and only on a device configured for back-dating.
  • Walk staff through a rejected invoice. The message says what is wrong, for example a duplicated invoice number or a TIN that isn’t 9 digits long.

How Powercomputers can help

The Tally side varies with the way each Tally company is set up, which is why Powercomputers configures it together with you. Powercomputers has been a Tally partner in Tanzania since 2004 and is now a Tally Master Partner, and PowerTally (powertally.co.tz) is its Tally team for TallyPrime licences, implementation and training.

On the TRA side, PowerVFD is Powercomputers’ own VFD solution. Powercomputers has been a TRA-authorised EFD supplier since 2013 and is listed on TRA’s approved supplier list for both EFDs and VFDs. PowerVFD works through TRA’s system, which covers mainland Tanzania; in Zanzibar, fiscal receipts go through the Zanzibar Revenue Authority’s VFMS instead.

Frequently asked questions

Powercomputers names both Tally ERP and TallyPrime among the systems PowerVFD is compatible with. Let the team know your Tally version and how your Tally company is configured.

No. A second send of the same voucher is refused with a duplicated invoice number message. If you resent after a timeout, that message is your confirmation that the first attempt was saved.

PowerVFD returns the TRA verification link in rctvnum, and the QR code encodes that link. PowerVFD can also send back the QR code as an image for you to place on the invoice.

Yes. Every line still carries a tax code, because the category describes the product. On a device that isn’t VAT-registered, category A lines simply carry no VAT.

Sources

This guide was written from these pages:

  1. TRA: The Tax Administration (General) (Amendment) Regulations, 2025, GN 352J (PDF)
  2. TRA: List of approved EFD/VFD suppliers (PDF)
  3. Zanzibar Revenue Authority: Virtual Fiscal Management System (VFMS)
  4. Powercomputers: PowerVFD API documentation
  5. Powercomputers: TRA VFD Solution
  6. Powercomputers: Tally & TallyPrime Software
  7. Powercomputers: EFD Machines
  8. PowerTally: Powercomputers’ Tally team
Powercomputers can help

TRA VFD solution

PowerVFD issues TRA receipts with no EFD machine, from Tally, fuel pumps, your POS or ERP, Android or the browser.

Sample invoice issued through PowerVFD
  • No EFD machine needed
  • Tally, POS, ERP and fuel pumps
  • Keeps issuing when offline
  • Tanzanian IT company since 2001
  • Branch offices across Tanzania

Often bought together: EFD machines, Tally & TallyPrime, Point of sale (POS)

Get a quote

Send this to our team. We’ll call or WhatsApp you back.

We only use your details to reply to this request.

WhatsApp us
Get a quote

Tell us what your business needs

Get a quote or a callback from the Powercomputers team: hardware, software, EFD and VFD, security, web or support.