OdooWiki OCA HUB
Localization License: AGPL-3

DVI - declaraţie vamala de import

Se face legatura dintre factura de achizitie si DVI (landed cost)

Se genereaza automat un DVI cu doua linii si cu TVA.

Contul 447 trebuie sa fie un cont de reconciliere pentru a se putea inchide prin banca

auto_awesome What this module does

AI-generated from the code · Odoo 20.0

Lets Romanian companies record a customs import declaration (DVI) linked to vendor bills, and automatically creates a landed cost plus the VAT accounting entries for customs duty, commission and VAT price differences.

This module adds a new document called DVI (customs import declaration) to Odoo, available under Accounting entries as "Romanian DVI" for users with the Romanian localization menus.

On a DVI you pick the vendor bills it relates to, the VAT tax, a journal, and you enter the customs duty value and the customs commission value. The lines of the selected bills are copied automatically into the DVI (only storable goods and landed-cost lines), and you can adjust the declared quantity per line; the base and VAT amounts are then recalculated from that quantity.

Totals are computed for you: invoice base and VAT, VAT on the customs duty, and the overall base and VAT totals.

Pressing Post creates a landed cost of type DVI covering the finished receipts of the related purchase orders, with cost lines for duty and commission, and posts the VAT paid at customs in an accounting entry. If you enter a VAT price difference, a separate accounting entry is generated for it. A Revert button cancels the related entries and creates a reversed landed cost.

On vendor bills a DVI button shows the linked declarations. On landed costs, DVI-specific fields (declaration, bills, tax, base and VAT amounts) appear when the cost type is DVI, and validation is blocked if no invoice is linked. The company settings gain a default product for VAT price differences, and duty, commission and price-difference products are created automatically with accounts 446, 447 and 658820 when missing.

Models and fields (6)
  • res.company · extends an existing modell10n_ro_property_vat_price_difference_product_id (Romania - Vat Price Difference Product)
  • account.move · new modell10n_ro_dvi_ids (Romania - DVI's)
  • stock.landed.cost · new modell10n_ro_tax_id (Romania - DVI Tax), l10n_ro_cost_type, l10n_ro_tax_value (Romania - VAT amount paid at customs), l10n_ro_dvi_bill_ids (Romania - DVI Invoices), l10n_ro_account_dvi_id (Romania - DVI), l10n_ro_base_tax_value (Romania - Base VAT amount)
  • l10n.ro.account.dvi · new modeldate, name, state (Status), tax_id, line_ids (DVI Lines), company_id, journal_id, currency_id, invoice_ids (Invoices), landed_cost_ids, total_tax_value, invoice_tax_value, customs_duty_value, invoice_base_value, total_base_tax_value, vat_price_difference, customs_duty_tax_value, customs_duty_product_id, customs_commission_value, vat_price_difference_move_id, customs_commission_product_id, vat_price_difference_product_id
  • l10n.ro.account.dvi.line · new modelqty, name, dvi_id (DVI Ref), tax_id, line_qty (DVI Quantity), company_id (Company), invoice_id (DVI Invoice), price_unit, product_id, vat_amount (VAT Amount), base_amount, currency_id, price_subtotal, product_uom_id, invoice_line_id
  • stock.valuation.adjustment.lines · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 20.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 20.0

Confirmed on 2026-11-03 in branch 20.0 of OCA/l10n-romania.

terminal Installation and usage

OCA documentation · Odoo 20.0

DVI - Import Customs Declaration

For creating a DVi you must go to:

Accounting -\> Actions -\> DVI * Create a new record * Complete the tax with VAT 19% deductible, invoices linked for this DVI * Complete the "Customs Duty Value" and "Customs Commission Value" * Complete the DVI lines quantity with the quantity declared * Click on button "Post" to validate the Customs declaration

At post, a landed cost is created to distribute the amounts to the correct products and creating the account moves for the VAT paid.

You have the possibility to revert one declaration, which will create new valuation layers with minus, and cancel the account move of the inital landed cost.

No verified information in OCA: Installation, Configuration.

info

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.