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

2 issues during my implementation of XRechnung writer #35

Open
akvamassa opened this issue Oct 22, 2024 · 0 comments
Open

2 issues during my implementation of XRechnung writer #35

akvamassa opened this issue Oct 22, 2024 · 0 comments

Comments

@akvamassa
Copy link

@landrix hello and thank you so much for this library! I used it to generate Zugferd 2.3 (XRechnung profile) XML.
And I faced to several errors (I think so), after fixing them I was able to finish my task.
I wanna share them with you, so maybe you will check and fix them.

  1. In some reason these lines are commented in AddTradeLineItem() function. I have uncommented them for my usage.
    newItem.GrossUnitPrice := grossUnitPrice;
    newItem.NetUnitPrice := netUnitPrice;

  2. In TZUGFeRDInvoiceDescriptor23CIIWriter.Save() where we save BuyerOrderReferencedDocument, we write empty element for XRechnung (nothing inside), which lead to warning in validation https://ecosio.com/de/peppol-und-xml-dokumente-online-validieren/ (Element should not be empty). So I removed saving BuyerOrderReferencedDocument for profile XRechnung.

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

1 participant