Jordan E-Invoicing

l10n_jo_edi
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/l10n_jo_edi
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo S.A., Smart Way Business Solutions
MAINTAINERS
MAINTAINERSOdoo S.A., Smart Way Business Solutions
COMMITTERS
COMMITTERSOdoo Translation Bot, Moens Alexandre, Andrea Grazioso (agr-odoo), Florian(flg), jbw-odoo, Gaetan Vanden Bergh (gavb), Maximilien (malb), Ali Alfie (alal), Dylan Kiss (dyki), khfa, Nicolas Viseur (vin), SaddemAmine, Louis Gobert, Khumam Alzagim, Claire (clbr), Antoine Dupuis, Hesham Saleh, elhayyany, Michaël Mattiello, Krzysztof Magusiak (krma), Laurent Smet (LAS)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:45
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account_edi_ubl_cii
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_jo
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
       Allows the users to integrate with JoFotara.
    

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
report_invoice report_invoice ir.ui.view qweb Inherits account.report_invoice
report_invoice_document report_invoice_document ir.ui.view qweb Inherits account.report_invoice_document
res_config_settings_view_form res.config.settings.view.form res.config.settings xpath Inherits account.res_config_settings_view_form
view_account_invoice_filter account.invoice.select account.move xpath Inherits account.view_account_invoice_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_out_credit_note_tree account.move.tree account.move field Inherits account.view_out_credit_note_tree
view_out_invoice_tree account.move.tree account.move field Inherits account.view_out_invoice_tree
Models touched (7)

New fields (0)

No new fields.

Public methods (1)
  • format_float(self, amount, precision_digits=3)

New fields (10)
  • l10n_jo_edi_computed_xml Binary
    compute='_compute_l10n_jo_edi_computed_xml' help='Jordan: technical field computing e-invoice XML data, useful at submission failure scenarios.' string='Jordan E-Invoice computed XML File'
  • l10n_jo_edi_error Text
    copy=False help='Jordan: Error details.' readonly=True string='JoFotara Error'
  • l10n_jo_edi_invoice_type Selection
    compute='_compute_l10n_jo_edi_invoice_type' help='Invoice Types as per the Income and Sales Tax Department for JoFotara' precompute=True readonly=False selection=[('local', 'Local'), ('export', 'Export'), ('development', 'Development Area'), ('transit', 'Transit'), ('foreign', 'Foreign Trade'), ('freezone', 'Free Zone Transfer')] store=True string='Invoice Type' tracking=True
  • l10n_jo_edi_is_needed Boolean
    compute='_compute_l10n_jo_edi_is_needed' help='Jordan: technical field to determine if this invoice is eligible to be e-invoiced.'
  • l10n_jo_edi_qr Char
    copy=False string='QR'
  • l10n_jo_edi_state Selection
    copy=False selection=[('to_send', 'To Send'), ('sent', 'Sent'), ('demo', 'Sent (Demo)')] string='JoFotara State' tracking=True
  • l10n_jo_edi_uuid Char
    compute='_compute_l10n_jo_edi_uuid' copy=False store=True string='Invoice UUID'
  • l10n_jo_edi_xml_attachment_file Binary
    attachment=True copy=False help='Jordan: technical field holding the e-invoice XML data.' string='Jordan E-Invoice XML File'
  • l10n_jo_edi_xml_attachment_id Many2one → ir.attachment
    comodel_name='ir.attachment' compute=<expr> depends=['l10n_jo_edi_xml_attachment_file'] help='Jordan: e-invoice XML.' string='Jordan E-Invoice XML'
  • reversed_entry_id Many2one
    tracking=True
