Skip to content
barcoder

Standards/tanqr

TANQR

TypeNational QR
PrimaryTZ
MentionedTZ
Completeness69%high

Overview

TANQR (Tanzania Quick Response Code) is Tanzania's national standard for merchant payment QR codes. The Bank of Tanzania (BoT) issued it on 12 August 2022 and made it binding on every payment service provider from 1 September 2022 12. It is a profile of EMVCo's merchant-presented QR specification: the merchant shows the code, and the customer scans it with a banking or mobile money app 1.

The point of the standard is that one sticker works for every provider. A shop's TANQR code carries a merchant account template that routes the payment through the BoT's Tanzania Instant Payment System (TIPS), so a customer of any participating bank or wallet can pay it 1. Customers without a smartphone type the eight-digit merchant number printed under the code, known as the Lipa Namba ("pay number"), into a USSD menu instead 14.

For a payer the steps are fixed by a 2023 BoT guideline: choose "Pay TANQR" in the app or USSD menu, scan the code or type the Lipa Namba, enter the amount, check the merchant's name and the fee on the confirmation screen, and approve with a PIN 4. By the end of 2025, 27 providers had deployed TANQR: 21 banks, five mobile money operators and one aggregator, according to the BoT 5.

History

Before TANQR. Merchant payments by phone already existed, but each provider ran its own. Vodacom started Lipa kwa M-PESA for merchants, Tigo followed in 2016 with Lipa Hapa kwa Tigo Pesa and Airtel later with Airtel Tap Tap 8. In 2022 all three still offered dedicated merchant products, generically called Lipa kwa Simu ("pay by phone"), and the aggregator Selcom ran another; a registered merchant got an account number and a QR code to display 8.

The standard (2022). The BoT issued the TANQR Code Standard 2022 under section 56(3) of the National Payment Systems Act 2015, which empowers it to set standards for efficient and safe payment systems 2. The covering circular, signed by Governor Florens Luoga and dated 12 August 2022, took effect on 1 September 2022. Every financial service provider must comply and is subject to BoT examination. Merchant codes issued before the effective date could stay in use for one year from the circular's date while providers migrated them, new merchant codes had to conform from six months after the effective date, and providers had to file a monthly implementation report 2. The standard's document control lists a single version, 1.0, "Initial publication", 12 August 2022 1.

The customer journey (2023). A BoT circular of 12 June 2023 told providers that offer USSD or app payments to merchants to adopt a unified customer experience for TANQR payments, effective 1 September 2023 3. The attached guideline, version 1.0 of May 2023, describes the menus step by step 4.

Rollout on TIPS (2023–2024). TIPS itself was trialled with three banks and two telecoms for about two years and launched for the whole sector in March 2024, by when 39 banks and six telecoms were connected; its person-to-merchant payments use QR codes 7. In July 2024 a BoT official told the Dar es Salaam trade fair that the standardised QR project had started as a pilot the previous year, that old Lipa Namba codes would be phased out and replaced with a code payable from any TIPS-connected provider, and that TIPS would introduce the standardised QR, "known as Lipa Namba", in August 6.

Adoption (2024–2025). The number of providers deploying TANQR rose from 15 in 2024 to 27 in 2025 5. In September 2025 the Alliance for Financial Inclusion gave the BoT its innovation award in inclusive financial services, citing TIPS and the adoption of TANQR 115.

Technical specification

TANQR follows the data model of the EMV QR Code Specification for Payment Systems, Merchant-Presented Mode, version 1.0 of July 2017, which it names as its reference 1. EMVCo published that specification on 31 July 2017 and makes it available royalty-free 15.

Data object format. The payload is a string of data objects, each made of a two-digit ID ("00" to "99"), a two-digit length ("01" to "99") and a value of 1 to 99 characters. A template is a data object whose value is itself a list of data objects 1. Values are Numeric (N, digits 0–9), Alphanumeric Special (ANS, 96 characters including digits and punctuation) or String (S, any Unicode) 1.

Top-level fields. The standard's summary table and field tables give these IDs 1:

