Thursday, May 21, 2026
1 change · master
Enhancements to existing features
The Egyptian localization now focuses on standard 14% VAT and clearer withholding tax handling, reducing outdated or confusing tax options. This helps businesses avoid incorrect tax selections that can cause e-invoice rejections or compliance issues with Egyptian tax authorities.
Original PR description
Refactored and simplified the Egyptian tax configuration and related reports to improve clarity, compliance, and maintainability. In our effort to simplify, the time has come to drastically clean up…
Refactored and simplified the Egyptian tax configuration and related reports to improve clarity, compliance, and maintainability. In our effort to simplify, the time has come to drastically clean up the taxes and tax reports setup. Our rationale is: Mitigation of Technical Debt: Current configurations for Schedule and Stamp taxes lacked consistent market validation and were prone to calculation errors in "Tax on Tax" scenarios (e.g., Soda/Carbonated drinks). Removing these ensures the core module remains lean and bug-free. Regulatory Accuracy: Following the major shifts in Law No. 157 of 2025 (e.g., the transition of Construction from 5% Table Tax to 14% Standard VAT), many existing Schedule Tax templates became legally obsolete. A complete purge prevents users from accidentally selecting outdated tax rates that could lead to ETA audit failures. User Experience (UX) Guardrails: In the Egyptian market, incorrect tax selection is a leading cause of e-invoice rejection on the ETA portal. By limiting the default scope to "Generic" and "Withholding" taxes, we provide a "safe-by-default" experience for the vast majority of our users. Key Changes: * Standardized 14% VAT for sales and purchases with correct repartition lines, ETA codes, and account mappings. * Restructured import VAT (division-based) to separate base and VAT logic while complying with Odoo validation rules. * Simplified the base tax report. * Refactored the withholding report to enhance readability and consistency. Cleanup: * Removed Schedule Tax and Other Tax return reports to reduce redundancy and avoid confusion. Withholding Tax (WHT) Enhancements: * Introduced dual-handling for WHT scenarios: Deducted Withholding: Supports the standard "Discount & Addition" flow where tax is subtracted from vendor payments, reducing liability. Gross Withholding (Gross-up): Provides a new automated mechanism for "Net-of-Tax" agreements, allowing companies to bear the tax burden while ensuring a fixed net payment to the recipient. Notes: * import taxe, as well as 1%, 3%, and 5% invoice- based deducted withholding taxes, are currently kept inactive and reserved for future implementation and regulatory updates. In summary, this update shifts the module toward a high-stability core, focusing on 14% Standard VAT and advanced withholding scenarios that represent the majority of Egyptian business operations. task-4967527 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr