| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 1040 |
| Technical Name |
l10n_lk_fiscal_invoice_print |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 1040 |
| Technical Name |
l10n_lk_fiscal_invoice_print |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
Sri Lanka VAT Tax Invoice
IRD standardized tax-invoice PDF layout with every mandatory disclosure field
Print a fully compliant Sri Lanka VAT Tax Invoice straight from Odoo, laid out exactly the way the Inland Revenue Department's standardized Tax Invoice format requires. The module adds the supplier and purchaser TIN blocks, the standardized invoice serial number, the mode-of-payment field, the total written in words, and a one-click pre-print compliance check so an invoice can never leave your office missing a mandatory disclosure field.
What this module does
Standardized layout
A standalone A4 PDF report with the "TAX INVOICE" heading, the supplier block in the top-left corner and the purchaser block in the top-right corner, exactly as prescribed.
Pre-print compliance gate
Before a PDF is produced, every mandatory field is validated. Missing supplier TIN, a VAT-registered buyer without a TIN, a malformed serial, no payment mode — each is surfaced and blocks the print until corrected.
Mandatory disclosure fields covered
| Field | How the module handles it |
|---|---|
| "TAX INVOICE" heading | Printed prominently at the top of every document. |
| Supplier TIN, name, address, telephone | Filled from the company record; TIN is validated as a 9-digit IRD number. |
| Purchaser name, address, TIN | Purchaser TIN becomes mandatory when the partner is flagged VAT-registered. |
| Invoice serial number | Auto-assigned in the YYMMM_QQQQ_XXXXX structure (max 40 chars, no spaces), with a gap-free monthly sequence per branch. |
| Invoice date & date of delivery | Both rendered in the prescribed MM/DD/YYYY format. |
| Description of supply & quantity | Taken from every invoice line; empty descriptions or zero quantities are blocked. |
| Net amount, VAT, total consideration | Shown as three separate figures, with VAT at the standard 18% rate. |
| Total in words | Generated automatically in Sri Lanka Rupees. |
| Mode of payment | Selectable: Cash, Bank Transfer, Cheque, Card, Mobile or Online. |
| Currency rule | All amounts presented in whole LKR (no cents), rounded per the standard. |
| Retention & 14-day notes | The 5-year retention and 14-day request notices are printed in the statutory footer. |
Key features
Serial numbering engine
Concurrency-safe, gap-free monthly sequence per company and branch code, formatted to the exact standardized structure.
Batch compliance
Select several customer invoices and run a single compliance pass; the wizard reports compliant versus blocked documents and prints the compliant ones.
Amount in words
A built-in LKR words converter writes the total consideration in English, rounded to whole rupees.
How it works
- Set the company TIN and branch/unit code under the Sri Lanka VAT Tax Invoice section.
- Flag VAT-registered customers and record their TIN on the contact form.
- Create and post a customer invoice — the standardized serial number is assigned automatically.
- Use the LK Tax Invoice button on the invoice, or the Accounting menu wizard, to validate and print.
Scope & disclosure
This module produces the compliant VAT tax-invoice PDF layout and stores it as an Odoo report attachment inside your own database. It is a formatting and disclosure tool: it does not transmit data to any government system. The standard VAT rate and field requirements reflect the published Inland Revenue Department standardized Tax Invoice format. Always keep your tax configuration aligned with current IRD guidance.
Screenshots
Tax Invoice Compliance Check
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module