ID Field Format, length Presence TANQR rule
00 Payload Format Indicator N 2 M Always 01
01 Point of Initiation Method N 2 M 11 static, 12 dynamic
02–51 Merchant Account Information S, up to 99 M 26 is TIPS (see below)
52 Merchant Category Code N 4 M ISO 18245; 0000 if none
53 Transaction Currency N 3 M 834 (Tanzanian shilling)
54 Transaction Amount ANS, up to 13 see note Digits and one .
55 Tip or Convenience Indicator N 2 O 01 prompt for tip, 02 fixed fee, 03 percentage fee
56 Convenience Fee Fixed ANS, up to 13 C Present only with 55 = 02
57 Convenience Fee Percentage ANS, up to 5 C 00.01 to 99.99, with 55 = 03
58 Country Code ANS 2 M Always TZ
59 Merchant Name ANS, up to 25 M Trading name shown to the payer
60 Merchant City ANS, up to 15 M City of the shop
61 Postal Code 5 digits M Tanzanian postcode published by TCRA
62 Additional Data Field Template S, up to 99 O Sub-IDs below
64 Merchant Information, Language Template S, up to 99 O Name etc. in another language
65–79 Reserved for EMVCo
80 Date and Time Template S, up to 35 O Acquirer-defined
81–99 Unreserved templates S, up to 99 O Acquirer-defined, GUID in 00
63 CRC ANS 4 M Last field

The amount field is inconsistent within the document: the transaction-value table marks ID 54 optional, while the summary table marks it mandatory. The guidance text settles practice: the amount must be left out when the app asks the payer to type it, as on a static code 1.

TANQR makes Merchant City and a five-digit Postal Code mandatory; the standard's example is 11000 for Dar es Salaam 1. Kenya's KE-QR profile, by contrast, marks Postal Code optional 16.

Checksum. The CRC (ID 63) is computed per ISO/IEC 13239 with polynomial 1021 (hex) and initial value FFFF, over every data object including the CRC's own ID and length, and written as four hex characters; a CRC of 007B appears as 6304007B 1.

Merchant account IDs. TANQR keeps EMVCo's allocation for the global schemes and gives the domestic range to TIPS and local operators 1:

IDs Allocation
02–03 Visa
04–05 Mastercard
06–08, 17–25 EMVCo
09–10 Discover
11–12 American Express
13–14 JCB
15–16 UnionPay
26 TIPS, for use in Tanzania
27–30 Reserved for future TIPS use
31–51 Network operators in Tanzania

Templates 26 to 51 carry a Globally Unique Identifier in sub-ID 00 (an ISO 7816-4 AID, a UUID without hyphens, or a reverse domain name), followed by network-specific sub-IDs such as acquirer ID, merchant ID, a proxy or a deep link 1.

The TIPS template (ID 26). Annex 3 fixes the layout 1:

Sub-ID Field Format, length Value
00 Domain name (GUID) ANS 14 tz.go.bot.tips
01 Acquirer ID N 5 Two-digit category (01 banks, 02 non-banks) plus three-digit TIPS participant code
02 Merchant ID N, up to 15 Merchant account or ID assigned by the acquirer

The standard's example for "Bank A" is 26390014tz.go.bot.tips010501001020812345678: acquirer 01001, merchant 12345678 1.

Lipa Namba alias. For feature-phone users the merchant is exposed as an eight-digit alias in the form AAA-CCCC-S without hyphens: a three-digit acquirer code, a four-digit merchant code and one check digit computed with the Damm algorithm. Acquirers can be given extra acquirer codes, and once a block is used up the merchant code may grow by one digit. The alias may be carried in the Additional Data template as Store Label (62/03) or Terminal Label (62/07) 1. In the standard's example, acquirer 001 and merchant code 1234 give the alias 00112349 1. Recomputing the Damm check digit for 0011234 gives 9, matching the standard (a local check, not a spec statement).

