KPRA POS Integration
KPRA POS integration for Odoo 19 Point of Sale: every bill is sent to the Khyber Pakhtunkhwa Revenue Authority, and the KPRA invoice number is printed on the receipt with its QR code.
What it does
Restaurants and hotels in Khyber Pakhtunkhwa must report each sale to KPRA, the Khyber Pakhtunkhwa Revenue Authority. This module connects the Odoo Point of Sale to KPRA RIMS and to the KPRA hotel API: when a bill is paid, Odoo sends it, keeps the KPRA invoice number and prints it with the QR code on the receipt. If KPRA cannot be reached the sale goes on and the bill is sent later.
Who it is for
- Restaurants and cafes in Khyber Pakhtunkhwa. Outlets registered with KPRA's Restaurant Invoice Monitoring System have to report their bills. Each paid POS order is posted to KPRA, either over the live API or through the KPRA RIMS Windows utility running on the shop PC.
- Hotels reporting room bills to KPRA. A hotel point of sale can post to the KPRA hotel API. The tax you flag as excise bed tax is sent on its own line and kept apart from the KPRA sales tax figure.
- Outlets with an unreliable internet connection. If KPRA can't be reached, the sale isn't blocked. The receipt says the KPRA number is pending and a scheduled action tries again every 10 minutes using the same invoice number.
- Owners who want a record of what was reported. Every request and answer is stored per order with the key masked, so a manager can see exactly what was sent and what KPRA replied.
Features
Setting it up
- Register the point of sale on the KPRA POS Registration Portal and download its POS ID and key.
- Go to Point of Sale > Configuration > Settings, select the point of sale, and in the KPRA (Khyber Pakhtunkhwa Revenue Authority) section switch on KPRA POS Integration.
- Choose the KPRA Outlet Type (Restaurant (RIMS) or Hotel (with excise bed tax)) and the connection: KPRA live API or KPRA RIMS Windows utility. Hotels use the live API.
- Enter the KPRA NTN, KPRA POS ID and KPRA Key. For the Windows utility you can leave the URL empty to use http://localhost:3000, and adjust the timeout or the Send Refunds option if needed.
- For hotels, open the bed tax under Accounting > Configuration > Taxes and tick KPRA Excise Bed Tax.
- Optionally set the KPRA Payment Mode on each payment method, then sell as usual. Follow results under Point of Sale > KPRA > Orders Sent and Point of Sale > KPRA > Log.
KPRA POS Integration: questions
Does it work on Community?
Yes. It depends only on the Point of Sale app, so it runs on Community and Enterprise. It covers KPRA only, not the revenue authorities of other provinces, and it isn't a federal FBR integration.
What appears on the customer's receipt?
The KPRA invoice number with a QR code for KPRA's verification page, plus the KPRA POS ID and your NTN. You can add a KPRA logo in the settings. If the bill hasn't been accepted yet, the receipt says the number is pending.
Could a bill be reported twice?
The module never posts a bill again once KPRA has accepted it, and retries reuse the same invoice number. Retries stop after 20 attempts, and you can still press Send to KPRA on the order to try by hand.
How are refunds handled?
For restaurants, refunds are sent to the KPRA credit note API as full or partial credit notes, unless you untick Send Refunds. Hotel refunds aren't sent automatically, because KPRA hasn't published the hotel credit note fields, so those have to be entered on the KPRA portal.
Can I test before going live?
KPRA publishes test credentials in its RIMS developer guide, and you can use them on a test point of sale before entering your real POS ID and key. Confirm your registration details and tax rates with KPRA or your tax adviser before you start reporting real sales.
Is there an Urdu translation?
Yes, an Urdu translation file is included alongside English.
Related apps

Honduras POS SAR CAI
Honduras POS SAR CAI - CAI numbering and fiscal receipt on the Odoo Point of Sale
Point of Sale
Hotel POS Charge to Room
An in-house guest eats in the restaurant or orders room service and signs the bill to the room. The till picks the room, the server checks the stay, and the sale lands on the guest folio as an invoice to pay at checkout.
Point of Sale
Merge POS Orders
Combine POS orders: merge paid or draft orders in the back office, and merge open orders on the till.
Point of Sale
Mongolia eBarimt PosAPI 3.0
Mongolia eBarimt for Odoo 19: send invoices and POS orders to your own PosAPI 3.0, and keep the receipt number, lottery code and QR
Point of Sale