Forum Discussion

Klaus-Peter Riemer's avatar
Klaus-Peter Riemer
Copper Contributor
Apr 11, 2025
Solved

Billed invoice reconciliation API v2 legacy support

Hi, we are just in the transition to the new Billing recon API. We noticed that we are able to get data for invoices from the NCE model but not for invoices from legacy CSP. In detail:

  • POST request to https://graph.microsoft.com/v1.0/reports/partners/billing/usage/billed/export is successful (202 Accepted)
  • The following GET request to https://graph.microsoft.com/v1.0/reports/partners/billing/operations/[GUID] is successful on the HTTP Layer (200 OK) but the status is failed:

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#reports/partners/billing/operations/$entity",
    "@odata.type": "#microsoft.graph.partners.billing.failedOperation",
    "id": "...",
    "createdDateTime": "...",
    "lastActionDateTime": "...",
    "status": "failed",
    "error": {
        "message": "No reconciliation data available currently for Invoice D.... Please try again later.",
        "code": "5000"
    }
}

The same flow (same auth token, etc.) with a NCE invoice works successful.

I didn't find any documentation if legacy CSP is even supported on the new API or not. Maybe someone can confirm this. And if it should work maybe someone can give details to the error recieved above.

2 Replies

Resources