Additional data (ID 62). Sub-IDs 01 Bill Number, 02 Mobile Number, 03 Store Label, 04 Loyalty Number, 05 Reference Label, 06 Consumer Label, 07 Terminal Label and 08 Purpose of Transaction take up to 25 characters each; 09 requests consumer data with any combination of A (address), M (mobile) and E (email); 10–49 are reserved for EMVCo and 50–99 are for payment-system data such as a tax ID, cashier ID or deep link 1. Because the whole template is capped at 99 characters, the BoT asks operators to use the predefined sub-IDs so that combined multi-operator codes do not overflow 1.

Date and time (ID 80). An optional template with a GUID in 00, the code's generation date and time in 01, its expiry in 02, and 03–10 for other acquirer-defined dates, each up to 35 characters, for validation at scan time or reconciliation 1.

Worked example. The standard's sample static code for "YN Restaurants" in Dodoma (MCC 5814, postcode 41000, store label 00112349, terminal label 11002) is 1:

00020101021126390014tz.go.bot.tips0105010010208123456785204581453038345802TZ5914YN RESTAURANTS6006DODOMA610541000622103080011234907051100263047D47

The PDF breaks this string across lines. Joined with the single space in the merchant name, it is 146 characters, and recomputing the CRC over everything before the last four characters gives 7D47, the value printed (a local check).

Static and dynamic codes. A static code (01 = 11) never changes and is reused: the payer scans it, the app resolves the merchant ID, shows the merchant's name, asks for the amount and sends the payment, and both sides are notified. A dynamic code (01 = 12) is generated for one transaction and carries the amount; the standard lists online payments, bill payments and self-service kiosks as typical uses 1.

Printed sticker. Annex 2 sets the layout of a merchant display in four parts: A, the logos of the networks the code supports, with the TIPS logo on the left when TIPS is supported; B, the QR image; C, the merchant's name and the alias merchant ID for USSD users; D, the provider's own branding. The recommended minimum is an A8 card (5.2 × 7.4 cm) with the QR covering 11% of the area, which the standard's table works out to a square of about 2.06 cm 1.

Customer journey. On USSD the payer picks a "Pay Merchant/Phone" item ("Lipa kwa Mfanyabiashara/Simu"), then "Pay TANQR" (recommended as the first option where a provider offers several schemes such as Visa, Masterpass or UnionPay), enters the Lipa Namba, enters the amount, and sees a confirmation with the amount, the merchant's name from the TIPS lookup and the end-user fee before the PIN step. The app flow is the same with a scan step 4. The guideline refers providers to a TANQR-TIPS Message Guide, a TIPS API Integration Guide and a TIPS Operation Guide for the messages 4; those were not among the documents found for this article.

Use cases

Shops and market stalls. TANQR's main use is person-to-merchant payment at a counter. The BoT credits TANQR's Pay Number and POS terminals with doubling the number of merchants taking digital payments to 2.79 million in 2025 5. In the 2024/25 financial year TANQR and Lipa Namba payments reached 60 million, worth about TZS 4 trillion 5.

Feature phones. Because every sticker shows the Lipa Namba, the same merchant can be paid by USSD 14. This matters in Tanzania: in an IFC survey all mobile merchant payments recorded went through USSD, and most smartphone users had never paid with a QR code 8.

Bills, online and kiosks. The standard provides dynamic codes and a Bill Number field for bill, online and kiosk payments 1.

Card payments by link. In October 2024 NMB Bank and Mastercard launched QR Pay by Link, in which a secure URL embedded in an EMVCo QR code lets a customer pay by card on their phone; the press release describes merchants accepting it through "NMB TanQR Codes" and says it accepts Mastercard, other card schemes and UPI 10.

Bank apps paying wallet merchants. CoopBank's app, for example, offers "QR Pay" for TAN-QR / Lipa Namba merchants and says it works across M-Pesa, Tigo Pesa, Airtel Money and Halotel 14.

Implementations

