Oh ok, thanks for pointing me in the right direction.
I just tried the Retrieve account invoices end point with the includeInvoiceComponents option and it worked, but calling the alternative paginated version seems to return the list of somewhat "incomplete" invoices registries, like this:
{
"amount": 0.00,
"currency": "USD",
"status": "COMMITTED",
"creditAdj": 0.00,
"refundAdj": 0.00,
"invoiceId": "104e23ba-c382-4c4e-8abe-ee8bc174fc6a",
"invoiceDate": "2023-10-09",
"targetDate": "2023-10-09",
"invoiceNumber": "1",
"balance": 0.00,
"accountId": "2995fbc9-bd62-486d-88e0-f96acea2dd25",
"bundleKeys": null,
"credits": null,
"items": [],
"trackingIds": [],
"isParentInvoice": false,
"parentInvoiceId": null,
"parentAccountId": null,
"auditLogs": []
},
I'm testing this with this curl call:
In the documentation, it is not clear if the includeInvoiceComponents should work with the "pagination" end-point. Is this the expected behavior?
Thanks in advance!