---
title: "Get invoice"
method: POST
path: "/account/v1alpha1/invoice/get"
tags: ["GetInvoice"]
---

# Get invoice

`POST /account/v1alpha1/invoice/get`

## Request

- Base URL: `https://localhost:2333`
- URL: `https://localhost:2333/account/v1alpha1/invoice/get`
- Auth: none declared

Get invoice

## Request body

- HelperGetInvoiceReq
  - `endTime` string
  - `invoiceID` string: @Summary Invoice ID @Description Invoice ID @JSONSchema
  - `kubeConfig` string
  - `owner` string
  - `page` integer: @Summary Page @Description Page
  - `pageSize` integer: @Summary Page Size @Description Page Size
  - `startTime` string
  - `token` string
  - `userID` string
  - `userUID` string

## Response `200`

successfully get invoice

- object

## Other responses

- `400`: failed to parse get invoice request
- `401`: authenticate error
- `500`: failed to get invoice

## Changes

- **2024-08-23** `6db554be255d`: 1 info
  - endpoint added
- **2023-12-13** `ac0fa9d94489`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/labring/apis/sealos-account-service/changes/account/v1alpha1/invoice/get/post.md)

---

[API](https://skmtc.dev/labring/apis/sealos-account-service.md) - [All operations](https://skmtc.dev/labring/apis/sealos-account-service/llms.txt) - [OpenAPI document](https://skmtc.dev/labring/apis/sealos-account-service/revisions/acd38d9540d3?raw)
