# FBR reporting

> Connect Daftiq to FBR, report sales invoices, POS sales and credit notes, print the FBR invoice number and QR code, and resend failed submissions.

URL: https://daftiq.com/page/guide-fbr (updated 2026-11-23)

## FBR reporting

Daftiq can report your sales to FBR (Federal Board of Revenue) as you make them. Each accepted sale gets an FBR invoice number, which is printed with a QR code on the invoice or POS receipt. This guide shows how to connect, test and keep an eye on your submissions.

### Before you start

- You need the **FBR POS & e-Invoicing** module.

- You need your **POS ID** and **token** from FBR, plus your **NTN** and **STRN**. Register your point of sale with FBR first. Daftiq cannot do that for you.

- You need permission to manage FBR settings. The company owner has it.

### What gets reported

- **Sales invoices**, when you post them.

- **POS sales**, when the sale is completed.

- **Credit notes**, when you approve them. They are sent as a credit against the original invoice.

Drafts are never reported. Daftiq uses FBR's POS integration service for all of these.

### 1. Connect to FBR

- Open **Money → Accounting → FBR reporting**. The page is called **FBR POS & e-invoicing**.

- In **Settings**, tick **Report sales to FBR**.

- Choose the **Mode**:

- **Simulate (no FBR call)**: nothing is sent. Use it to see how things work.

- **FBR sandbox**: sends to FBR's test system.

- **Live**: real reporting.

- Enter your **POS ID (from FBR)** and **FBR token**. Both are needed for sandbox and live. The token is stored encrypted.

- Enter your **NTN** and **STRN**.

- Enter the **Default PCT / HS code** for your goods. The same code is sent for every item.

- If you charge provincial sales tax on services, choose the authority in **Sales tax on services** (FBR, PRA, SRB, KPRA or BRA). This prints on the tax invoice.

- Leave **Endpoint** blank to use FBR's default address.

- Click **Save**.

### 2. Test before going live

There is no separate test button. Instead:

- Set the mode to **FBR sandbox** and save.

- Post a test invoice or make a test POS sale.

- Go back to **FBR reporting** and check the **Reported documents** table. The sale should show as **Sent** with an FBR number.

- When everything works, switch the mode to **Live** and save.

In simulate and sandbox mode, receipts mark the number as a test number.

### 3. What your customer sees

- The sales invoice PDF and the online invoice page show the **FBR Invoice No.** and a QR code.

- Printed POS orders show the FBR invoice number and QR code. The quick receipt printed right after a sale does not, so reprint from **POS orders** if the customer needs it.

- Each sales invoice also has a **Tax invoice** print with your NTN and STRN, the buyer's NTN, the value without tax, the rate and the sales tax. If the invoice is not reported yet, it says so.

### 4. If FBR does not accept a sale

Your sale always goes through in Daftiq, even when FBR is down or slow. The submission waits as **Pending** and Daftiq tries again automatically:

- Retries happen after 1, 5, 15, 30, 60, 120, 240 and 480 minutes.

- After 8 failed tries, the status becomes **Failed**. The error from FBR is shown in red under the status.

To deal with a failed or pending sale:

- Open **Money → Accounting → FBR reporting**.

- Click the **Failed** or **Pending** card to filter the list.

- Read the error. Common causes are a wrong POS ID or token, or FBR not being reachable.

- Fix the cause (for example, correct the settings) and click **Resend** on the row.

If you start reporting partway through a month, click **Report this month's invoices**. Daftiq queues posted invoices from the 1st of this month that were never reported, and sends them within about 10 minutes.

### 5. Check your figures

The **Sales tax summary: reported vs books** section compares the last 6 months: documents reported, value without tax, tax reported, what is not reported yet, and the tax in your books. Any difference shows you what to look at before you file. To prepare the return itself, see **Money → Accounting → Tax returns** in [Accounting and reports](https://daftiq.com/page/guide-accounting-and-reports).

### Tips

- Check the FBR page once a day for anything **Failed**.

- Keep the default PCT / HS code correct for your main goods. Ask your tax adviser if unsure.

- Do not delete or re-enter a sale to fix an FBR error. Fix the settings and use **Resend**, so the sale is not reported twice.

### Related guides

- [Sales and invoicing](https://daftiq.com/page/guide-sales-and-invoicing)

- [Point of Sale](https://daftiq.com/page/guide-pos)

- [Accounting and reports](https://daftiq.com/page/guide-accounting-and-reports)
