We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using ZUGFeRD2PullProvider with the profile XRechnung.
I want do add the recipient. It's necessary for validation to add an electronic address. I want to use the leitwegId instead of the email-address.
Maybe you can provide a new method setElectronicAddress(String address, String easCode) for this purpose? In Javadoc you can add a hint to use the eas-code from this list: https://www.xrepository.de/details/urn:xoev-de:kosit:codeliste:eas_5#version
<ram:BuyerTradeParty> <ram:ID>98765</ram:ID> <ram:Name>Mustermann GmbH</ram:Name> <ram:PostalTradeAddress> <ram:PostcodeCode>99999</ram:PostcodeCode> <ram:LineOne>Teststraße 1</ram:LineOne> <ram:CityName>Musterhausen</ram:CityName> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress> <ram:URIUniversalCommunication> <ram:URIID schemeID="EM">mustermann@example.com</ram:URIID> </ram:URIUniversalCommunication> </ram:BuyerTradeParty>
setElectronicAddress("123456789", "0204") should generate:
<ram:BuyerTradeParty> <ram:ID>98765</ram:ID> <ram:Name>Mustermann GmbH</ram:Name> <ram:PostalTradeAddress> <ram:PostcodeCode>99999</ram:PostcodeCode> <ram:LineOne>Teststraße 1</ram:LineOne> <ram:CityName>Musterhausen</ram:CityName> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress> <ram:URIUniversalCommunication> <ram:URIID schemeID="0204">123456789</ram:URIID> </ram:URIUniversalCommunication> </ram:BuyerTradeParty>
The text was updated successfully, but these errors were encountered:
good idea, I suggest to use a SchemedID instance for that purpose, three possibilities:
Sorry, something went wrong.
No branches or pull requests
I'm using ZUGFeRD2PullProvider with the profile XRechnung.
I want do add the recipient. It's necessary for validation to add an electronic address. I want to use the leitwegId instead of the email-address.
Maybe you can provide a new method setElectronicAddress(String address, String easCode) for this purpose? In Javadoc you can add a hint to use the eas-code from this list: https://www.xrepository.de/details/urn:xoev-de:kosit:codeliste:eas_5#version
setElectronicAddress("123456789", "0204") should generate:
The text was updated successfully, but these errors were encountered: