Türkiye - Nilvera E-Invoice Extended
l10n_tr_nilvera_einvoice_extended · odoo/odoo
Merged into l10n_tr_nilvera_einvoice in 20.0
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module enhances the core Nilvera integration by adding additional invoice scenarios and types required for Turkish e-Invoicing compliance.
Features include: 1.Support for invoice scenarios: Basic, Export, and Public Sector 2.Support for invoice types: Sales, Withholding, Tax Exempt, and Registered for Export 3.Configuration of withholding reasons and exemption reasons 4.Addition of Tax Offices.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 12
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_move_form_view_l10n_tr_nilvera_extended |
account.move.form.view.inherit.l10n_tr_nilvera_extended | account.move | form | Inherits account.view_move_form |
l10n_tr_nilvera_einvoice_extended_account_tax_code_view_form |
l10n_tr_nilvera_einvoice_extended.account.tax.code.form | l10n_tr_nilvera_einvoice_extended.account.tax.code | form | New |
l10n_tr_nilvera_einvoice_extended_account_tax_code_view_list |
l10n_tr_nilvera_einvoice_extended.account.tax.code.list | l10n_tr_nilvera_einvoice_extended.account.tax.code | list | New |
l10n_tr_nilvera_einvoice_extended_tax_office_view_form |
l10n_tr_nilvera_einvoice_extended.tax.office.form | l10n_tr_nilvera_einvoice_extended.tax.office | form | New |
l10n_tr_nilvera_einvoice_extended_tax_office_view_list |
l10n_tr_nilvera_einvoice_extended.tax.office.list | l10n_tr_nilvera_einvoice_extended.tax.office | list | New |
product_product_only_form_view_inherit_l10n_tr_nilvera_extended |
product.product.form.view.inherit.l10n_tr_nilvera_extended | product.product | form | Inherits product.product_normal_form_view |
product_template_only_form_view_inherit_l10n_tr_nilvera_extended |
product.template.product.form.view.inherit.l10n_tr_nilvera_extended | product.template | form | Inherits product.product_template_only_form_view |
res_config_settings_view_form_l10n_tr_nilvera_extended |
res.config.settings.view.form.inherit.l10n_tr_nilvera_extended | res.config.settings | form | Inherits l10n_tr_nilvera.res_config_settings_view_form |
ubl_tr_LineDelivery |
ubl_tr_LineDelivery | ir.ui.view | qweb | New |
view_account_tax_form_view_l10n_tr_nilvera_extended |
account.tax.form.view.inherit.l10n_tr_nilvera_extended | account.tax | form | Inherits account.view_tax_form |
view_company_form_inherit_l10n_tr_nilvera_extended |
res.company.form.inherit.l10n_tr_nilvera_extended | res.company | form | Inherits base.view_company_form |
view_partner_form_l10n_tr_nilvera_extended |
view.partner.form.inherit.l10n_tr_nilvera_extended | res.partner | form | Inherits base.view_partner_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 13
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
tax_grouping_function(self, base_line, tax_data)@api.modelBuild a grouping key for tax aggregation, extended for Turkish (TR) withholding taxes. This method extends the default tax grouping logic to include TR-specific withholding details. It constructs a grouping key for each tax line and appends withholding-related fields when applicable. Specifically, for invoices of type TEVKIFAT with a withholding tax code, the following fields are added to the grouping key: - l10n_tr_tax_withheld: The ID of the withholding tax code. - percent_withheld: The percentage of tax to be withheld (as an integer). - name: The localized name of the withholding tax (in Turkish). - tax_type_code: The code of the withholding tax. :param dict base_line: The base invoice line containing the record and tax details. :param dict tax_data: The dictionary containing the tax and its computed values. :return: The grouping key dictionary for this tax line, including TR withholding details if applicable.
-
l10n_tr_exemption_code_domain_listBinarycompute='_compute_l10n_tr_exemption_code_domain_list' -
l10n_tr_exemption_code_idMany2one → l10n_tr_nilvera_einvoice_extended.account.tax.codecompute='_compute_l10n_tr_exemption_code_id'help='The exception reason of the invoice.'readonly=Falsestore=Truestring='Exemption Reason' args: 'l10n_tr_nilvera_einvoice_extended.account.tax.code' -
l10n_tr_gib_invoice_scenarioSelectiondefault='TEMELFATURA'help='The scenario of the invoice to be sent to GİB.'selection=[('TEMELFATURA', 'Basic'), ('KAMU', 'Public Sector')]string='Invoice Scenario' -
l10n_tr_gib_invoice_typeSelectioncompute='_compute_l10n_tr_gib_invoice_type'default='SATIS'help='The type of invoice to be sent to GİB.'readonly=Falseselection=[('SATIS', 'Sales'), ('TEVKIFAT', 'Withholding'), ('IHRACKAYITLI', 'Registered for Export'), ('ISTISNA', 'Tax Exempt')]store=Truestring='GIB Invoice Type' -
l10n_tr_is_export_invoiceBooleanstring='Is GIB Export' -
l10n_tr_nilvera_customer_statusSelectionrelated='partner_id.l10n_tr_nilvera_customer_status'string='Partner Nilvera Status' -
l10n_tr_shipping_typeSelectionhelp='The type of shipping.'selection=[('1', 'Sea Transportation'), ('2', 'Railway Transportation'), ('3', 'Road Transportation'), ('4', 'Air Transportation'), ('5', 'Post'), ('6', 'Combined Transportation'), ('7', 'Fixed Transportation'), ('8', 'Domestic Water Transportation'), ('9', 'Invalid Transportation Method')]string='Shipping Method'
No public methods.
-
l10n_tr_ctsp_numberCharcompute='_compute_l10n_tr_ctsp_number'readonly=Falsestore=Truestring='CTSP Number'
No public methods.
No new fields.
Public methods (0)No public methods.
-
l10n_tr_tax_withholding_code_idMany2one → l10n_tr_nilvera_einvoice_extended.account.tax.codecomodel_name='l10n_tr_nilvera_einvoice_extended.account.tax.code'domain="[('code_type', '=', 'withholding')]"help='The reason for withholding tax.'string='Withholding Reason'
No public methods.
-
codeIntegerrequired=Truestring='Reason Code' -
code_typeSelectionrequired=Trueselection=[('withholding', 'Withholding'), ('exception', 'Exception'), ('export_exception', 'Export Exception'), ('export_registration', 'Export Registration')]string='Code Type' -
nameCharrequired=Truestring='Reason'translate=True -
percentageFloat
No public methods.
-
codeInteger -
nameChartranslate=True -
state_codeCharrelated='state_id.code' -
state_idMany2one → res.country.statecomodel_name='res.country.state'
No public methods.
-
l10n_tr_ctsp_numberCharcopy=Falseindex='btree_not_null'string='CTSP Number'
No public methods.
-
l10n_tr_ctsp_numberCharcompute='_compute_l10n_tr_ctsp_number'inverse='_set_l10n_tr_ctsp_number'string='CTSP Number'
No public methods.
-
l10n_tr_nilvera_export_aliasChardefault='urn:mail:ihracatpk@gtb.gov.tr'groups='base.group_system'string='Nilvera Export Alias' -
l10n_tr_tax_office_idMany2onereadonly=Falserelated='partner_id.l10n_tr_tax_office_id'
No public methods.
-
l10n_tr_nilvera_export_aliasCharreadonly=Falserelated='company_id.l10n_tr_nilvera_export_alias'string='Nilvera Export Alias'
No public methods.
-
l10n_tr_tax_office_idMany2one → l10n_tr_nilvera_einvoice_extended.tax.officestring='Turkish Tax Office' args: 'l10n_tr_nilvera_einvoice_extended.tax.office'
No public methods.
Loading…