Zatca Bridge

A free and open-source Frappe application for KSA Compliance (ZATCA Integration), offering support for both Phase 1 and Phase 2.

Install Zatca Bridge

bench get-app https://github.com/01Tuner/zatca_bridge

Add the Frappe Gems badge to your README

Maintain Zatca Bridge? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=01Tuner%2Fzatca_bridge)](https://frappegems.com/gems/apps/01Tuner/zatca_bridge)

About Zatca Bridge

KSA Compliance

A free and open-source Frappe application for KSA Compliance (ZATCA Integration), offering support for both Phase 1 and Phase 2.

Main Features

  1. ZATCA Phase 1 - compliance
  2. ZATCA Phase 2 - compliance
  3. Simplified invoice
  4. Standard Invoice
  5. Wizard onboarding
  6. Automatic ZATCA CLI setup
  7. Tax exemption reasons
  8. ZATCA dashboard
  9. Embedded Invoice QR without impacting storage
  10. Embedded Invoice XML without impacting storage
  11. ZATCA phase 1 print format
  12. ZATCA phase 2 print format
  13. Resend process
  14. Rejection process
  15. ZATCA Integration Live and Batch modes
  16. Multi-company support
  17. Multi-device setup
  18. Embedded compliance checks log
  19. System XML validation
  20. Support ZATCA Sandbox

How to Install

  • Frappe Cloud:\ One-click installing available if you are hosting on Frappe Cloud
  • Self Hosting:
bench get-app --branch master https://github.com/lavaloon-eg/ksa_compliance.git
bench setup requirements
bench  --site [your.site.name] install-app ksa_compliance
bench  --site [your.site.name] migrate
bench restart

Support

Frappe Cloud:

  • If you are hosting on FC premium support is available

Self Hosting:

  • If you need premium support please email: Info@lavaloon.com

Community Support:

  • Available in GitHub discussions

New Features and Bug report:

  • Please Create Github Issue after checking the existing issues
    • Please include bench information (i.e. output of bench version)
    • For invoice rejections, please attach or paste the generated invoice XML (from Sales Invoice Additional Fields), any validation warnings/errors, and screenshots of the Sales Invoice document
  • For paid features, you can email us:

Contributing

Issues

Issue Guidelines

Development Setup (PRs)

This project is configured to run ruff lint and run format before commits, but you have to set it up locally as follows. Setup development dependencies:

bench setup requirements --dev

Activate the bench environment:

source env/bin/activate

Install the pre-commit hook:

pre-commit install

This will generate a git hook at .git/hooks/pre-commit. This hook will run before committing and will fail if: * There are errors that can't be automatically fixed. In this case, fix them manually and commit * If formatting changes were applied. In this case, simply try to commit again and it should go through

You can run either manually from bench after activating the environment using:

ruff lint
ruff format

You can also add them as "External Tools" in PyCharm to be able to run them from the Tools -> External Tools menu (or assign them shortcuts from the action search menu)

License

Copyright (c) 2024 LavaLoon, The KSA Compliance App code is licensed as AGPL

KSA Compliance

A free and open-source Frappe application for KSA Compliance (ZATCA Integration), offering support for both Phase 1 and Phase 2.

Main Features

  1. ZATCA Phase 1 - compliance
  2. ZATCA Phase 2 - compliance
  3. Simplified invoice
  4. Standard Invoice
  5. Wizard onboarding
  6. Automatic ZATCA CLI setup
  7. Tax exemption reasons
  8. ZATCA dashboard
  9. Embedded Invoice QR without impacting storage
  10. Embedded Invoice XML without impacting storage
  11. ZATCA phase 1 print format
  12. ZATCA phase 2 print format
  13. Resend process
  14. Rejection process
  15. ZATCA Integration Live and Batch modes
  16. Multi-company support
  17. Multi-device setup
  18. Embedded compliance checks log
  19. System XML validation
  20. Support ZATCA Sandbox

How to Install

  • Frappe Cloud:\ One-click installing available if you are hosting on Frappe Cloud
  • Self Hosting:
bench get-app --branch master https://github.com/lavaloon-eg/ksa_compliance.git
bench setup requirements
bench  --site [your.site.name] install-app ksa_compliance
bench  --site [your.site.name] migrate
bench restart

Support

Frappe Cloud:

  • If you are hosting on FC premium support is available

Self Hosting:

  • If you need premium support please email: Info@lavaloon.com

Community Support:

  • Available in GitHub discussions

New Features and Bug report:

  • Please Create Github Issue after checking the existing issues
    • Please include bench information (i.e. output of bench version)
    • For invoice rejections, please attach or paste the generated invoice XML (from Sales Invoice Additional Fields), any validation warnings/errors, and screenshots of the Sales Invoice document
  • For paid features, you can email us:

Contributing

Will using this the same guidelines from ERPNext

  1. Issue Guidelines
  2. Pull Request Requirements

License

Copyright (c) 2024 LavaLoon, The KSA Compliance App code is licensed as AGPL

Related Localization apps for Frappe & ERPNext

  • Wiki — Free and Open Source Wiki built on top of Frappe
  • India Compliance — Simple, yet powerful compliance solutions for Indian businesses
  • Nepal Compliance — Open source ERP for Nepal with HR, Payroll & Accounting compliance, based on ERPNext by Frappe Technologies.
  • Erpnextswiss — ERPNext application for Switzerland-specific use cases
  • Erpnext Germany — ERPNext customizations for German companies
  • Ksa Compliance — KSA Compliance App for KSA E-invoice
  • Zatca Erpgulf — Implementation of Zatca Phase-2 E-Invoicing - for FrappeCLoud
  • Kenya Compliance — KRA eTIMS Tax Compliance Integration This app works to integrate ERPNext with KRA's eTIMS via the Online Sales Control Unit (OSCU) to allow for the sharing of information with the revenue authority.via OSCU with ERPNext