You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the very great toolset to convert CII to UBL.
I think I've found a bug in the conversation.
According to the [mapping-cii-ubl.xlsx] in the docs-folder the AppliedTradeAllowanceCharge should be fetched from the GrossPriceProductTradePrice and not from the NetPriceProductTradePrice.
I've tested with the actual HEAD and a minimal example. In the attached files.zip there are three versions of the same invoice:
12119719.xml Invoice in CII-format
12119719-ubl-orig.xml in UBL-format converted with the actual HEAD.
12119719-ubl.xml in UBL-format after doing a minimal change in the CIIToUBL21Converter.java in Line 1337
aLineAgreement.getNetPriceProductTradePrice
aLineAgreement.getGrossPriceProductTradePrice
In the second version the allowance of 4.69 is missing completely.
Thanks for the very great toolset to convert CII to UBL.
I think I've found a bug in the conversation.
According to the [mapping-cii-ubl.xlsx] in the docs-folder the AppliedTradeAllowanceCharge should be fetched from the GrossPriceProductTradePrice and not from the NetPriceProductTradePrice.
I've tested with the actual HEAD and a minimal example. In the attached files.zip there are three versions of the same invoice:
In the second version the allowance of 4.69 is missing completely.
files.zip
The text was updated successfully, but these errors were encountered: