JPK V7 VAT File
The JPK_V7M and JPK_V7K VAT file for Poland from Odoo Community: sales and purchase registers plus the VAT-7 declaration, checked against the official schema and ready to upload to the tax portal.
| Odoo | 16.0, 17.0, 18.0, 19.0, 20.0 |
| Editions | Community, Enterprise |
| Works with | Accounting, Poland localization (l10n_pl) |
| Licence | OPL-1, 299 EUR |
| Tests | 13 automated, run on every version |
| Module | pl_ |
The situation
Every month the accountant of a Polish company needs the JPK_V7M file: one XML with SprzedazWiersz and ZakupWiersz rows, the control totals, and the VAT-7 declaration. The l10n_pl chart already puts the JPK field names on the taxes (K_19 and K_20 on 23% sales, K_42 and K_43 on domestic purchases), and Odoo Community shows the totals in the Tax Report. It cannot write the file. The official export is part of an Enterprise module, so the accountant retypes the registers into the MF tool or buys a separate connector.
This module reads those same K_ tags from posted documents and builds the file for the current JPK_V7 (3) schema. You open JPK_V7 Files, pick the month, press Compute Rows, read every register row and warning, and press Generate XML. The XML is validated against the Ministry of Finance schema before it is attached, so a file that would be rejected never reaches you. Nothing is sent anywhere: you upload the file to the tax portal yourself.
What it adds
Getting started
Open Apps, clear the Apps filter, search for pl_jpk_v7_export and click Activate. It needs Accounting and the Poland localization (l10n_pl); your company must use the Polish chart of accounts so the taxes carry the K_ tags.
Apps › pl_jpk_v7_export › Activate
Set the tax office of your company in Settings › Accounting › Poland (KodUrzedu), and give the company a NIP and an email. Then mark what the file cannot guess on the documents: the JPK_V7 tab of an invoice holds the KSeF number, the document type and extra marks, products and partners have the same kind of field.
Invoice › JPK_V7 tab
Accounting › Reporting › JPK_V7 Files › New. Pick the form and month, press Compute Rows, read the Sales Register, Purchase Register, Declaration and Warnings tabs, fill in the declaration fields Odoo cannot know, and press Generate XML. Download the XML from the record or from its chatter and upload it to the tax portal. Your accountant must still check the declaration fields before filing.
Fine print
Log
Does it match how my chart and taxes are set up?
Tell us which chart and taxes you use and we will say what the file will contain.
Email odoo.expert.111@gmail.com
Also by Awins
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