Public methods (2)
  • button_draft(self)
  • download_l10n_jo_edi_computed_xml(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • l10n_jo_edi_client_identifier Char
    groups='base.group_system' string='JoFotara Client ID'
  • l10n_jo_edi_demo_mode Boolean
    string='JoFotara Demo Mode'
  • l10n_jo_edi_secret_key Char
    groups='base.group_system' string='JoFotara Secret Key'
  • l10n_jo_edi_sequence_income_source Char
    string='JoFotara Sequence of Income Source'
  • l10n_jo_edi_taxpayer_type Selection
    default='sales' selection=[('income', 'Unregistered in the sales tax'), ('sales', 'Registered in the sales tax'), ('special', 'Registered in the special sales tax')] string='JoFotara Taxpayer Type'
Public methods (0)

No public methods.

New fields (5)
  • l10n_jo_edi_client_identifier Char
    readonly=False related='company_id.l10n_jo_edi_client_identifier' string='JoFotara Client ID'
  • l10n_jo_edi_demo_mode Boolean
    readonly=False related='company_id.l10n_jo_edi_demo_mode' string='JoFotara Demo Mode'
  • l10n_jo_edi_secret_key Char
    readonly=False related='company_id.l10n_jo_edi_secret_key' string='JoFotara Secret Key'
  • l10n_jo_edi_sequence_income_source Char
    readonly=False related='company_id.l10n_jo_edi_sequence_income_source' string='JoFotara Sequence of Income Source'
  • l10n_jo_edi_taxpayer_type Selection
    readonly=False related='company_id.l10n_jo_edi_taxpayer_type' string='JoFotara Taxpayer Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/l10n_jo_edi
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo S.A., Smart Way Business Solutions
MAINTAINERS
MAINTAINERSOdoo S.A., Smart Way Business Solutions
COMMITTERS
COMMITTERSOdoo Translation Bot, Moens Alexandre, Andrea Grazioso (agr-odoo), Miquel Raïch, Florian(flg), Maximilien (malb), Ali Alfie (alal), Dylan Kiss (dyki), khfa, Nicolas Viseur (vin), SaddemAmine, Louis Gobert, Claire (clbr), Hesham Saleh, elhayyany, Tyler Landivar (tylan)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account_edi_ubl_cii
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_jo
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
       Allows the users to integrate with JoFotara.
    

Code Analysis

Views touched (12)
XML IDNameModelTypeStatus
report_invoice report_invoice ir.ui.view qweb Inherits account.report_invoice
report_invoice_document report_invoice_document ir.ui.view qweb Inherits account.report_invoice_document
res_config_settings_view_form res.config.settings.view.form res.config.settings xpath Inherits account.res_config_settings_view_form
ubl_jo_Invoice ubl_jo_Invoice ir.ui.view qweb New
ubl_jo_InvoiceLineType ubl_jo_InvoiceLineType ir.ui.view qweb Inherits account_edi_ubl_cii.ubl_20_InvoiceLineType
ubl_jo_InvoiceType ubl_jo_InvoiceType ir.ui.view qweb Inherits account_edi_ubl_cii.ubl_20_InvoiceType
ubl_jo_PaymentMeansType ubl_jo_PaymentMeansType ir.ui.view qweb Inherits account_edi_ubl_cii.ubl_20_PaymentMeansType
ubl_jo_TaxTotalType ubl_jo_TaxTotalType ir.ui.view qweb Inherits account_edi_ubl_cii.ubl_20_TaxTotalType
view_account_invoice_filter account.invoice.select account.move xpath Inherits account.view_account_invoice_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_out_credit_note_tree account.move.tree account.move field Inherits account.view_out_credit_note_tree
view_out_invoice_tree account.move.tree account.move field Inherits account.view_out_invoice_tree
Models touched (7)

New fields (0)

No new fields.

Public methods (2)
  • approximate(func)
    Decorator that rounds the return value of a method.
  • format_float(self, amount, precision_digits)

New fields (9)
  • l10n_jo_edi_computed_xml Binary
    compute='_compute_l10n_jo_edi_computed_xml' help='Jordan: technical field computing e-invoice XML data, useful at submission failure scenarios.' string='Jordan E-Invoice computed XML File'
  • l10n_jo_edi_error Text
    copy=False help='Jordan: Error details.' readonly=True string='JoFotara Error'
  • l10n_jo_edi_is_needed Boolean
    compute='_compute_l10n_jo_edi_is_needed' help='Jordan: technical field to determine if this invoice is eligible to be e-invoiced.'
  • l10n_jo_edi_qr Char
    copy=False string='QR'
  • l10n_jo_edi_state Selection
    copy=False selection=[('to_send', 'To Send'), ('sent', 'Sent')] string='JoFotara State' tracking=True
  • l10n_jo_edi_uuid Char
    compute='_compute_l10n_jo_edi_uuid' copy=False store=True string='Invoice UUID'
  • l10n_jo_edi_xml_attachment_file Binary
    attachment=True copy=False help='Jordan: technical field holding the e-invoice XML data.' string='Jordan E-Invoice XML File'
  • l10n_jo_edi_xml_attachment_id Many2one → ir.attachment
    comodel_name='ir.attachment' compute=<expr> depends=['l10n_jo_edi_xml_attachment_file'] help='Jordan: e-invoice XML.' string='Jordan E-Invoice XML'
  • reversed_entry_id Many2one
    tracking=True
Public methods (2)
  • button_draft(self)
  • download_l10n_jo_edi_computed_xml(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • l10n_jo_edi_client_identifier Char
    groups='base.group_system' string='JoFotara Client ID'
  • l10n_jo_edi_secret_key Char
    groups='base.group_system' string='JoFotara Secret Key'
  • l10n_jo_edi_sequence_income_source Char
    string='JoFotara Sequence of Income Source'
  • l10n_jo_edi_taxpayer_type Selection
    default='sales' selection=[('income', 'Unregistered in the sales tax'), ('sales', 'Registered in the sales tax'), ('special', 'Registered in the special sales tax')] string='JoFotara Taxpayer Type'
Public methods (0)

No public methods.

New fields (4)
  • l10n_jo_edi_client_identifier Char
    readonly=False related='company_id.l10n_jo_edi_client_identifier' string='JoFotara Client ID'
  • l10n_jo_edi_secret_key Char
    readonly=False related='company_id.l10n_jo_edi_secret_key' string='JoFotara Secret Key'
  • l10n_jo_edi_sequence_income_source Char
    readonly=False related='company_id.l10n_jo_edi_sequence_income_source' string='JoFotara Sequence of Income Source'
  • l10n_jo_edi_taxpayer_type Selection
    readonly=False related='company_id.l10n_jo_edi_taxpayer_type' string='JoFotara Taxpayer Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/17.0/l10n_jo_edi
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo S.A., Smart Way Business Solutions
MAINTAINERS
MAINTAINERSOdoo S.A., Smart Way Business Solutions
COMMITTERS
COMMITTERSOdoo Translation Bot, Moens Alexandre, Andrea Grazioso (agr-odoo), Pierrot (prro), Maximilien (malb), Dylan Kiss (dyki), khfa, Nicolas Viseur (vin), Louis Gobert, Hesham Saleh, elhayyany, Tyler Landivar (tylan)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:02:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account_edi_ubl_cii
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_jo
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
       Allows the users to integrate with JoFotara.
    

Code Analysis

Views touched (13)
XML IDNameModelTypeStatus
account_move_send_form account.move.send.form account.move.send div Inherits account.account_move_send_form
report_invoice report_invoice ir.ui.view qweb Inherits account.report_invoice
report_invoice_document report_invoice_document ir.ui.view qweb Inherits account.report_invoice_document
res_config_settings_view_form res.config.settings.view.form res.config.settings xpath Inherits account.res_config_settings_view_form
ubl_jo_Invoice ubl_jo_Invoice ir.ui.view qweb New
ubl_jo_InvoiceLineType ubl_jo_InvoiceLineType ir.ui.view qweb Inherits account_edi_ubl_cii.ubl_20_InvoiceLineType
ubl_jo_InvoiceType ubl_jo_InvoiceType ir.ui.view qweb Inherits account_edi_ubl_cii.ubl_20_InvoiceType
ubl_jo_PaymentMeansType ubl_jo_PaymentMeansType ir.ui.view qweb Inherits account_edi_ubl_cii.ubl_20_PaymentMeansType
ubl_jo_TaxTotalType ubl_jo_TaxTotalType ir.ui.view qweb Inherits account_edi_ubl_cii.ubl_20_TaxTotalType
view_account_invoice_filter account.invoice.select account.move xpath Inherits account.view_account_invoice_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_out_credit_note_tree account.move.tree account.move field Inherits account.view_out_credit_note_tree
view_out_invoice_tree account.move.tree account.move field Inherits account.view_out_invoice_tree
Models touched (7)

New fields (0)

No new fields.

Public methods (1)
  • format_float(self, amount, precision_digits)

New fields (9)
  • l10n_jo_edi_computed_xml Binary
    compute='_compute_l10n_jo_edi_computed_xml' help='Jordan: technical field computing e-invoice XML data, useful at submission failure scenarios.' string='Jordan E-Invoice computed XML File'
  • l10n_jo_edi_error Text
    copy=False help='Jordan: Error details.' readonly=True string='JoFotara Error'
  • l10n_jo_edi_is_needed Boolean
    compute='_compute_l10n_jo_edi_is_needed' help='Jordan: technical field to determine if this invoice is eligible to be e-invoiced.'
  • l10n_jo_edi_qr Char
    copy=False string='QR'
  • l10n_jo_edi_state Selection
    copy=False selection=[('to_send', 'To Send'), ('sent', 'Sent')] string='JoFotara State' tracking=True
  • l10n_jo_edi_uuid Char
    compute='_compute_l10n_jo_edi_uuid' copy=False store=True string='Invoice UUID'
  • l10n_jo_edi_xml_attachment_file Binary
    attachment=True copy=False help='Jordan: technical field holding the e-invoice XML data.' string='Jordan E-Invoice XML File'
  • l10n_jo_edi_xml_attachment_id Many2one → ir.attachment
    comodel_name='ir.attachment' compute=<expr> depends=['l10n_jo_edi_xml_attachment_file'] help='Jordan: e-invoice XML.' string='Jordan E-Invoice XML'
  • reversed_entry_id Many2one
    tracking=True
Public methods (2)
  • button_draft(self)
  • download_l10n_jo_edi_computed_xml(self)

New fields (2)
  • l10n_jo_edi_is_enabled Boolean
    compute='_compute_l10n_jo_edi_is_enabled' help='Jordan: used to determine whether to submit this e-invoice.' readonly=False store=True string='Send JoFotara e-invoice'
  • l10n_jo_edi_is_visible Boolean
    compute='_compute_l10n_jo_edi_is_visible' help='Jordan: technical field to determine if the option to submit a Jordanian electronic invoice is visible.'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • l10n_jo_edi_client_identifier Char
    groups='base.group_system' string='JoFotara Client ID'
  • l10n_jo_edi_secret_key Char
    groups='base.group_system' string='JoFotara Secret Key'
  • l10n_jo_edi_sequence_income_source Char
    string='JoFotara Sequence of Income Source'
  • l10n_jo_edi_taxpayer_type Selection
    default='sales' selection=[('income', 'Unregistered in the sales tax'), ('sales', 'Registered in the sales tax'), ('special', 'Registered in the special sales tax')] string='JoFotara Taxpayer Type'
Public methods (0)

No public methods.

New fields (4)
  • l10n_jo_edi_client_identifier Char
    readonly=False related='company_id.l10n_jo_edi_client_identifier' string='JoFotara Client ID'
  • l10n_jo_edi_secret_key Char
    readonly=False related='company_id.l10n_jo_edi_secret_key' string='JoFotara Secret Key'
  • l10n_jo_edi_sequence_income_source Char
    readonly=False related='company_id.l10n_jo_edi_sequence_income_source' string='JoFotara Sequence of Income Source'
  • l10n_jo_edi_taxpayer_type Selection
    readonly=False related='company_id.l10n_jo_edi_taxpayer_type' string='JoFotara Taxpayer Type'
Public methods (0)

No public methods.