-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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):
- Example code
`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.
Metadata
Metadata
Assignees
Labels
No labels
