Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cli 2.16.1] Financial account information (IBAN) is lost when converting a cii invoice to ubl #726

Open
griesi007 opened this issue Feb 3, 2025 · 1 comment

Comments

@griesi007
Copy link

griesi007 commented Feb 3, 2025

The financial account information (IBAN) is lost when a cii invoice is converted to ubl
ram:ApplicableHeaderTradeSettlement > ram:SpecifiedTradeSettlementPaymentMeans > ram:PayeePartyCreditorFinancialAccount > ram:IBANID

Command
java -Xmx1G -jar mustang-cli.jar --disable-file-logging --action ubl --source CII-input-file.xml --out UBL-output-file.xml

Cii input file:
CII-input-file.xml.txt

Resulting UBL output file
UBL-output-file.xml.txt

@Faerballert
Copy link

@griesi007 it gets only printed if your TypeCode of SpecifiedTradeSettlementPaymentMeans has value of 30 or 42 or 58 which means it is an "Credit transfer".

At your example TypeCode value equals 1

I dont know the logic behind, why it is not necessary with other TypeCode but if you have some questions about it, maybe someone from here else can answer or ask your question maybe directly at https://github.com/phax/en16931-cii2ubl cause this is the library which is in use for convert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants