account_payment_sepa_base
Provide shared configuration, data structures, and helper routines needed to generate SEPA PAIN payment files in Odoo.
Key Features
- account.pain.regulatory.reporting: Maintains regulatory reporting codes per country for ISO 20022 PAIN files with uniqueness enforcement and custom display names.
- account.payment.line: Adds SEPA-specific fields and grouping logic for priorities, instruments, purposes, and regulatory reporting used when generating PAIN files.
- account.payment.line: Provides an extension hook to let downstream modules finalize SEPA eligibility checks per payment line.
- account.payment.lot: Stores propagated SEPA metadata from payment lines and constructs the payment information block in PAIN XML with scheduling and instrument options.
- account.payment: Builds payment identification, amount, remittance, purpose, and regulatory reporting sections inside PAIN XML entries.
- account.payment.method: Adds PAIN version selection, optional non-SEPA warnings, unique constraints, and an overridable hook to locate the XML schema file.
- account.payment.method.line: Captures initiating party identifiers, scheme names, and batch booking defaults used when composing PAIN files.
- account.payment.order: Evaluates SEPA eligibility, manages charge bearer and batch booking flags, and warns when bank accounts or currencies break SEPA rules.
- account.payment.order: Provides shared utilities to sanitize text, build XML headers, generate initiating party data, and validate the final PAIN document against its schema.
- res.company: Stores SEPA initiating party identifiers and can auto-fill them after installation based on country and VAT data.
- res.config.settings: Exposes initiating party identifiers in company settings and toggles multi-identifier support through a dedicated security group.
- res.partner: Generates structured postal address content for PAIN records using enhanced street parsing helpers with backward-compatible fallbacks.
- res.partner.bank: Creates debtor and creditor party blocks for PAIN XML including BIC handling, address insertion, and account details with fallbacks.
- res.currency: Formats amounts using currency precision for embedding in PAIN XML nodes.