Describe the bug
Async method GetEInvoiceXmlAsync returns null string while getting an XML related to an issued e-invoice. If the call is made with method GetEInvoiceXmlWithHttpInfoAsync we get the XML as RawContent and the error "There is an error in XML document (1, 40)".
Env info
- C# version: 12.0
- C# SDK version: 2.1.1
To Reproduce
Please, share with us (if applicable):
`var companyId = 1234567; // example
var documentId = 123456; // example
IssuedEInvoicesApi issuedEInvoicesApi = new(config);
return await issuedEInvoicesApi.GetEInvoiceXmlAsync(companyId, documentId, true);`
- Error status and message: There is an error in XML document (1, 40)
- Stacktrace: n/a
- JSON representation of the request body: n/a, the request only includes QueryString parameters
Expected behavior
The method should return the XML.
Screenshots

Describe the bug
Async method GetEInvoiceXmlAsync returns null string while getting an XML related to an issued e-invoice. If the call is made with method GetEInvoiceXmlWithHttpInfoAsync we get the XML as RawContent and the error "There is an error in XML document (1, 40)".
Env info
To Reproduce
Please, share with us (if applicable):
`var companyId = 1234567; // example
var documentId = 123456; // example
IssuedEInvoicesApi issuedEInvoicesApi = new(config);
return await issuedEInvoicesApi.GetEInvoiceXmlAsync(companyId, documentId, true);`
Expected behavior
The method should return the XML.
Screenshots
