APIX Connector

connector_apix
REPOSITORY
REPOSITORYOCA/l10n-finland
GIT
GIThttps://github.com/OCA/l10n-finland.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-finland/tree/18.0/connector_apix
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYConnector
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Futural
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Futural
COMMITTERS
COMMITTERSJarmo Kortetjärvi, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-finland
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:09:30
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - account_invoice_transmit_method
OCA/connector:
    - connector
    - component
    - component_event
OCA/l10n-finland:
    - account_edi_finvoice
    - l10n_fi_edicode
OCA/queue:
    - queue_job
OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - account_edi
    - account_edi_ubl_cii
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES requests
cachetools
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_apix_backend_form apix.backend.form apix.backend form New
view_move_form APIX EDI Invoice account.move field Inherits account.view_move_form
view_move_form_admin APIX EDI Invoice Admin account.move xpath Inherits account.view_move_form
Models touched (6)

New fields (2)
  • apix_bind_ids One2many → apix.account.invoice
    comodel_name='apix.account.invoice' inverse_name='odoo_id' string='APIX Bindings'
  • date_einvoice_sent Date
    copy=False string='eInvoice sent'
Public methods (6)
  • action_einvoice_send(self)
  • add_finvoice_apix_fields(self, finvoice_attachment, attachments=False)
  • einvoice_send(self)
  • get_apix_backend(self)
  • get_apix_payload(self)
  • validate_einvoice(self)

New fields (1)
  • odoo_id Many2one → account.move
    comodel_name='account.move' ondelete='cascade' required=True string='Invoice'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • import_finvoice(self, finvoice, attachments)

New fields (21)
  • business_id Char
    compute='_compute_business_id' string='Business code'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True
  • company_uuid Char
    copy=False help='A unique identifier assigned to the company' readonly=True string='Company UUID'
  • contact_email Char
    readonly=True string='Contact email'
  • contact_person Char
    readonly=True string='Contact person'
  • customer_id Char
    string='Customer ID'
  • customer_number Char
    readonly=True string='Customer number'
  • debug Boolean
    default=False help='Save debugging data, like APIX payload as an attachment' string='Debug mode'
  • environment Selection
    default='test' required=True selection=[('test', 'Test'), ('production', 'Production')]
  • id_qualifier Selection
    default='y-tunnus' readonly=True required=True selection=[('y-tunnus', 'Business ID')] string='ID Qualifier'
  • invoice_template_id Many2one → ir.actions.report
    comodel_name='ir.actions.report' default=<expr> domain=[('model', '=', 'account.move')] help='Report template used when sending invoices via APIX' required=True string='Invoice template'
  • name Char
    default=<expr>
  • owner_id Char
    readonly=True string='Owner ID'
  • password Char
    copy=False help='Password used to login to laskumappi.fi' required=True
  • prefix Char
    help="Optional business code prefix. Some virtual operators use these. If you don't know what this is, leave it empty"
  • state Selection
    default='unconfirmed' selection=[('unconfirmed', 'Unconfirmed'), ('confirmed', 'Confirmed')]
  • support_email Char
    help='Replaces "servicedesk@apix.fi" with this address, if set' string='Support email'
  • transfer_id Char
    copy=False help='The identification used for sending and receiving invoices' readonly=True string='Transfer id'
  • transfer_key Char
    copy=False help='The password used for sending and receiving invoices' readonly=True string='Transfer key'
  • username Char
    help='Username used to login to laskumappi.fi' required=True
  • version Selection
    default='1.14' required=True selection=[('1.14', 'v1.14')]
Public methods (19)
  • AuthenticateByUser(self)
  • Download(self, storage_id, storage_key)
  • ListInvoiceZIPs(self)
  • RetrieveTransferID(self)
  • SendInvoiceZIP(self, payload)
  • action_authenticate(self)
  • action_cron_einvoice_fetch(self)
  • action_einvoice_fetch(self)
  • action_einvoice_refetch(self)
  • action_reset_authentication(self)
  • download_invoice(self, storage_id, storage_key)
  • get_default_url_attributes(self, show_soft=True, show_ver=True, storage_id=False, storage_key=False, mark_received=False)
  • get_digest(self, values)
  • get_password_hash(self)
  • get_timestamp(self)
  • get_url(self, command, variables=False)
  • get_values_from_url(self, url)
  • list_invoices(self, refetch=False)
    Fetch list of invoices from APIX This will always fetch everything as there is no filter options. Filtering should be added when it will become available :param refetch: Re-fetch already downloaded invoices :return:
  • validateResponse(self, response)

New fields (4)
  • apix_accepted_document_id Char
    help='AcceptedDocumentID of this record in APIX' index=True string='APIX ID'
  • apix_batch_id Char
    index=True string='APIX Batch ID'
  • apix_cost_in_credits Float
    string='Cost in credits'
  • backend_id Many2one → apix.backend
    comodel_name='apix.backend' ondelete='restrict' required=True string='APIX Backend'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.