phax / ph-ubl

Java library for reading and writing UBL 2.0, 2.1, 2.2, 2.3 and 2.4 (CS01) documents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong IssueDate format value

brunogptavares opened this issue · comments

Using version 6.50 of ph-ubl21, when I write to string the UBL21Invoice the IssueDate field apears like this:
cbc:IssueDate2021-03-24Z</cbc:IssueDate>

If I use version 6.4.3 of ph-ubl21 it apears like this:
cbc:IssueDate2021-03-24</cbc:IssueDate>
witch is the correct format against the CIUS-PT validator.

Version 6.6.0 fixes this, by using XMLOffset(Date|Time|DateTime)