New API Sandbox Environment for FBR Integration Testing
FBR launches comprehensive sandbox environment allowing developers to test integrations without affecting production data.
Developer Relations
March 18, 2026
The Federal Board of Revenue has launched a fully-featured sandbox environment for developers and businesses to test their FBR integrations before going live.
Sandbox Features
The new testing environment includes:
Complete API Mirror
- All production endpoints available in sandbox
- Same request/response formats
- Realistic error scenarios for testing
- Rate limiting simulation
Test Data Generation
The sandbox provides tools for generating test data:
- Sample NTN numbers for testing
- Test invoice generation
- Mock payment confirmations
- Simulated FBR responses
Accessing the Sandbox
Developers can access the sandbox by:
- Registering on the FBR Developer Portal
- Creating a sandbox application
- Generating API credentials for testing
- Using sandbox base URL for all test requests
Important Notes
Sandbox credentials are separate from production. Never use production credentials in test environments, and never use sandbox credentials in production.
Support Resources
Comprehensive documentation, code samples, and Postman collections are available on the developer portal. Technical support is available through the developer forum.
The sandbox helps reduce integration errors and ensures smooth transition to production systems.