| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 1428 |
| Technical Name |
l10n_ro_saft_stock_gb |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 1428 |
| Technical Name |
l10n_ro_saft_stock_gb |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
Romania SAF-T D406 - Sub-declaratia de Stocuri
Fisier de audit de inventar ANAF la cerere (Declaratia 406 - Stocuri), generat direct din Odoo Inventar
Cand ANAF iti cere evidenta stocurilor, trebuie sa depui un fisier SAF-T D406 care acopera doar sectiunile de inventar ale schemei pentru fiecare luna sau trimestru solicitat. Acest modul construieste acel fisier din istoricul real de stoc Odoo: stocul fizic de deschidere si inchidere per depozit, fiecare intrare si iesire de marfa, codurile tarifare din Nomenclatura Combinata UE si CUI-ul validat de ANAF al fiecarei parti implicate.
Ce genereaza
PhysicalStock (SAF-T 2.10)
Cantitatea si valoarea stocului de deschidere si inchidere pentru fiecare produs in fiecare locatie de depozit intern, cu identificatorul proprietarului stocului, descrierea produsului si codul de clasificare tarifara NC.
MovementOfGoods (SAF-T 4.4)
Fiecare intrare de marfa (Receptie) si iesire (Livrare) din perioada solicitata, grupate dupa documentul sursa, cu cantitati, preturi unitare, valori de linie si CUI-ul furnizorului sau clientului.
Functii cheie
Cifre reale de stoc din Odoo
Soldurile de deschidere si inchidere sunt derivate din istoricul
tau validat stock.move, nu reintroduse. Deschidere =
fluxul intern net inainte de inceputul perioadei; inchidere =
fluxul intern net pana la sfarsitul perioadei. Transferurile
interne intre depozite urmarite sunt gestionate.
Coduri NC / Nomenclatura Combinata
Seteaza codul tarifar din Nomenclatura Combinata UE per produs. Codurile sunt validate structural (4 / 6 / 8 / 10 cifre, capitol HS real) si normalizate la codul CN de 8 cifre in fisier.
Validare CUI si CNP ANAF
Identificatorii companiei si partenerilor sunt verificati cu algoritmul oficial ANAF al cifrei de control (CUI) si suma de control CNP de 13 cifre inainte de construirea fisierului, astfel incat erorile structurale sunt prinse in Odoo.
Reguli de business inainte de depunere
Un validator incorporat raporteaza identificatori lipsa, coduri NC invalide sau lipsa, stoc negativ, potrivirea numarului de miscari si verificarea continuitatii fluxului de stoc (deschidere + primit - iesit = inchidere) inainte sa deschizi vreodata ANAF DUKIntegrator.
Luna sau trimestru
Depune perioada numita in notificarea ANAF: alege o luna sau un trimestru in asistentul de generare, iar limitele perioadei sunt derivate pentru tine.
XML determinist
Cantitati la sase zecimale, bani la doua, spatiul de nume OECD SAF-T 2.0 localizat pentru Romania si un antet editabil de identificare a software-ului - gata pentru validatorul ANAF Schema_D406.xsd.
Sectiunile de stoc SAF-T D406 acoperite
| Sectiune schema | Continut |
|---|---|
| Header | Versiunea fisierului de audit, tara, CUI / numar de inregistrare companie, baza contabila fiscala, perioada si identificarea software-ului. |
| MasterFiles / Products | Cod produs, descriere, cod tarifar NC, unitate de masura si metoda de evaluare pentru fiecare produs raportat. |
| MasterFiles / PhysicalStock | Depozit, produs, proprietar, cod NC, cantitate si valoare de deschidere si inchidere, pret unitar. |
| SourceDocuments / MovementOfGoods | Intrari si iesiri cu referinta, tip, data, depozit, CUI parte, linii si totaluri. |
Cum functioneaza
- Seteaza CUI-ul roman si numarul de registrul comertului al companiei, si codul tarifar NC pe fiecare produs de stoc.
- Deschide Inventar > SAF-T Stocuri D406 > Genereaza Stocuri D406, alege luna sau trimestrul si depozitele solicitate.
- Odoo colecteaza stocul de deschidere / inchidere si miscarile perioadei, ruleaza regulile de business si construieste XML-ul de stocuri D406.
- Descarca fisierul si incarca-l prin propriul cont ANAF SPV / DUKIntegrator.
BYOK si limita de date
Acest modul doar construieste si stocheaza XML-ul de stocuri SAF-T D406 in baza ta de date Odoo. Nu este o poarta de transmisie certificata: depunerea la ANAF este efectuata de tine, cu propriile credentiale SPV / DUKIntegrator. Niciun dat de stoc nu este transmis nicaieri de acest modul.
English
Romania SAF-T D406 Stock Sub-Declaration
On-demand ANAF inventory audit file (Declaratia 406 - Stocuri), generated straight from Odoo Inventory
When ANAF requests your stock records, you must file a D406 SAF-T file covering only the inventory sections for each requested period. This module builds it from your real Odoo stock history: opening and closing physical stock per warehouse, every receipt and issue, the EU Combined Nomenclature codes and the ANAF-validated CUI of every party.
- PhysicalStock (2.10) opening/closing quantity and value per product per internal location.
- MovementOfGoods (4.4) receipts and issues grouped by source document, with party CUI.
- Real figures derived from validated
stock.movehistory; opening/closing as net internal flows.
- NC / Combined Nomenclature codes validated structurally and normalised to 8-digit CN.
- ANAF CUI control-digit and 13-digit CNP validation; pre-submission stock-flow continuity check.
- Month or quarter; deterministic XML for the Schema_D406.xsd validator; Odoo 18 & 19.
BYOK: this module only builds and stores the SAF-T D406 stock XML inside your Odoo database. It is not a certified transmission gateway; submission to ANAF is by you, with your own SPV / DUKIntegrator credentials.
Screenshots
Stock Declarations
Generate D406 Stock
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