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

# List Invoice Items

> Get a list of invoice items for a given month and year



## OpenAPI

````yaml https://app.levanta.io/api/creator/v1/openapi.json get /invoices/items
openapi: 3.1.0
info:
  version: 1.0.0
  title: Levanta Creator API
  description: >-
    Authorize all requests with an API key in the Authorization header as the
    second token. E.g. Authorization -> "Bearer {api_key}".
servers:
  - url: https://app.levanta.io/api/creator/v1
security: []
externalDocs:
  url: https://app.levanta.io/creator/api-docs
paths:
  /invoices/items:
    get:
      tags:
        - Invoices
      summary: List Invoice Items
      description: Get a list of invoice items for a given month and year
      operationId: ListInvoiceItems
      parameters:
        - schema:
            type: number
            minimum: 1
            maximum: 100
            default: 25
            description: The maximum number of items to return
          required: false
          description: The maximum number of items to return
          name: limit
          in: query
        - schema:
            type: string
            maxLength: 512
            description: >-
              The cursor returned from the last request, if omitted the first
              page will be returned
          required: false
          description: >-
            The cursor returned from the last request, if omitted the first page
            will be returned
          name: cursor
          in: query
        - schema:
            type: string
            description: >-
              Comma-delimited list of strings representing an array. Example:
              1,2,3 equivalent to [1,2,3]
          required: false
          description: >-
            Comma-delimited list of strings representing an array. Example:
            1,2,3 equivalent to [1,2,3]
          name: brand_ids
          in: query
        - schema:
            type:
              - number
              - 'null'
            minimum: 0
            maximum: 11
          required: false
          name: month
          in: query
        - schema:
            type: number
            minimum: 2023
            maximum: 2030
          required: true
          name: year
          in: query
        - schema:
            type: string
            enum:
              - all
              - amazon.com
              - amazon.co.uk
              - amazon.ca
              - amazon.de
              - amazon.fr
            default: amazon.com
            description: >-
              Represents an Amazon marketplace. If "all" is specified then the
              scope is all marketplaces.
          required: false
          description: >-
            Represents an Amazon marketplace. If "all" is specified then the
            scope is all marketplaces.
          name: marketplace
          in: query
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        brand:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                          required:
                            - id
                            - name
                        month:
                          type: number
                        year:
                          type: number
                        sales:
                          type: number
                        commission:
                          type: number
                        cpcCommission:
                          type: number
                        status:
                          type: string
                          enum:
                            - pending
                            - late
                            - paid
                          description: The status of the invoice.
                        currency:
                          type: string
                          enum:
                            - USD
                            - GBP
                            - CAD
                            - EUR
                        marketplace:
                          type: string
                          enum:
                            - all
                            - amazon.com
                            - amazon.co.uk
                            - amazon.ca
                            - amazon.de
                            - amazon.fr
                          default: amazon.com
                          description: >-
                            Represents an Amazon marketplace. If "all" is
                            specified then the scope is all marketplaces.
                      required:
                        - brand
                        - month
                        - year
                        - sales
                        - commission
                        - cpcCommission
                        - status
                        - currency
                  cursor:
                    type:
                      - string
                      - 'null'
                    description: >-
                      The cursor to use for the next request, if empty there are
                      no more items to return
                required:
                  - items
                  - cursor
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    enum:
                      - 401
                  message:
                    type: string
                    enum:
                      - Unauthorized
                required:
                  - status
                  - message
        '422':
          description: Input Validation Failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    enum:
                      - 422
                  message:
                    type: string
                    enum:
                      - Input Validation Failed
                required:
                  - status
                  - message
      security:
        - Bearer: []
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer

````