ITA - Inversione contabile
l10n_it_reverse_charge · OCA/l10n-italy
-
Security25/25No findings
-
Activity12/25Last human commit 23 months ago
-
Required by25/255 modules depend on it
-
Maturity25/25In 6 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
AccountRCTypeTax— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceview_rc_type_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_rc_type_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Italiano
Modulo per gestire l'inversione contabile (reverse charge) nelle fatture fornitore.
Il modulo permette di automatizzare le registrazioni contabili derivate dalle fatture fornitori intra UE ed extra UE mediante l'inversione contabile IVA. Inoltre è automatizzata la procedura di annullamento e riapertura della fattura fornitore.
È inoltre possibile utilizzare la modalità "con autofattura fornitore aggiuntiva". Questa modalità è usata tipicamente per i fornitori extra UE per mostrare, nel registro IVA acquisti, una fattura intestata alla propria azienda (autofattura passiva). L'autofattura passiva verrà poi totalmente riconciliata con l'autofattura attiva, anch'essa intestata alla propria azienda.
English
Module to handle reverse charge IVA in vendor bills.
The module allows you to automate the accounting entries derived from invoices of intra-EU and extra-EU suppliers through the VAT reverse charge. Furthermore, the vendor bill cancellation and reopening procedure is automated.
It is also possible to use the "additional vendor self billing" mode. This mode is typically used for non-EU suppliers to show, in the purchases VAT journal, a vendor bill addressed to your own company (self-bill). The self-bill will then be completely reconciled with the self-invoice, which is also addressed to your own company.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_it_fatturapa_in_rc, l10n_it_fatturapa_out_rc, l10n_it_reverse_charge_start_end_dates, l10n_it_vat_registries_rc, l10n_it_vat_settlement_date_rc
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_fiscal_position_form_rc |
account.fiscal.position.form.rc | account.fiscal.position | form | Inherits account.view_account_position_form |
view_invoice_line_form_rc |
view_invoice_line_form_rc | account.move.line | form | Inherits account.view_move_line_form |
view_invoice_supplier_form_rc |
account.invoice.supplier.form.rc | account.move | form | Inherits account.view_move_form |
view_rc_type_form |
account.rc.type.form | account.rc.type | form | New |
view_rc_type_tree |
account.rc.type.tree | account.rc.type | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
-
rc_type_idMany2one → account.rc.typeargs: 'account.rc.type', 'RC Type'
No public methods.
-
rc_original_purchase_invoice_idsOne2many → account.movecopy=Falsereadonly=Truestring='Original purchase invoices' args: 'account.move', 'rc_self_purchase_invoice_id' -
rc_payment_move_idMany2one → account.movecomodel_name='account.move'copy=Falsereadonly=Truestring='RC Payment Move' -
rc_purchase_invoice_idMany2one → account.movecomodel_name='account.move'copy=Falsereadonly=Truestring='RC Purchase Invoice' -
rc_self_invoice_idMany2one → account.movecomodel_name='account.move'copy=Falsereadonly=Truestring='RC Self Invoice' -
rc_self_purchase_invoice_idMany2one → account.movecomodel_name='account.move'copy=Falsereadonly=Truestring='RC Self Purchase Invoice'
-
action_post(self) -
button_cancel(self) -
button_draft(self) -
compute_rc_amount_tax_main_currency(self)Get Tax for all RC lines in Invoice's Company Currency. The result is converted and rounded based on Company Currency because this value is used for credit/debit. -
generate_self_invoice(self) -
generate_supplier_self_invoice(self) -
get_tax_amount_added_for_rc(self) -
rc_credit_line_vals(self, account, amount_ic, amount_cc) -
rc_debit_line_vals(self, account, amount_ic, amount_cc) -
rc_inv_line_vals(self, line) -
rc_inv_vals(self, partner, rc_type, lines, currency) -
rc_payment_credit_line_vals(self, line_to_reconcile)Values for the credit line of the RC Payment Move. -
rc_payment_debit_line_vals(self, line_to_reconcile, account)Values for the debit line of the RC Payment Move. -
rc_payment_vals(self, rc_type)Values for the RC Payment Move. -
reconcile_rc_invoice(self) -
reconcile_supplier_invoice(self) -
remove_invoice_payment(self) -
remove_rc_payment(self, delete_self_invoice=True)
-
rcBooleancompute='_compute_rc_flag'readonly=Falsestore=True args: 'RC' -
rc_source_line_idMany2one → account.move.linereadonly=True args: 'account.move.line'
No public methods.
-
company_idMany2one → res.companydefault=<expr>required=Truestring='Company' args: 'res.company' -
descriptionText -
journal_idMany2one → account.journalhelp='Journal used on RC self invoices.'string='Self Invoice Journal' args: 'account.journal' -
methodSelectionrequired=Trueselection=[('integration', 'VAT Integration'), ('selfinvoice', 'Self Invoice')] -
nameCharrequired=True -
partner_idMany2one → res.partnerhelp='Partner used on RC self invoices.'string='Self Invoice Partner' args: 'res.partner' -
partner_typeSelectionselection=[('supplier', 'Supplier'), ('other', 'Other')]string='Self Invoice Partner Type' -
payment_journal_idMany2one → account.journalhelp='Journal used to pay RC self invoices.'string='Self Invoice Payment Journal' args: 'account.journal' -
self_invoice_textTextargs: 'Text in Self Invoice' -
supplier_journal_idMany2one → account.journalhelp='Journal used on RC supplier self invoices.'string='Supplier Self Invoice Journal' args: 'account.journal' -
tax_idsOne2many → account.rc.type.taxcopy=Falsehelp='Example: 22_A_I_UE, 22_V_I_UE'string='Self Invoice Tax Mapping' args: 'account.rc.type.tax', 'rc_type_id' -
transitory_account_idMany2one → account.accounthelp='Transitory account used on self invoices.'string='Self Invoice Transitory Account' args: 'account.account' -
with_supplier_self_invoiceBooleanhelp='Flag this to enable the creation of an additional supplier self invoice. This is tipically used for extraUE suppliers, in order to show, in supplier register, an invoice to the specified partner (tipically, my company), instead of the extraUE partner' args: 'With additional supplier self invoice'
-
map_tax(self, taxes, key_tax_field, value_tax_field)Map each tax in `taxes`, based on the mapping defined by `self.tax_ids`. Raise an exception if a mapping is not found for some of `taxes`. :param key_tax_field: Field of the mapping lines to be used as key for searching the tax :param value_tax_field: Field of the mapping lines to be used as value for mapping the tax :param taxes: Taxes to be mapped
-
company_idMany2one → res.companyrelated='rc_type_id.company_id'store=Truestring='Company' args: 'res.company' -
original_purchase_tax_idMany2one → account.taxrequired=Falsestring='Original Purchase Tax' args: 'account.tax' -
purchase_tax_idMany2one → account.taxrequired=Truestring='Purchase Tax' args: 'account.tax' -
rc_type_idMany2one → account.rc.typeondelete='cascade'required=Truestring='RC type' args: 'account.rc.type' -
sale_tax_idMany2one → account.taxrequired=Truestring='Sale Tax' args: 'account.tax'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…