Fbr Integration

FBR Pakistan Digital Invoicing Integration with ERPNext

Install Fbr Integration

bench get-app https://github.com/ggraza/fbr_integration

Add the Frappe Gems badge to your README

Maintain Fbr Integration? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=ggraza%2Ffbr_integration)](https://frappegems.com/gems/apps/ggraza/fbr_integration)

About Fbr Integration

## FBR Integration FBR integration is the process of connecting a business's transactional systems, such as Point of Sale (POS) or accounting software, directly to the Federal Board of Revenue (FBR) of Pakistan's central database. ## Installation To install the fbr_integration custom app, follow the steps below: 1. Make sure you have Frappe installed and set up in your environment. 2. Clone the fbr_integration repository from GitHub into the `apps` directory of your Frappe instance: ``` cd frappe-bench bench get-app fbr_integration https://github.com/ggraza/fbr_integration.git ``` 3. Install the app using the Frappe Bench: ``` bench setup requirements ``` ``` bench pip install -r apps/fbr_integration/requirements.txt ``` OR ``` bench pip install qrcode[pil] ``` ``` bench build --app fbr_integration bench restart ``` ``` cd frappe-bench bench --site yoursitename install-app fbr_integration ``` #### Print Formate ``` {% if letter_head %} {{ letter_head }} {% endif %}

{{ _("") }} {{ doc.company }}
{{ doc.select_print_heading or _("Sale Invoice") }}
{{ _("") }} {{ doc.get_formatted("posting_date") }} {{ doc.get_formatted("posting_time") }}
{{ _("") }} {{ doc.name }}
{{ _("Tax Information: LTO-Lahore") }}
{{ _("PoS No") }} {{ doc.pos_id }} - {{ _("NTN No") }} {{ doc.ntn_no }}

{%- for item in doc.items -%} {%- endfor -%}
{{ _("Item") }} {{ _("Qty") }} {{ _("Rate") }} {{ _("Amount") }}
{{ item.item_name }} {{ item.qty }} {{ item.get_formatted("rate") }} {{ item.get_formatted("amount") }}
{% if doc.flags.show_inclusive_tax_in_print %} {% else %} {% endif %} {%- for row in doc.taxes -%} {%- if not row.included_in_print_rate or doc.flags.show_inclusive_tax_in_print -%} {%- endif -%} {%- endfor -%} {%- if doc.discount_amount -%} {%- endif -%} {%- if doc.rounded_total -%} {%- endif -%} {%- for row in doc.payments -%} {%- endfor -%} {%- if doc.change_amount -%} {%- endif -%}
{{ _("Total Excl. Tax") }} {{ doc.get_formatted("net_total", doc) }} {{ _("Total") }} {{ doc.get_formatted("total", doc) }}
{% if '%' in row.description %} {{ row.description }} {% else %} {{ row.description }}@{{ row.rate }}% {% endif %} {{ row.get_formatted("tax_amount", doc) }}
{{ _("Discount") }} {{ doc.get_formatted("discount_amount") }}
{{ _("Net Total") }} {{ doc.get_formatted("rounded_total") }}
{{ row.mode_of_payment }} {{ row.get_formatted("amount", doc) }}
{{ _("Paid Amount") }} {{ doc.get_formatted("paid_amount") }}
{{ _("Change Amount") }} {{ doc.get_formatted("change_amount") }}

{{ doc.terms or "" }}

{{ _("The sale value includes GST where leviable") }}

{{ doc.company }}{{ _(" Undertaking:I have checked goods & have no complaints in this regards") }}

{{ _("No Refund & No Exchange") }}

{% set qr_code_url = "/files/qrcodes/" + doc.name + ".png" %}

{{ _("FBR Invoice No.:") }} {{ doc.fbr_integration_no }}

Verify this invoice through FBR TaxAssan Mobile app or SMS at 9966 and win exciting prises in draw.

{{ _("For any Assistance, Please Contact Customer Care:") }}: UAN

{{ _("Thank you for visiting ") }}{{ doc.company }}{{ _(", We look forward to Welcome You again.") }}

Customized by {{ _("g2virtu.com") }} 0339-4284788

``` #### License MIT

Related Integrations apps for Frappe & ERPNext

  • Insights — Open Source Business Intelligence Tool
  • Raven — Simple, open source team messaging platform
  • Frappe Whatsapp — WhatsApp cloud integration for frappe
  • Frappe Assistant Core — Infrastructure that connects LLMs to ERPNext. Frappe Assistant Core works with the Model Context Protocol (MCP) to expose ERPNext functionality to any compatible Language Model
  • Biometric Attendance Sync Tool — A simple tool for syncing Biometric Attendance data with your ERPNext server
  • Frappe React Sdk — React hooks for Frappe
  • Frappe Js Sdk — TypeScript/JavaScript library for Frappe REST API
  • Mcp — Frappe MCP allows Frappe apps to function as MCP servers