Taxnumber correction

This commit is contained in:
jstaerk
2020-10-01 13:55:26 +02:00
parent c43988f388
commit 399d671f19
2 changed files with 10 additions and 1 deletions

View File

@@ -263,6 +263,13 @@ public class ZUGFeRD2PullProvider implements IXMLProvider {
+ "</ram:ID>\n"
+ " </ram:SpecifiedTaxRegistration>\n";
}
if (party.getTaxID() != null) {
xml += " <ram:SpecifiedTaxRegistration>\n"
+ " <ram:ID schemeID=\"FC\">" + XMLTools.encodeXML(party.getTaxID())
+ "</ram:ID>\n"
+ " </ram:SpecifiedTaxRegistration>\n";
}
return xml;
}