Ksa Compliance
KSA Compliance App for KSA E-invoice
- Author: lavaloon-eg
- Repository: https://github.com/lavaloon-eg/ksa_compliance
- GitHub stars: 82
- Forks: 92
- License: AGPL-3.0
- Category: Localization
- Maintenance: Actively Maintained
- Frappe versions: develop
Install Ksa Compliance
bench get-app https://github.com/lavaloon-eg/ksa_compliance
Tags
- erpnext
- erpnext-application
- erpnext-customization
- zatca
- zatca-integration
- zatca-phase-1
- zatca-phase-2
- zatca-second-phase
Add the Frappe Gems badge to your README
Maintain Ksa Compliance? Paste this into your README:
[](https://frappegems.com/gems/apps/lavaloon-eg/ksa_compliance)
About Ksa Compliance
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
- ZATCA Phase 1 - compliance
- ZATCA Phase 2 - compliance
- Simplified invoice
- Standard Invoice
- Wizard onboarding
- Automatic ZATCA CLI setup
- Tax exemption reasons
- ZATCA dashboard
- Embedded Invoice QR without impacting storage
- Embedded Invoice XML without impacting storage
- ZATCA phase 1 print format
- ZATCA phase 2 print format
- Resend process
- Rejection process
- ZATCA Integration Live and Batch modes
- Multi-company support
- Multi-device setup
- Embedded compliance checks log
- System XML validation
- 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 theSales Invoicedocument
- Please include bench information (i.e. output of
- For paid features, you can email us:
Contributing
Issues
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
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
- 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
- India Banking — Integrates ERPNext with ICICI, HDFC, AXIS, YES, Kotak Mahindra, HSBC, Union Bank and Bank of Baroda for INR transactions. Vendor Payouts, Payroll Payouts, Statement Reconciliation, Virtual Account for Receipts are handled as suported by specific banks