Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4179 Zobrazení

Dear,


I tried to generate with odoo 16 EE an invoice in ubl_bis3 format to send to customer.


I used the :

https://test\.peppolautoriteit\.nl/validate

\- https://ecosio.com/en/peppol-and-xml-document-validator/

to test the format


And I got this error


Schematron (XSLT) - schematron/openpeppol/3.15.0/xslt/CEN-EN16931-UBL.xslt

  • Error
    Location: INV_2023_00001_ubl_bis3.xmlElement/context: /:Invoice[1]/cac:InvoiceLine[1]/cbc:InvoicedQuantity[1]XPath test: ((not(contains(normalize-space(@unitCode), ' ')) and contains(' DATAS ', concat(' ', normalize-space(@unitCode), ' '))))Error message: [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension


Otherwise is there any belgian peppol test tools to verify if the format is ok ?


Best Regards,

Youssef

Avatar
Zrušit
Nejlepší odpověď

Check the list of the unitCode's used in You xml file against the list from (https://)   docs.peppol.eu/poacc/billing/3.0/rules/BR-CL-23/.

We had the same problem with a deprecated translation from km to cbc:InvoicedQuantity unitCode="KTM" that we had to change to

cbc:InvoicedQuantity unitCode="KMT" 

Avatar
Zrušit
Autor


Is any fix or need to do manually each time ?

Related Posts Odpovědi Zobrazení Aktivita
1
bře 24
1474
1
čvc 23
2100
0
čvc 23
25
2
čvn 23
3975
1
pro 24
1138