---
updatedAt: 2026-03-01T18:26:02.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/invoicing/llms.txt
---

# List bills for an account

Returns invoices, credit memos, and debit memos for the current account and the selected month.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Invoicing API",
    "url": "https://techdocs.akamai.com/invoicing/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Invoices",
    "version": "v4"
  },
  "openapi": "3.0.0",
  "paths": {
    "/invoices": {
      "get": {
        "description": "Returns invoices, credit memos, and debit memos for the current account and the selected month.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Invoicing API",
          "url": "https://techdocs.akamai.com/invoicing/reference/get-invoices"
        },
        "operationId": "get-invoices",
        "parameters": [
          {
            "description": "Selected billable usage period, expressed as an ISO 8601 datestamp (YYYY-MM).",
            "in": "query",
            "name": "month",
            "required": true,
            "schema": {
              "example": "2020-07",
              "format": "date",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/month-query-param-month.yaml"
            }
          },
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": [
                  {
                    "accountId": "A-CCT7890",
                    "contractId": "C-0N7RAC7",
                    "files": [
                      {
                        "contentType": "application/pdf",
                        "fileCreationDate": "2021-01-01",
                        "fileLink": "/invoicing-api/v4/contracts/C-0N7RAC7/invoices/8234567890/download",
                        "fileName": "InvoiceName_1-XYZ_1-ABCD_1234567890_FINAL_1.pdf",
                        "fileVersion": 1,
                        "sourceType": "REGULAR"
                      },
                      {
                        "contentType": "text/csv",
                        "fileCreationDate": "2021-01-01",
                        "fileLink": "/invoicing-api/v4/contracts/C-0N7RAC7/invoices/8234567890/download",
                        "fileName": "1234567890_1.csv",
                        "fileVersion": 1,
                        "sourceType": "REGULAR"
                      }
                    ],
                    "invoiceCurrency": "USD",
                    "invoiceDate": "2021-01-01",
                    "invoiceDueDate": "2021-01-20",
                    "invoiceId": 1234567890,
                    "invoiceTotal": 50000.42,
                    "invoiceType": "INVOICE"
                  },
                  {
                    "accountId": "A-CCT9012",
                    "contractId": "K-0N7RAK71",
                    "files": [
                      {
                        "contentType": "application/pdf",
                        "fileCreationDate": "2021-01-01",
                        "fileLink": "/invoicing-api/v4/contracts/C-0N7RAC7/invoices/8234567890/download",
                        "fileName": "CreditMemoName_1-XYZ_1-ABCD_8234567890_FINAL_COMPUTE_1.pdf",
                        "fileVersion": 2,
                        "sourceType": "COMPUTE"
                      },
                      {
                        "contentType": "text/csv",
                        "fileCreationDate": "2021-01-01",
                        "fileLink": "/invoicing-api/v4/contracts/C-0N7RAC7/invoices/8234567890/download",
                        "fileName": "8234567890_COMPUTE_1.csv",
                        "fileVersion": 2,
                        "sourceType": "COMPUTE"
                      }
                    ],
                    "invoiceCurrency": "USD",
                    "invoiceDate": "2021-01-01",
                    "invoiceDueDate": "2021-01-20",
                    "invoiceId": 8234567890,
                    "invoiceTotal": -1020.71,
                    "invoiceType": "CREDIT_MEMO"
                  },
                  {
                    "accountId": "A-CCT9012",
                    "contractId": "K-0N7RAK71",
                    "files": [
                      {
                        "contentType": "application/pdf",
                        "fileCreationDate": "2021-01-01",
                        "fileLink": "/invoicing-api/v4/contracts/C-0N7RAC7/invoices/9876543210/download",
                        "fileName": "DebitMemoName_1-XYZ_1-ABCD_9876543210_FINAL_1.pdf",
                        "fileVersion": 1,
                        "sourceType": "REGULAR"
                      },
                      {
                        "contentType": "text/csv",
                        "fileCreationDate": "2021-01-01",
                        "fileLink": "/invoicing-api/v4/contracts/C-0N7RAC7/invoices/9876543210/download",
                        "fileName": "9876543210_1.csv",
                        "fileVersion": 1,
                        "sourceType": "REGULAR"
                      }
                    ],
                    "invoiceCurrency": "USD",
                    "invoiceDate": "2021-01-01",
                    "invoiceDueDate": "2021-01-20",
                    "invoiceId": 9876543210,
                    "invoiceTotal": 40000,
                    "invoiceType": "DEBIT_MEMO"
                  }
                ],
                "schema": {
                  "description": "List of invoices, credit memos, or debit memos.",
                  "items": {
                    "additionalProperties": false,
                    "description": "List of invoices, credit memos, and debit memos.",
                    "properties": {
                      "accountId": {
                        "description": "Identifies the account.",
                        "minLength": 1,
                        "type": "string"
                      },
                      "contractId": {
                        "description": "Identifies the contract the data reflects.",
                        "minLength": 1,
                        "type": "string"
                      },
                      "files": {
                        "description": "Specifies invoice and credit memo files.",
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "contentType": {
                              "description": "The content type of the file, either `application/json`, `application/pdf`, or `text/csv`.",
                              "enum": [
                                "application/json",
                                "application/pdf",
                                "text/csv"
                              ],
                              "type": "string"
                            },
                            "fileCreationDate": {
                              "description": "The date when the file was created.",
                              "format": "date",
                              "type": "string"
                            },
                            "fileLink": {
                              "description": "The link to download the file.",
                              "format": "uri-reference",
                              "type": "string"
                            },
                            "fileName": {
                              "description": "The name of the file.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "fileVersion": {
                              "description": "The version of the file.",
                              "minimum": 1,
                              "type": "integer"
                            },
                            "sourceType": {
                              "description": "The source type of the file, either `REGULAR` or `COMPUTE`.",
                              "enum": [
                                "REGULAR",
                                "COMPUTE"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "fileName",
                            "fileVersion",
                            "fileCreationDate",
                            "sourceType",
                            "fileLink",
                            "contentType"
                          ],
                          "type": "object"
                        },
                        "minItems": 1,
                        "type": "array"
                      },
                      "invoiceCurrency": {
                        "description": "Three-letter ISO 4217 code indicating the currency that measures all totals.",
                        "minLength": 1,
                        "type": "string"
                      },
                      "invoiceDate": {
                        "description": "The invoice's, credit memo's, or debit memo's published date, formatted as ISO 8601 date.",
                        "format": "date",
                        "type": "string"
                      },
                      "invoiceDueDate": {
                        "description": "The invoice's, credit memo's, or debit memo' due date.",
                        "format": "date",
                        "type": "string"
                      },
                      "invoiceId": {
                        "description": "Identifies the invoice, credit memo, or debit memo.",
                        "minimum": 1,
                        "type": "integer"
                      },
                      "invoiceTotal": {
                        "description": "The amount billed.",
                        "type": "number"
                      },
                      "invoiceType": {
                        "description": "The overall category for the document, such as `INVOICE`, `CREDIT_MEMO`, or `DEBIT_MEMO` for adjustments.",
                        "enum": [
                          "INVOICE",
                          "CREDIT_MEMO",
                          "DEBIT_MEMO"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "invoiceId",
                      "invoiceDate",
                      "invoiceTotal",
                      "invoiceCurrency",
                      "invoiceType",
                      "contractId",
                      "accountId",
                      "files"
                    ],
                    "type": "object",
                    "x-akamai": {
                      "file-path": "schemas/invoice-schema.yaml"
                    }
                  },
                  "minItems": 1,
                  "type": "array",
                  "x-akamai": {
                    "file-path": "schemas/list-invoices-schema.yaml"
                  }
                }
              }
            },
            "description": "The response lists invoices, credit memos, and debit memos."
          },
          "204": {
            "content": {},
            "description": "This response indicates there were no results based on the requested parameters."
          },
          "400": {
            "content": {
              "application/problem+json": {
                "example": {
                  "errors": [
                    {
                      "title": "Field 'from' is invalid. Incorrect value: null",
                      "type": "/billing/error-types/2"
                    }
                  ],
                  "incidentId": "82ea2b60-a0c8-425f-9300-85bb3185cdf2",
                  "title": "An incorrect request has been sent",
                  "type": "/billing/error-types/1"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies the errors.",
                  "properties": {
                    "errors": {
                      "description": "Objects indicating causes of failure.",
                      "items": {
                        "additionalProperties": false,
                        "description": "A further nested problem object.",
                        "properties": {
                          "title": {
                            "description": "Title of the error.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of error.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/problem-nested.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "Identifies the incident.",
                      "type": "string"
                    },
                    "title": {
                      "description": "Title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of error.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "incidentId"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "[Bad request](ref:400).",
            "x-akamai": {
              "file-path": "errors/400.yaml"
            }
          },
          "401": {
            "content": {
              "application/problem+json": {
                "example": {
                  "clientIp": "192.0.2.0",
                  "detail": "The signature does not match",
                  "instance": "https://akab-xxxxx-xxxxx.luna.akamaiapis.net/invoicing-api/v4/notifications",
                  "method": "GET",
                  "requestId": "933ed8a4",
                  "requestTime": "2023-02-26T17:41:25Z",
                  "serverIp": "192.0.2.34",
                  "status": 401,
                  "title": "Not authorized",
                  "type": "https://problems.luna.akamaiapis.net/-/pep-authn/deny"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies the errors.",
                  "properties": {
                    "clientIp": {
                      "description": "IP address of the client.",
                      "type": "string"
                    },
                    "detail": {
                      "description": "More information about the error.",
                      "type": "string"
                    },
                    "instance": {
                      "description": "The URL for this error occurrence.",
                      "type": "string"
                    },
                    "method": {
                      "description": "HTTP method.",
                      "type": "string"
                    },
                    "requestId": {
                      "description": "Identifies the request.",
                      "type": "string"
                    },
                    "requestTime": {
                      "description": "Request date expressed as an ISO 8601 timestamp.",
                      "format": "date-time",
                      "type": "string"
                    },
                    "serverIp": {
                      "description": "IP address of the server.",
                      "type": "string"
                    },
                    "status": {
                      "description": "HTTP status code.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "Title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of error.",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-401.yaml"
                  }
                }
              }
            },
            "description": "[Authorization error](ref:401).",
            "x-akamai": {
              "file-path": "errors/401.yaml"
            }
          },
          "403": {
            "content": {
              "application/problem+json": {
                "example": {
                  "errors": [
                    {
                      "title": "Access is denied",
                      "type": "/billing/error-types/11"
                    }
                  ],
                  "incidentId": "c7b6d7be-9268-4410-a031-cc0d013ce5c3",
                  "title": "User in current context cannot access resource",
                  "type": "/billing/error-types/11"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies the errors.",
                  "properties": {
                    "errors": {
                      "description": "Objects indicating causes of failure.",
                      "items": {
                        "additionalProperties": false,
                        "description": "A further nested problem object.",
                        "properties": {
                          "title": {
                            "description": "Title of the error.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of error.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/problem-nested.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "Identifies the incident.",
                      "type": "string"
                    },
                    "title": {
                      "description": "Title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of error.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "incidentId"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "[Access is forbidden](ref:403).",
            "x-akamai": {
              "file-path": "errors/403.yaml"
            }
          },
          "404": {
            "content": {
              "application/problem+json": {
                "example": {
                  "errors": [
                    {
                      "title": "No handler found for GET /billing/v1/contracts/C-0N7RAC7/products-abc",
                      "type": "/billing/error-types/3"
                    }
                  ],
                  "incidentId": "5109160e-ea62-4627-afa3-3a7c0838d7ad",
                  "title": "Resource not found",
                  "type": "/billing/error-types/3"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies the errors.",
                  "properties": {
                    "errors": {
                      "description": "Objects indicating causes of failure.",
                      "items": {
                        "additionalProperties": false,
                        "description": "A further nested problem object.",
                        "properties": {
                          "title": {
                            "description": "Title of the error.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of error.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/problem-nested.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "Identifies the incident.",
                      "type": "string"
                    },
                    "title": {
                      "description": "Title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of error.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "incidentId"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "[Resource not found](ref:404).",
            "x-akamai": {
              "file-path": "errors/404.yaml"
            }
          },
          "405": {
            "content": {
              "application/problem+json": {
                "example": {
                  "errors": [
                    {
                      "title": "Request method 'POST' not supported",
                      "type": "/billing/error-types/4"
                    }
                  ],
                  "incidentId": "f9c951f2-9d10-4eac-9951-36471884e7f6",
                  "title": "Method not allowed",
                  "type": "/billing/error-types/4"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies the errors.",
                  "properties": {
                    "errors": {
                      "description": "Objects indicating causes of failure.",
                      "items": {
                        "additionalProperties": false,
                        "description": "A further nested problem object.",
                        "properties": {
                          "title": {
                            "description": "Title of the error.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of error.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/problem-nested.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "Identifies the incident.",
                      "type": "string"
                    },
                    "title": {
                      "description": "Title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of error.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "incidentId"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "[Method not allowed](ref:405).",
            "x-akamai": {
              "file-path": "errors/405.yaml"
            }
          },
          "429": {
            "content": {
              "application/problem+json": {
                "example": {
                  "details": "This account has reached the request limit of 10",
                  "rateLimit": 10,
                  "rateLimitNextRequest": "2025-02-04T13:55:00Z",
                  "rateLimitRemaining": 0,
                  "rateLimitReset": "2025-02-04T13:55:00Z",
                  "status": 429,
                  "title": "Rate Limit Exceeded",
                  "type": "/billing/error-types/15"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies the errors.",
                  "properties": {
                    "details": {
                      "description": "More information about the error.",
                      "type": "string"
                    },
                    "rateLimit": {
                      "description": "The total number of requests allowed.",
                      "type": "integer"
                    },
                    "rateLimitNextRequest": {
                      "description": "The time when you can next make another request.",
                      "format": "date-time",
                      "type": "string"
                    },
                    "rateLimitRemaining": {
                      "description": "Remaining requests available.",
                      "type": "integer"
                    },
                    "rateLimitReset": {
                      "description": "The time when the `rateLimitRemaining` will return to the original `rateLimit`.",
                      "format": "date-time",
                      "type": "string"
                    },
                    "status": {
                      "description": "HTTP status code.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "Title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "The type of error, a non-navigable URI.",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-429.yaml"
                  }
                }
              }
            },
            "description": "[Too many requests](ref:429).",
            "x-akamai": {
              "file-path": "errors/429.yaml"
            }
          },
          "500": {
            "content": {
              "application/problem+json": {
                "example": {
                  "incidentId": "82ea2b60-a0c8-425f-9300-85bb3185cdf2",
                  "title": "An unexpected error occurred during request processing",
                  "type": "/billing-api/error-types/5"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies the errors.",
                  "properties": {
                    "errors": {
                      "description": "Objects indicating causes of failure.",
                      "items": {
                        "additionalProperties": false,
                        "description": "A further nested problem object.",
                        "properties": {
                          "title": {
                            "description": "Title of the error.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of error.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/problem-nested.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "Identifies the incident.",
                      "type": "string"
                    },
                    "title": {
                      "description": "Title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of error.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "incidentId"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "[Server error](ref:500).",
            "x-akamai": {
              "file-path": "errors/500.yaml"
            }
          }
        },
        "summary": "List bills for an account",
        "tags": [
          "Invoices"
        ]
      },
      "x-akamai": {
        "file-path": "paths/invoices.yaml",
        "path-info": "/invoices"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/invoicing-api/v4"
    }
  ],
  "tags": [
    {
      "description": "Get invoice, credit memo, and debit memo data for a contract.",
      "name": "Invoices"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "01-invoices.yaml"
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [List bills for a contract](https://techdocs.akamai.com/invoicing/reference/get-contracts-invoices.md)
* [Download a bill file](https://techdocs.akamai.com/invoicing/reference/get-contract-invoice-download.md)