CS ComplyStream
Toggle menu
MOFU P2

FBR IP Whitelisting for Digital Invoicing

The IP to whitelist is the stable public address from which FBR sees the API request—not your office Wi-Fi address or server’s private IP.

Why FBR asks for IP details

IP whitelisting limits API access to approved network origins alongside token authentication. FBR’s Digital Invoicing User Manual asks for hosting-company name, country and public IP information before sandbox testing.

Find the outbound address

For hosted software, ask the provider for the stable egress IP used specifically for FBR calls. A private 10.x address, load-balancer inbound address or developer laptop address is not normally what FBR observes.

Portal limits can change

Version 1.5 of the user manual describes one to three IPs in the direct entry flow and a file option for multiple entries. Use the current portal format and integrator instructions because forms and limits can evolve.

Plan deployments

Serverless and autoscaling platforms may rotate outbound addresses unless configured for stable egress. Confirm sandbox and production paths before launch, and treat an infrastructure migration as a compliance-impacting change.

Troubleshoot safely

For forbidden responses, capture time, endpoint and observed outbound IP without logging the token. Compare them to the approved record, confirm the request is in the right environment, and wait for approval after updates before retrying.

Sandbox and production may differ

Document the outbound route for each environment. A developer may test sandbox from an approved office address while production leaves through a cloud gateway. One successful test does not prove the live address is approved. Confirm both paths through the selected integrator’s current process.

Store environment-specific endpoints, tokens and network settings separately. Use clear configuration names and deployment checks that prevent a sandbox credential from reaching production. Never print the secret while diagnosing which configuration was loaded.

Operational change checklist

Before a hosting migration, ask whether the public egress will change, submit any required whitelist update, wait for confirmation, and schedule a controlled validation. Keep the old route available only as long as security and the migration plan require; remove stale access through the approved process.

Monitor the first submissions after every network change. An HTTP authorization failure should enter a visible queue with the order reference and literal response. It should not trigger rapid automatic retries, which add noise without fixing an unapproved address.

Security still needs layers

Whitelisting does not replace secret management, least-privilege access, encryption, audit logs or token rotation. Anyone using an approved network path may still need a valid token, and exposed credentials remain an incident. Limit who can view or replace them and document emergency rotation.

Last updated: 2026-08-04

Not tax advice. Confirm registration scope, rates, deadlines, and filing obligations with a Pakistani tax practitioner against current FBR SROs and the Sales Tax Act. ComplyStream is not affiliated with FBR or PRAL.

See the complete Shopify invoicing workflow

Learn how order data, approved tax mappings, FBR responses and reconciliation fit together.

Related guides