Operations and Troubleshooting
This document covers production operations, monitoring, and common failure
paths.
Operational Checklist
Before production use:
- verify the company is using
Productionmode - verify bearer tokens are valid
- verify items have HS codes and required sale type data
- verify customers that need DI are explicitly enabled
- verify tax mappings are correct
- verify
DI Logis reviewed during rollout
Key Operational Records
The main records to watch during support are:
DI SettingsDI LogSales InvoicePurchase InvoicePOS Profile
DI Log Usage
Use DI Log to inspect:
- exact payload sent to FBR
- exact response returned by FBR
- failed validation details
- FBR invoice number assignment
Troubleshooting
Invoice did not post
Check:
DI Settings.enabledAuto Post on Submit- customer enablement for DI sales invoices
- missing HS code, PCT code, or SRO fields
DI Logrequest and response payloads
Unauthorized response from FBR
Check:
- DI bearer token
- POS bearer token
- whether the token matches sandbox or production mode
Reference sync failed
Check:
- company context
- token validity
DI Logentries with API typeReference
POS fiscalization failed
Check:
- POS Profile credentials
- PCT codes on items
- payment mode mappings
DI Logentries with API typePOS Fiscal
Buyer verification failed
Check:
- customer NTN/CNIC
- DI access token
DI Logentries with API typeSTATL
Rollout Advice
- start with one company in sandbox
- use invoice preview and validation before live posting
- monitor
DI Logafter every configuration change - move to production only after consistent sandbox success
Last updated 3 hours ago
Was this helpful?