Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Localizations
  3. BARANI POHODA Export v 16.0
  4. Sales Conditions FAQ

BARANI POHODA Export

by BARANI DESIGN Technologies s. r. o. https://www.baranidesign.com
Odoo
v 16.0 Third Party 2
Download for v 16.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
• Sales (sale_management)
Lines of code 3698
Technical Name barani_pohoda_export
LicenseLGPL-3
Websitehttps://www.baranidesign.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
• Sales (sale_management)
Lines of code 3698
Technical Name barani_pohoda_export
LicenseLGPL-3
Websitehttps://www.baranidesign.com
  • Description
  • Documentation
BARANI POHODA Export

BARANI POHODA Export

Export customer invoices, tax-configuration-driven advance (down-payment) invoices, settlement invoices and approved credit notes from Odoo 16 to POHODA XML (Slovak / Czech accounting by STORMWARE).

Knows your documents

A document classifier reads native Odoo accounting facts and tells regular invoices, advance invoices (324), their settlements and credit notes apart — including the advance-deduction lines a final invoice carries.

Mapping matrix

Export rules × fiscal profiles, edited in a visual matrix: POHODA předkontace, VAT classification, control-statement and MOSS codes per cell, with states (active / blocked / review) and inline warnings. CSV export for the accountant.

Blocks instead of guessing

A read-only preflight aggregates explicit blockers — unmapped lines, missing codes, advance/VAT misconfigurations, wrong company, unposted documents — so nothing questionable ever reaches POHODA.

Audited lifecycle

Each export batch archives the request and response XML with SHA-256 hashes, mapping/configuration version hashes and per-document results. Batches beyond draft are immutable audit records.

XSD validation

Optionally validate every generated dataPack against the official STORMWARE schema set (single .xsd or the full .zip) before a human ever touches it.

Closes the loop

Import POHODA's response file and every document gets its accepted / warning / error verdict, the produced record number, and a status mirror right on the invoice — with a managed, reason-tracked re-export path.

How an export runs

Export lifecycle

The mapping matrix

One advance document kind; VAT comes from your Odoo tax configuration (0% for EU B2B / export, positive for domestic §19(4) advances). The matrix decides the POHODA codes per rule, per fiscal profile, per document kind.

Mapping matrix illustration

Designed to be verified, not trusted blindly

All mapping values ship as migration seeds that your accountant must review (the seed rules are intentionally inactive). Run a POHODA import test on a trial company before production. Phase 1 performs no automatic sending: you download the XML, import it into POHODA yourself, and feed the response back. Credit notes stay gated until your import test clears them.

Getting started

  1. Install the app and open POHODA Export → Configuration.
  2. Review the code dictionaries (předkontace, VAT, KV, MOSS) with your accountant.
  3. Link your fiscal positions to fiscal profiles and activate the export rules.
  4. Fill the Mapping Matrix; resolve every review-required cell.
  5. Run New Export for a test period, import the file into POHODA, and bring the response back.

Requirements

  • Odoo 16 (Community or Enterprise), account + sale_management.
  • Python lxml (ships with Odoo).
  • STORMWARE POHODA with XML import enabled (SK / CZ).
  • Roles: Export User (read), Export Manager (run exports), Configuration Manager (matrix & dictionaries).

Built by BARANI DESIGN Technologies s. r. o. — meteorological instruments and the people who invoice them.
Support: sales@baranidesign.com  ·  Licensed under LGPL-3.

BARANI POHODA Export

Export BARANI customer invoices, tax-configuration-driven down-payment (advance) invoices, settlement invoices and approved credit notes from Odoo 16 to POHODA XML.

This module replaces the legacy DDS-based POHODA export path. It classifies document shape and resolves settlement advance sources only from native Odoo account.move/account.move.line facts and native sale-line links. It never depends on, imports from, or calls any DDS module at runtime.

Warning

XML generation, XSD validation and response parsing exist as dormant, read-only services: nothing builds, sends or imports XML automatically, and no automatic sending to POHODA is performed in Phase 1. POHODA field details (rateVAT bands, produced-record-id elements, encoding) remain import-test gated. All mapping values are migration seeds and require accountant verification and a successful POHODA import test before production use.

Features

  • Data model for POHODA configuration, dictionaries, fiscal profiles, mapping cells, export batches and account.move export-state fields.
  • Document classifier: regular_invoice, advance_invoice, settlement_invoice, credit_note, blocked_mixed_324 and unsupported. There is one advance document kind; VAT may be 0 or positive according to the Odoo tax configuration.
  • Settlement source resolver: one negative-324 deduction line resolves to one source advance_invoice through native sale_line_ids -> invoice_lines -> move_id links, with a VAT-rate-match guard.
  • Rule resolver maps exportable lines to rule/profile/cell POHODA codes or explicit blockers.
  • POHODA XML builder: dat:dataPack with one inv:invoice per move (issuedInvoice / issuedAdvanceInvoice; settlements emit negative advance-deduction items; credit notes are test-gated).
  • XSD validator (single .xsd or a zip of the Stormware schema set) and an import-response parser that records per-document accepted/warning/error state.
  • Read-only export preflight that sequences classify -> source-resolve -> rule-resolve over a recordset or date range and aggregates every blocker, including the not-posted / wrong-company / amount-reconciliation gates.
  • Mapping matrix seed and dictionary seed are present but accountant/import-test gated.

Installation

  • Place the barani_pohoda_export folder in your Odoo 16 addons path.
  • Update the Apps list and install BARANI POHODA Export.

Configuration

  1. Open POHODA Export → Configuration → Settings and complete the company configuration (IČO, journals to export, key date, EU country group, OSS).
  2. Review the code dictionaries (account assignments / předkontace, VAT classifications, control-statement and MOSS codes) with your accountant. Mark the received-advance (324) assignment(s) — the preflight audits it.
  3. Link your account.fiscal.position records to Fiscal Profiles (the matrix columns) and activate the Export Rules you need (the seed ships them inactive on purpose).
  4. Fill the Mapping Matrix for each document kind; resolve every review_required cell before production.
  5. Run New Export for a test period, import the generated file into a POHODA trial unit, and import the response back — only then enable the flow for production periods.

Known issues / Roadmap

  • Multi-company record rules and company-consistency checks are in place (config, rules, mapping cells, batches, account assignments). Fiscal profiles and the VAT/KV/MOSS dictionaries are intentionally shared across companies; review this against your own multi-company setup before go-live.
  • The configuration UI uses the technical fallback views; the custom matrix widget is a later step.
  • The advance_flow_mode selection still contains legacy zero-VAT wording for compatibility with the pre-pivot seed. It is a configuration placeholder, not the classifier's advance_invoice document kind.
  • (to be completed)

Installation notes

  • Install on a fresh database. The seed data (POHODA code dictionaries, fiscal profiles, and the starter configuration) is created with fixed external IDs under noupdate="1".
  • Updating a database where the same dictionary codes, or an active configuration, were already created manually can conflict with the seed (unique codes; one active configuration per company). A reconciliation migration for that case will be added when there is an installed base; until then, use a fresh database for the first run.
  • External dependency: lxml (ships with Odoo).

Bug Tracker

  • Internal.

Credits

Author / Maintainer: BARANI DESIGN Technologies s. r. o.

License

This module is licensed under LGPL-3. See the LICENSE file for the full text.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with