POS FBR Integration - Pakistan FBR POS Connector, FBR Invoice Number and QR Code on the Receipt
by Modvanta https://modvantaapps.tech/odoo-apps/pos-fbr/
Odoo
$ 34.90
In-App Purchases
Pakistan FBR POS integration for Odoo 19: every POS bill is posted to FBR, and the FBR invoice number is printed on the receipt with its QR code.
FBR POS | Tier-1 Retailers | FBR Invoice Number | QR Code | Credit Notes | Offline Queue | Sandbox and Production | PCT Code | Urdu
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Tier-1 retailers in Pakistan must report every sale invoice to the Federal Board of Revenue in real time. This module connects the Odoo Point of Sale to the FBR POS integration (FBR IMS): when a bill is paid, Odoo posts it to FBR with your FBR POS ID, receives the FBR invoice number and prints it on the receipt with a QR code. Bills that cannot reach FBR (no internet, FBR down) are kept in a queue and sent again automatically.
| Real-time posting: each paid POS order is posted to FBR the moment it reaches the server; the cashier never waits for a second screen. | |
| FBR invoice number on the receipt: printed with its QR code, the FBR POS ID, the company NTN and STRN, "Integrated with FBR" and the FBR logo image you upload. | |
| Two ways to connect: the FBR web API (cloud, bearer token) in sandbox or production, or the FBR software fiscal component (Windows service) on your network. | |
| Refunds as credit notes: a POS refund is sent with invoice type 3 and the USIN of the original bill as RefUSIN; refunds can also be kept out. | |
| Offline queue and retry: failed bills are retried every 10 minutes by a scheduled action, from the order with Send to FBR, or in bulk from the list. | |
| Never posted twice: a bill that has its FBR number is never sent again, and a retry keeps the same USIN. | |
| Item data FBR asks for: PCT code (Pakistan Customs Tariff) per product with a default per point of sale, tax rate, sale value, tax, discount, Third Schedule items (type 11 / 12). | |
| Buyer data: name, NTN, CNIC and phone of the customer when one is set on the order. | |
| Payment mode: cash, card, gift voucher, loyalty card or cheque per payment method; several methods on one bill are sent as Mixed. | |
| FBR log: every invoice sent and every answer of FBR, with filters for posted and failed orders. | |
| Urdu translation of the module, the receipt lines included. |
FBR registration is done by the business, not by the module: register each POS on e-FBR (Registration > POS Client Registration) to get the POS ID and the token (or the fiscal component). The module is not made or endorsed by FBR or PRAL.
Who it is for
| Tier-1 retailers in Pakistan using the Odoo Point of Sale: shops, outlets, restaurants and chains | |
| Odoo partners in Pakistan setting up POS for retailers who must integrate with FBR | |
| Businesses that already use the FBR fiscal component and want Odoo to fill it |
Screens
The receipt: FBR invoice number, its QR code, FBR POS ID, NTN and STRN

Settings per point of sale: environment, cloud or local fiscal component, POS ID, token, default PCT code, refunds, FBR logo

FBR Orders: posted and failed bills side by side

FBR Log: the invoice posted (POSID, USIN, items) and the answer of FBR

FBR not reachable: the sale goes through and the receipt says the FBR number is pending

The failed bill in the backend, with the error and the Send to FBR button

Sent again: FBR invoice number, attempts and the log of both calls

PCT code and Third Schedule flag on the product

The receipt in Urdu

How it works
1 | Register the POS with FBR On e-FBR, Registration > POS Client Registration: you get the POS ID (and a test POS ID for the sandbox) and the token, or install the FBR fiscal component. |
2 | Fill the settings Point of Sale > Configuration > Settings > Pakistan FBR: enable it, choose sandbox or production and cloud or local, enter the POS ID and token, a default PCT code and the FBR logo image. |
3 | Add PCT codes On each product (Point of Sale tab) set the PCT code; mark Third Schedule items. Set NTN / CNIC on customers and STRN on the company. |
4 | Sell as usual At payment the bill is posted to FBR and the receipt prints the FBR invoice number and QR code. Failed bills are retried until FBR accepts them. |
Settings
| FBR Integration | On / off per point of sale |
| FBR Environment | Sandbox (test POS ID) or Production |
| FBR Connection | FBR Web API (cloud) or Local FBR Fiscal Component (URL of the component, default http://localhost:8524) |
| FBR POS ID / FBR Token | From the POS registration on e-FBR; the token is kept on the server and never sent to the POS screen |
| Default PCT Code | Used for products without a PCT code |
| Send Refunds to FBR | Post refunds as credit notes, or keep them out |
| FBR Timeout | Seconds to wait for FBR before queueing the bill (default 15) |
| FBR Logo on Receipt | The logo image from the FBR kit, printed above the FBR invoice number |
| Payment method: FBR Payment Mode | Cash, Card, Gift Voucher, Loyalty Card or Cheque (empty = cash or card automatically) |
FAQ
What happens when the internet is down?
The sale is never blocked. The receipt says the FBR number is pending and the bill is posted by the scheduled action as soon as FBR answers. You can also send it from the order.
Can the same bill be posted twice?
No. A bill with an FBR invoice number is never sent again, and a retry sends the same USIN.
Do I need the FBR fiscal component?
No, the FBR web API (cloud) only needs the POS ID and the token. Choose Local only if you run the FBR fiscal component on a computer the Odoo server can reach.
Is this the FBR Digital Invoicing (DI) API for sales tax invoices?
No. It is the POS integration for retailers (FBR IMS / Tier-1). Digital Invoicing of accounting invoices is a different FBR system.
Is the FBR logo included?
No. Upload the logo image from your FBR integration kit in the settings; it is printed on the receipt.
How do I use the Urdu translation?
Odoo does not ship Urdu: add the language once (Settings > Languages, code ur_PK, right to left), then the module and the receipt lines show in Urdu.
Compatibility
| Odoo 19 Community and Enterprise | |
| Depends only on Point of Sale | |
| Shop and restaurant point of sales; several POS with their own POS ID |
Support
| Questions and help: modvantaapps@gmail.com |
Sell in Pakistan with FBR on every receipt
FBR invoice number and QR code on each bill, credit notes for refunds, and a queue that never loses a sale.
Buy Now - $35Hire Us for Odoo Work| EMAIL modvantaapps@gmail.com | AUTHOR Modvanta | INCLUDED Module, support by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 746 |
| Technical Name |
mdv_pos_fbr |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/pos-fbr/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module