Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4789 Представления

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

Аватар
Отменить
Лучший ответ

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" 

Аватар
Отменить
Автор


Is any fix or need to do manually each time ?

Related Posts Ответы Просмотры Активность
1
мар. 24
1475
1
июл. 23
2616
0
июл. 23
25
2
июн. 23
4782
1
дек. 24
1929