France VAT Return - Selenium extension
This module aims at providing an alternative in-between 2 solutions:
- the teletransmission of VAT returns. Teletransmission of VAT return requires a paid subscription to a teletransmission gateway. Such a solution is provided by the OCA module l10n_fr_account_vat_return_teledec.
- the manual copy of the CA3 form on impots.gouv.fr from the lines of the VAT return in Odoo (or the PDF report generated by Odoo). As Odoo developpers, we hate stupid manual work.
This module is the only solution which proposes a sort of free tele-transmission of the CA3, via the auto-fill of the CA3 form on impots.gouv.fr. For that, this module relies on Selenium IDE, which is a plugin available for Firefox and Chrome. Selenium is a free-software project initially designed to test Websites.
This solution only works on the form 3310-CA3 ; it doesn't work when you have VAT boxes on the form 3310-A or you asked for a VAT credit reimbursement via form 3519.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Adds a button on the French VAT return (CA3) form that generates a Selenium IDE file to automatically fill the CA3 form on impots.gouv.fr. It works only for monthly returns without 3310-A lines.
This module extends the French VAT return screen (l10n.fr.account.vat.return) with a new button called "Generate Selenium File", placed next to the existing CA3 print button.
The button is only visible when the return is in the 'auto' state and the VAT periodicity is monthly ('1'). When clicked, Odoo builds a Selenium IDE file (a .side file) that contains the steps to open impots.gouv.fr, log into the professional area, select the VAT section, check the SIREN, open the correct monthly period, and type the amounts into the CA3 form fields.
Business rules enforced by the code: - Only monthly CA3 returns are supported; otherwise an error is raised. - The return must not contain any 3310-A lines; otherwise an error is raised. - The company must have a SIRET number; otherwise an error is raised. - Only boxes of type 'MOA' can be exported; other box types raise an error. - Each exported box must have an NREF code; otherwise an error is raised.
The generated file is stored as an attachment on the VAT return and can be downloaded from the form. A message is posted in the chatter with a link to the Selenium IDE website. The attachment is automatically deleted if the related journal entry and attachments are removed.
Depends on
Models and fields (1)
- l10n.fr.account.vat.return · extends an existing modelselenium_attachment_id, selenium_attachment_name (Selenium Filename), selenium_attachment_datas (Selenium File)
Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/l10n-france.
terminal Installation and usage
OCA documentation · Odoo 14.0Usage
Source · Odoo 14.0At the step Automatic Lines, you will see a button Generate Selenium File. When you click on this button, Odoo will generate a scenario file for Selenium IDE.
Then, follow these steps:
- in your web browser, click on the icon corresponding to Selenium IDE and load in the Selenium IDE file
- it will start a new web browser window that will connect to impots.gouv.fr
- enter your credentials for impots.gouv.fr and then the scenario will continue it's execution until the selection of the form
- select the form corresponding to the VAT period
- Odoo will fill-up all the boxes of the CA3 form with the values computed by Odoo
- Validate and form and confirm it
- Follow the process to make the corresponding payment (unless if your company has a VAT credit).
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.