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

# Get outbound invoice stats

> Returns aggregated outbound invoice stats in the company's base currency. Requires permission `request_payments`.



## OpenAPI

````yaml /specs/company.openapi.yaml get /developer/company/invoices/stats
openapi: 3.1.0
info:
  title: Incard Developer API
  version: 0.1.0
  description: OpenAPI definition for the Incard Developer API.
servers:
  - url: https://api.incard.com
    description: Developer Gateway (production)
  - url: https://api-nonprod.incard.com
    description: Developer Gateway (non-production)
security:
  - BearerAuth: []
tags:
  - name: INVOICES
  - name: webhooks
paths:
  /developer/company/invoices/stats:
    get:
      tags:
        - INVOICES
      summary: Get outbound invoice stats
      description: >-
        Returns aggregated outbound invoice stats in the company's base
        currency. Requires permission `request_payments`.
      operationId: get_outbound_invoice_stats
      responses:
        '200':
          description: Open / overdue / paid counts and amounts.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    description: Whether stats were returned successfully.
                    type: boolean
                  data:
                    type: object
                    properties:
                      open:
                        type: object
                        properties:
                          count:
                            description: Number of open invoices.
                            type: number
                          amount:
                            description: >-
                              Total open invoice amount in the company's base
                              currency.
                            type: number
                        required:
                          - count
                          - amount
                      overdue:
                        type: object
                        properties:
                          count:
                            description: Number of overdue invoices.
                            type: number
                          amount:
                            description: >-
                              Total overdue invoice amount in the company's base
                              currency.
                            type: number
                        required:
                          - count
                          - amount
                      paid:
                        type: object
                        properties:
                          count:
                            description: Number of paid invoices.
                            type: number
                          amount:
                            description: >-
                              Total paid invoice amount in the company's base
                              currency.
                            type: number
                        required:
                          - count
                          - amount
                required:
                  - success
                title: OutboundInvoiceStats
              example:
                success: true
                data:
                  open:
                    count: 1
                    amount: 100
                  overdue:
                    count: 0
                    amount: 0
                  paid:
                    count: 0
                    amount: 0
        '401':
          description: Unauthorized
        '403':
          description: Forbidden — insufficient permission for this user
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: access_token
      description: Short-lived access token. Obtain with your api_key.

````