The BoT's 2025 report lists the 27 institutions deploying TANQR at the end of 2025 5:

  • Wallets and aggregators: TTCL (T-Pesa), Honora Tanzania Mobile Solutions (Tigo Pesa), Vodacom Tanzania (M-Pesa), AzamPesa, Airtel Tanzania (Airtel Money), Viettel Tanzania (HaloPesa) and Selcom Paytech.
  • Banks: National Microfinance Bank, CRDB, Ecobank, Letshego, Diamond Trust Bank, Guaranty Trust Bank, Tanzania Commercial Bank, Exim, Bank of Africa, Azania, DCB, Stanbic, NBC, Mwanga Hakika, KCB, Uchumi, People's Bank of Zanzibar, ABSA, Amana and Equity.

The report's text counts these as 21 banks (half of all banks), five mobile network operators (83.3% of them) and one of the 72 non-bank aggregators 5. Its own annex lists six wallet operators and Selcom, so the split depends on how AzamPesa and Selcom are classed.

For Vodacom's own merchant product see M-Pesa QR; the rail behind TANQR's template 26 is TIPS.

No open-source library specific to TANQR, and none using the tz.go.bot.tips identifier, turned up in a search of GitHub. Generic EMVCo merchant-presented QR tools can build the structure. The generator on this page uses Barcoder's generic EMVCo MPM encoder with TZ and TZS preset. Going by its source, it puts the merchant ID in sub-ID 01 of the account template and omits the Postal Code (61), so its output is EMVCo-shaped but not a conformant TANQR code; a real one needs the TIPS acquirer ID in 26/01, the merchant ID in 26/02 and a postcode in 61 1.

Comparison

TANQR and KE-QR. Kenya's KE-QR Code Standard 2023 (Central Bank of Kenya, version 1.0, May 2023) is the nearest neighbour. It builds on EMVCo Merchant-Presented Mode v1.1 of November 2020, where TANQR cites v1.0 of 2017 161. KE-QR uses the identifier ke.go.qr, puts domestic PSP merchant IDs in template 28 and bank-wallet IDs in 29, reserves 26–27 for future national and regional schemes and 83 for Safaricom, and leaves Postal Code optional 16. TANQR instead binds the domestic range to one central switch: template 26 carries a TIPS acquirer ID and merchant ID, and the Lipa Namba alias is derived from them 1. A Kenyan code can carry several provider identifiers for one merchant; a Tanzanian code is meant to route through TIPS.

TANQR and provider tills. Before TANQR, a Lipa Namba belonged to one provider's merchant platform 86. TANQR keeps the familiar number but standardises its format and routes it through TIPS so any participant can pay it 16.

Interoperable is not uniformly priced. In December 2024 a writer paying TZS 2,000 to a Tigo Pesa merchant was charged TZS 70 from Airtel Money and TZS 400 from M-Pesa, and met a merchant displaying three codes so customers could pay from their own network at a lower fee 9. The BoT's 2025 report also lists merchant discount rates, "notably TANQR fees", among cost pressures on providers 5. The standard defines how a code routes, not what providers charge.

Fun facts

The Lipa Namba's check digit is computed with the Damm algorithm; the standard names the algorithm without saying why it was chosen 1.

The standard's sample code, once the PDF's line breaks are joined, validates: its printed CRC 7D47 matches a recomputation 1.

Status

Active and mandatory for all payment service providers since 1 September 2022 2. The BoT says it will review the standard from time to time after consulting stakeholders 1; the published document is still version 1.0 1. In July 2025 the BoT named the interoperable TANQR code among its measures to encourage digital payments 12, and in July 2026 Governor Emmanuel Tutuba listed "the TIPS TanQR platform" among Tanzanians' payment options, as TIPS reported 651 million transactions worth TZS 54.95 trillion in 2025 13. Adoption reached 27 providers by December 2025 5.

Public documentation is limited to the standard, its circular and the customer-experience guideline. The TANQR-TIPS message guide and TIPS API documents those papers refer to were not found online, and the BoT publishes TANQR volumes only as combined TANQR and Lipa Namba totals 45. For the wider payments picture see the Tanzania payments overview.

Sources

Deployments

Countries whose payments overview mentions this standard:

source · content/standards/tanqr/index.md