Get the partner's current account balance

Applies To

  • Partner Center
  • Partner Center operated by 21Vianet
  • Partner Center for Microsoft Cloud Germany
  • Partner Center for Microsoft Cloud for US Government

Retrieves the partner's current account balance.


  • Credentials as described in Partner Center authentication. This scenario supports authentication with both standalone App and App+User credentials.


To retrieve your account balance, use your IAggregatePartner.Invoices collection, and then call the Summary property. Then call the Get function, and finally call the BalanceAmount property.

// IAggregatePartner scopedPartnerOperations;

var invoiceSummary = scopedPartnerOperations.Invoices.Summary.Get();

Console.Out.WriteLine("Current Account Balance:  {0:C}", invoiceSummary.BalanceAmount);

Sample: Console test app. Project: PartnerSDK.FeatureSample Class: GetInvoiceSummary.cs


Request syntax

Method Request URI
GET {baseURL}/v1/invoices/summary HTTP/1.1

Request headers

  • See Headers for more information.

Request body


Request example

Authorization: Bearer <token>
Accept: application/json
MS-RequestId: a45e6643-1caf-4429-8f90-07c03d85bc2b
MS-CorrelationId: 57eb2ca7-755f-450f-9187-eae1e75a0114
Connection: Keep-Alive


If successful, this method returns an InvoiceSummary object in the response.

Response success and error codes

Each response comes with an HTTP status code that indicates success or failure and additional debugging information. Use a network trace tool to read this code, error type, and additional parameters. For the full list, see Error Codes.

Response example

HTTP/1.1 200 OK
Content-Length: 256
Content-Type: application/json; charset=utf-8
MS-CorrelationId: 57eb2ca7-755f-450f-9187-eae1e75a0114
MS-RequestId: a45e6643-1caf-4429-8f90-07c03d85bc2b
Date: Thu, 24 Mar 2016 05:21:01 GMT