Closed Pskyco closed 8 months ago
That's weird. The Mollie documentation doesn't even state that this method has include parameters, so the error from the Mollie API is correct. The only thing I can do here is remove the includeLines
and includeSettlements
parameters from the GetInvoiceListAsync
method.
https://docs.mollie.com/reference/v2/invoices-api/list-invoices
We have the same issue on GetInvoiceAsync. And indeed without those parameters, we have the lines and settlement détails
Le lun. 25 sept. 2023 à 20:44, Vincent Kok @.***> a écrit :
That's weird. The documentation doesn't even state that this method has include parameters, so the error from the Mollie API is correct. The only thing I can do here is remove the includeLines and includeSettlements parameters from the GetInvoiceListAsync method.
— Reply to this email directly, view it on GitHub https://github.com/Viincenttt/MollieApi/issues/328#issuecomment-1734282226, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJDUZNPOOQ5DMBS7WRN7ZTX4HGJ5ANCNFSM6AAAAAA5FZORFM . You are receiving this because you authored the thread.Message ID: @.***>
Thanks for reporting this @Pskyco , I've just merged a pull request to remove those parameters
This is now live in 3.4.1.0
Hi,
While calling
GetInvoiceListAsync
fromInvoicesClient
with parameterincldueLines: true
, here is what I got,await _invoicesClient.GetInvoiceListAsync(includeLines: true)