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

No empty <ram:BICID/> section with Version 20. #708

Conversation

Dirksche
Copy link

When using ZUGFeRDVersion.Version20, there's no empty <ram:BICID/> section written anymore. The section will only be written, when a BIC has been set.
Because with an empty <ram:BICID/> section https://www.portinvoice.com/ reports a warning:

[VD-Valitool-126]-Hinweis: Es wurde ein leeres Element übergeben z.B. . Dies kann bei einigen Zielsystemen zu Problemen führen. Sie sind leere Elemente z.B. bei der Übermittlung der Rechnung über das Peppol-Netzwerk nicht zulässig.
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID

The code changes have been copied from "InvoiceDescriptor23CIIWriter.cs".

When using `ZUGFeRDVersion.Version20`, there's no empty `<ram:BICID/>` section written anymore. The section will only be written, when a BIC has been set.
Because with an empty `<ram:BICID/>` section https://www.portinvoice.com/ reports a warning:

> [VD-Valitool-126]-Hinweis: Es wurde ein leeres Element übergeben z.B. . Dies kann bei einigen Zielsystemen zu Problemen führen. Sie sind leere Elemente z.B. bei der Übermittlung der Rechnung über das Peppol-Netzwerk nicht zulässig.
> /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID

The code changes have been copied from "InvoiceDescriptor23CIIWriter.cs".
@stephanstapel stephanstapel merged commit b9564fe into stephanstapel:master Apr 3, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants