Integration Guide

PRAL FBR Extension

Complete Integration Guide for Manager.io

Overview

This guide will walk you through integrating the PRAL FBR Extension with your Manager.io application. The extension enables seamless submission of invoices to Pakistan's Federal Board of Revenue (FBR) system directly from Manager.io.

Key Features
  • Direct invoice submission to FBR from Manager.io
  • Support for both Sandbox and Production environments
  • Automatic custom field generation
  • QR code generation for compliance
  • Real-time validation and error handling
1 Get Security Token from PRAL FBR Portal

Before requesting your security token, you'll need the FBR Extension IP address for whitelist registration.

Important

The IP address below must be registered in the IP Whitelist when requesting your Security Token from PRAL.

Loading IP address...
Steps to get your token:
  1. Visit the PRAL FBR Portal and register your business
  2. During token request, provide the IP address shown above for whitelist registration
  3. Choose your desired environment:
    • Sandbox - For testing and development
    • Production - For live server operations
  4. Save the security token provided by PRAL securely
2 Add Extension to Manager.io

Configure the extension in your Manager application following these steps:

  1. Open your Manager Business Data
  2. Navigate to Settings → Extensions
  3. Click Create New Extension
  4. Configure the extension settings as shown below:
Extension Name: FBR Extension
Sources: Url
Endpoint: Loading...
Placement: sales-invoice-view
Leave Inactive unchecked
Extension Configuration Screenshot
Extension Configuration in Manager.io
Note

Ensure the extension server is running on the specified endpoint before adding it to Manager.

3 Integration Setup

Complete the integration setup within Manager.io through the following substeps:

Step 3.1: Access Extension
  1. In Manager, open the Sales tab
  2. Create a new Invoice and save it
  3. Display the Invoice View
  4. Open the FBR - Extension tab below the Invoice View
  5. You will see the setup page as shown below:
Extension Setup Page Screenshot
FBR Integration Setup Page in Manager.io
Step 3.2: Generate Custom Fields

Click the [Generate Custom Fields] button:

  • This button creates all required Custom Fields for the integration
  • Custom fields will be automatically added to your Manager database
  • Wait for the success confirmation message
Step 3.3: Configure Business Details

Complete the "Business Setup Configuration" form with your information:

  • Business Name - Your registered business name
  • NTN/CNIC - Your tax identification number
  • Province - Select your business province
  • Address - Complete business address
  • Environment - Choose Sandbox or Production (must match your token)
  • Bearer Token - Enter the security token from PRAL
Step 3.4: Validate and Save

Click [Validate Token & Update Business Details] button:

  • This tests your token against the FBR server
  • Ensure the Environment selection matches your token type
  • If validation succeeds, data will be saved to Business Details
  • The extension is now ready to submit invoices to FBR
Success

Once setup is complete, you can submit invoices to FBR directly from Manager using this extension.

Support & Resources

Troubleshooting

If you encounter issues during integration, check the following:

  • ......
  • ......
Additional Resources
Manager Community Forum Open Source Repository Technical Support