> ## Documentation Index
> Fetch the complete documentation index at: https://docsapi.wiseapp360.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List the invoices of an account

> Returns the 100 most recent billing documents of the account, newest first.



## OpenAPI

````yaml /openapi/platform.json get /platform/api/v1/accounts/{account_id}/billing/invoices
openapi: 3.1.0
info:
  title: WiseApp API — Plataforma
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /platform/api/v1/accounts/{account_id}/billing/invoices:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
    get:
      tags:
        - Billing Administration
      summary: List the invoices of an account
      description: >-
        Returns the 100 most recent billing documents of the account, newest
        first.
      operationId: list-account-billing-invoices
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/billing_invoice'
              example:
                - id: 184
                  kind: subscription
                  amount_cents: 4900
                  currency: USD
                  status: paid
                  provider: stripe
                  description: null
                  payable: false
                  pending_checkout: false
                  hosted_invoice_url: https://invoice.stripe.com/i/acct_1Q8x/test_YWNjdF8x
                  fiscal_document_number: null
                  fiscal_document_pdf_url: null
                  due_at: '2026-09-01T00:00:00Z'
                  paid_at: '2026-09-01T03:12:44Z'
                  created_at: '2026-08-25T00:00:12Z'
        '401':
          description: >-
            Unauthorized. The token is not a valid platform app token, or the
            account was not granted to this platform app.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Unauthorized
        '404':
          description: >-
            Native billing is not enabled on this installation, or the account
            was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Resource not found
      security:
        - platformAppApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
  schemas:
    billing_invoice:
      type: object
      description: >-
        A billing document of the account. Scheduled charges and unpaid first
        charges of abandoned checkouts are not listed.
      properties:
        id:
          type: integer
        kind:
          type: string
          enum:
            - subscription
            - proration
            - addons
            - credit_package
            - service
          description: >-
            `service` is a one-off charge raised by Super Admin or the platform
            API (consulting, onboarding...).
        amount_cents:
          type: integer
        currency:
          type: string
        status:
          type: string
          enum:
            - open
            - paid
            - overdue
            - void
            - refunded
            - chargeback
        provider:
          type: string
          enum:
            - stripe
            - asaas
            - dlocal_go
            - paypal
            - shopify
            - manual
          description: Gateway that charges the invoice.
        description:
          type:
            - string
            - 'null'
          description: What a service charge is for; null for the other kinds.
        payable:
          type: boolean
          description: >-
            True for an unpaid service charge, which the account pays with `POST
            billing/invoices/{invoice_id}/pay`.
        pending_checkout:
          type: boolean
          description: True for the first charge of a checkout the customer left unpaid.
        hosted_invoice_url:
          type:
            - string
            - 'null'
          format: uri
          description: Gateway-hosted page to pay or review the invoice.
        fiscal_document_number:
          type:
            - string
            - 'null'
        fiscal_document_pdf_url:
          type:
            - string
            - 'null'
          format: uri
          description: Only returned once the fiscal document is authorized.
        due_at:
          type:
            - string
            - 'null'
          format: date-time
        paid_at:
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
      example:
        id: 184
        kind: subscription
        amount_cents: 4900
        currency: USD
        status: paid
        provider: stripe
        description: null
        payable: false
        pending_checkout: false
        hosted_invoice_url: https://invoice.stripe.com/i/acct_1Q8x/test_YWNjdF8x
        fiscal_document_number: null
        fiscal_document_pdf_url: null
        due_at: '2026-09-01T00:00:00Z'
        paid_at: '2026-09-01T03:12:44Z'
        created_at: '2026-08-25T00:00:12Z'
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    request_error:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
  securitySchemes:
    platformAppApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de um Platform App, gerado pelo super admin. Usado para
        provisionar contas, usuários, papéis e bots.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.