odoo/odoo#219799
Created by fw-bot
Merged
at fb11a9eb50d071472d79fc90151d42909e571b99
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 32s)
- ci/documentation: (runtime 959s)
- label
- odoo-dev:saas-18.1-17.0-opw-4907827-fix_invalid_facturx-mcou-449801-fw
- head
- bdca3bfe6699a26c52d07b3ec13db83d86993f1a
- merged
- 10 months ago by Bugfix, Mathieu Coutant (mcou)
| odoo/odoo | |
|---|---|
| 17.0 | #217763 |
| 18.0 | #218686 |
| saas-18.1 | #219799 |
| saas-18.2 | #219801 |
| saas-18.3 | #219804 |
| saas-18.4 | #219966 |
| 19.0 | |
| saas-19.1 | |
| saas-19.2 | |
| saas-19.3 | |
| master | #219990 |
[FIX] account_edi_ubl_cii: fix FacturX validation issues
Issue:
There are several issues with the XML of FacturX.
Steps to reproduce:
- Create a partner with a direct debit mandate
- In the Accounting tab of the partner select "FacturX" as eInvoice format
- Create an invoice with this partner, pay with SDD, confirm
- Send to FacturX
- Verify the PDF with https://www.portinvoice.com/
1 Missing namespaces
3. In the XML the code for the payment means does not adapt to the payment method: 42 (Payment to bank account) and not 59 (SDD)
Cause:
- The namespaces are not there (doc).
- We always input "42" as payment mean
Solution:
- Added namespaces
xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100"andxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - Added the code "59" for SDD, a lot of codes could be added but this commit only handles this one
Ticket link
opw-4907827