Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4793 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur


Is any fix or need to do manually each time ?

Publications associées Réponses Vues Activité
1
mars 24
1475
1
juil. 23
2620
0
juil. 23
25
2
juin 23
4783
1
déc. 24
1929