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

# List invoice templates

> Returns a paginated list of the invoice templates configured for the portal.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/invoice-templates
openapi: 3.0.0
info:
  contact: {}
  title: Assembly API
  version: 0.0.1
servers:
  - url: https://api.assembly.com
security: []
paths:
  /v1/invoice-templates:
    get:
      tags:
        - Invoice Templates
      summary: List invoice templates
      description: >-
        Returns a paginated list of the invoice templates configured for the
        portal.
      operationId: list-invoice-templates
      parameters:
        - description: Maximum number of records to return.
          in: query
          name: limit
          schema:
            type: integer
        - description: Pagination cursor returned by a previous request.
          in: query
          name: nextToken
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/invoiceTemplate.GetInvoiceTemplateResponse
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatcher.Error'
          description: Invalid pagination parameters
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatcher.Error'
          description: Missing or invalid API key
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatcher.Error'
          description: Unexpected server error
      security:
        - APIKeyHeader: []
components:
  schemas:
    invoiceTemplate.GetInvoiceTemplateResponse:
      properties:
        data:
          description: InvoiceTemplates is the page of invoice templates for the portal.
          items:
            $ref: '#/components/schemas/invoiceTemplate.InvoiceTemplate'
          nullable: true
          type: array
        nextToken:
          description: base64 encoded JSON representing a NextToken
          type: string
      type: object
    dispatcher.Error:
      properties:
        code:
          type: string
        data: {}
        message:
          type: string
      type: object
    invoiceTemplate.InvoiceTemplate:
      properties:
        attachmentKeys:
          description: >-
            AttachmentKeys are the storage keys of files attached to the
            template.
          items:
            type: string
          type: array
        createdAt:
          type: string
        creatorId:
          type: string
        data:
          type: string
        id:
          type: string
        identityId:
          type: string
        lineItems:
          description: >-
            LineItems are the billable line items that make up the template; at
            least one is required.
          items:
            $ref: '#/components/schemas/line_item.LineItem'
          type: array
        memo:
          description: >-
            Memo is an optional note shown on invoices created from this
            template.
          example: Thank you for your business
          type: string
        name:
          description: Name is the human-readable name of the invoice template.
          example: Monthly retainer
          type: string
        object:
          type: string
        previousAttributes:
          additionalProperties: true
          type: object
        ref:
          type: string
        taxPercentage:
          description: >-
            TaxPercentage is the tax rate applied to the template total,
            expressed as a percentage (e.g. 8.5 for 8.5%).
          example: 8.5
          nullable: true
          type: number
        updatedAt:
          type: string
      type: object
    line_item.LineItem:
      properties:
        amount:
          description: >-
            Amount is the per-unit charge in the smallest currency unit (e.g.
            cents) for a one-off line item. Required, together with description,
            when priceId is absent.
          example: 5000
          type: integer
        description:
          description: >-
            Description is the human-readable description of a one-off line
            item. Required, together with amount, when priceId is absent.
          example: Onboarding setup fee
          type: string
        id:
          type: string
        priceId:
          description: >-
            PriceId is the ID of the price this line item bills for. Either
            priceId or amount with description must be provided.
          example: price_1a2b3c
          type: string
        priceInterval:
          description: >-
            PriceInterval is the recurring interval of the referenced price,
            when the line item bills a recurring price.
          example: month
          type: string
        productId:
          description: >-
            ProductId is the ID of the product this line item bills for; absent
            for one-off charges.
          example: prod_1a2b3c
          type: string
        quantity:
          description: Quantity is the number of units billed for this line item. Required.
          example: 2
          maximum: 1000000
          minimum: 1
          type: number
        type:
          type: string
      type: object
  securitySchemes:
    APIKeyHeader:
      in: header
      name: X-API-KEY
      type: apiKey

````