---
updatedAt: 2026-04-23T04:16:37.000Z
agentTools:
  projectIndex: https://docs.vopay.com/llms.txt
---

# partner/invoice-details

This endpoint is used to retrieve the invoice-details (number of transactions, rates, etc) for a given billing cycle. If no month/year is provided, the current month/year is used.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "2.0",
    "title": "Accounts",
    "description": "The Account API defines endpoints for managing VoPay accounts and sub-accounts.  These endpoints allow partners to create and manage accounts, set permissions, handle transactions,  schedule transfers, retrieve account information, and manage onboarding processes, ensuring secure  and efficient account and transaction management.",
    "contact": {
      "name": "API Support",
      "email": "help@vopay.com"
    }
  },
  "paths": {
    "/partner/invoice-details": {
      "get": {
        "description": "This endpoint is used to retrieve the invoice-details (number of transactions, rates, etc) for a given billing cycle. If no month/year is provided, the current month/year is used.",
        "summary": "partner/invoice-details",
        "tags": [
          "Partner Endpoints"
        ],
        "operationId": "PartnerInvoiceDetailsGET",
        "deprecated": false,
        "parameters": [
          {
            "name": "AccountID",
            "in": "query",
            "required": true,
            "description": "Your account ID",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Key",
            "in": "query",
            "required": true,
            "description": "API key for the account",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Signature",
            "in": "query",
            "required": true,
            "description": "Hashed signature for the request",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "VopayAccountID",
            "in": "query",
            "required": false,
            "description": "Only returns billing info for this VoPay account",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "month",
            "in": "query",
            "required": false,
            "description": "Billing cycle month (eg: 03). Defaults to current month",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "required": false,
            "description": "Billing cycle year (eg: 2021). Defaults to current year",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "Success": {
                      "type": "boolean",
                      "description": "True if the request was successful, false if it failed",
                      "example": true
                    },
                    "ErrorMessage": {
                      "type": "string",
                      "description": "Contains a description of the error if the request failed",
                      "example": ""
                    },
                    "InvoicePeriod": {
                      "type": "object",
                      "description": "Invoice Period",
                      "properties": {
                        "FromDate": {
                          "type": "string",
                          "description": "Invoice Start Date",
                          "example": "2021-10-01"
                        },
                        "ToDate": {
                          "type": "string",
                          "description": "Invoice End Date",
                          "example": "2021-10-31"
                        }
                      },
                      "required": [
                        "FromDate",
                        "ToDate"
                      ]
                    },
                    "InvoiceDetails": {
                      "type": "object",
                      "description": "Invoice Details for for each account for the invoice period",
                      "properties": {
                        "AccountID": {
                          "type": "object",
                          "description": "Invoice details for the Account ID",
                          "properties": {
                            "Currency": {
                              "type": "object",
                              "description": "3 character currency code of the invoice; ex: CAD",
                              "properties": {
                                "Service": {
                                  "type": "object",
                                  "description": "Service being billed; ex: EFTFunding",
                                  "properties": {
                                    "description": {
                                      "type": "string",
                                      "description": "Description of the service being billed",
                                      "example": "EFT Funding Transaction fee"
                                    },
                                    "quantity": {
                                      "type": "integer",
                                      "description": "Number of transactions",
                                      "example": "50"
                                    },
                                    "rate": {
                                      "type": "number",
                                      "description": "Cost per transaction",
                                      "example": "1.50"
                                    },
                                    "amount": {
                                      "type": "number",
                                      "description": "Total cost of service (quantity x rate)",
                                      "example": "75"
                                    }
                                  },
                                  "required": [
                                    "description",
                                    "quantity",
                                    "rate",
                                    "amount"
                                  ]
                                }
                              },
                              "required": [
                                "Service"
                              ]
                            }
                          },
                          "required": [
                            "Currency"
                          ]
                        }
                      },
                      "required": [
                        "AccountID"
                      ]
                    }
                  },
                  "required": [
                    "Success",
                    "ErrorMessage",
                    "InvoicePeriod",
                    "InvoiceDetails"
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://earthnode-dev.vopay.com/api/v2"
    }
  ]
}
```