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

If the ram:ID is not set for the Seller or Buyer Party, an empty tag is no longer written #236

Merged

Conversation

drocx
Copy link
Contributor

@drocx drocx commented Feb 15, 2024

  1. The SetBuyer and SetSeller methods in the InvoiceDescriptor.cs file have been updated to include an optional parameter for id. This parameters has a default values of null. This change allows for more flexibility when setting the buyer or seller information. (Reference: InvoiceDescriptor.cs)

  2. In the InvoiceDescriptor21Writer.cs file, a condition has been added to the else clause in the if statement. Now, the ram:ID element will only be written if party.ID.ID is not null or an empty string. This change prevents writing an emtpy 'ram:id'. (Reference: InvoiceDescriptor21Writer.cs)

…s` file have been updated to include an optional parameter for `id`. This parameters has a default values of `null`. This change allows for more flexibility when setting the buyer or seller information. (Reference: `InvoiceDescriptor.cs`)

2. In the `InvoiceDescriptor21Writer.cs` file, a condition has been added to the `else` clause in the `if` statement. Now, the `ram:ID` element will only be written if `party.ID.ID` is not null or an empty string. This change prevents writing an emtpy 'ram:id'. (Reference: `InvoiceDescriptor21Writer.cs`)
@stephanstapel stephanstapel merged commit 27e2bd5 into stephanstapel:master Feb 17, 2024
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