fattureincloud / fattureincloud-csharp-sdk

Fatture in Cloud SDK (Software Development Kit) for C#
MIT License
8 stars 1 forks source link

GetXmlDocument Sdk #61

Closed aserra1984 closed 2 years ago

aserra1984 commented 2 years ago

Buongiorno,

sto utilizzando la versione 2.0.10 del SDK e se utilizzo il metodo GetEInvoiceXml delle IssuedEInvoicesApi il valore che mi viene restituito per il documento è un valore nullo.

lanciando il metodo GetEInvoiceXmlWithHttpInfo ho più informazioni: image

nel campo ErrorText: Nessun costruttore senza parametri definito per l'oggetto. ma il testo della fattura è nel campo RawContent.

è un problema dalla nostra fattura o del SDK? Grazie.

emajo commented 2 years ago

Hi @aserra1984, thanks for reporting the issue, it was in fact a problem of our sdk, we fixed it in the latest release (2.0.11).

Let us know if it fixes your issue, Emanuele

aserra1984 commented 2 years ago

Hi @emajo,

thanks. I installed the new version of the SDK. GetEInvoiceXml worked but there is a new exception in GetIssuedDocumentPreCreateInfoWithHttpInfo call. image

The exception message is: "Impossibile eseguire il cast di oggetti di tipo 'System.String' sul tipo 'It.FattureInCloud.Sdk.Model.GetIssuedDocumentPreCreateInfoResponse'."

The same error is in the VerifyEInvoiceXml call.

Could you check these calls? Thanks in advance. Anna

emajo commented 2 years ago

We released a new version of the sdk that (hopefully) fixes the problems you are facing.

Thanks again, Emanuele

aserra1984 commented 2 years ago

Hi @emajo, thanks.

Anna