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

# List Transactions for a Business

> **Scopes:** `transaction:read`



## OpenAPI

````yaml /api-reference/openapi.json get /v0/business/{business_id}/transactions
openapi: 3.1.0
info:
  title: Asset API
  version: '0.1'
servers:
  - url: https://api.sandbox.getasset.com
    description: Sandbox
  - url: https://api.getasset.com
    description: Production
security: []
paths:
  /v0/business/{business_id}/transactions:
    get:
      tags:
        - Transaction
      summary: List Transactions for a Business
      description: '**Scopes:** `transaction:read`'
      operationId: get_business_transactions_v0_business__business_id__transactions_get
      parameters:
        - name: business_id
          in: path
          required: true
          schema:
            description: The id of the business
            examples:
              - biz_GA6EG2qFxA97NZHtxeLPUy
            type: string
            format: biz_string
            title: Business Id
          description: The id of the business
        - name: type
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/TransactionType'
              - type: 'null'
            description: Filter transactions by the type of the Transaction
            title: Type
          description: Filter transactions by the type of the Transaction
        - name: reviewed
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            description: Filter transactions by whether they are reviewed
            title: Reviewed
          description: Filter transactions by whether they are reviewed
        - name: posted
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            description: Filter transactions by whether they are posted
            title: Posted
          description: Filter transactions by whether they are posted
        - name: ledger_type
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/LedgerType'
              - type: 'null'
            description: >-
              Filter transactions whose both-basis Journal Entry has a line in a
              Ledger of this type
            title: Ledger Type
          description: >-
            Filter transactions whose both-basis Journal Entry has a line in a
            Ledger of this type
        - name: ledger_subtype
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/LedgerSubType'
              - type: 'null'
            description: >-
              Filter transactions whose both-basis Journal Entry has a line in a
              Ledger of this subtype
            title: Ledger Subtype
          description: >-
            Filter transactions whose both-basis Journal Entry has a line in a
            Ledger of this subtype
        - name: start_datetime
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: >-
              Include transactions after this period (inclusive) in ISO-8601
              format
            title: Start Datetime
          description: >-
            Include transactions after this period (inclusive) in ISO-8601
            format
        - name: end_datetime
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: >-
              Include transactions before this period (inclusive) in ISO-8601
              format
            title: End Datetime
          description: >-
            Include transactions before this period (inclusive) in ISO-8601
            format
        - name: account_ids
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - items:
                  type: string
                type: array
              - type: 'null'
            description: Filter transactions by External Account IDs, comma-separated
            title: Account Ids
          description: Filter transactions by External Account IDs, comma-separated
        - name: ids
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Comma-separated list of Transaction IDs to retrieve. Maximum limit
              is 100.
            title: Ids
          description: >-
            Comma-separated list of Transaction IDs to retrieve. Maximum limit
            is 100.
        - name: external_ids
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - items:
                  type: string
                type: array
              - type: 'null'
            description: Comma-separated list of external IDs to filter by
            title: External Ids
          description: Comma-separated list of external IDs to filter by
        - name: includes
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Comma-separated list of related objects to include. Supported:
              invoice_payments.invoice, refund_payments, bill_payments
            title: Includes
          description: >-
            Comma-separated list of related objects to include. Supported:
            invoice_payments.invoice, refund_payments, bill_payments
        - name: sort_by
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/TransactionSortField'
            default: datetime
        - name: order
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/TransactionSortOrder'
            default: desc
        - name: page_token
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                description: The page token to for the next or previous page
              - type: 'null'
            title: Page Token
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 100
            title: Page Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionsPaginated'
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Content
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Service Unavailable
      security:
        - OAuth2PasswordBearer:
            - transaction:read
components:
  schemas:
    TransactionType:
      type: string
      enum:
        - business
        - personal
      title: TransactionType
    LedgerType:
      type: string
      enum:
        - asset
        - liability
        - equity
        - revenue
        - expense
      title: LedgerType
    LedgerSubType:
      type: string
      enum:
        - current_asset
        - fixed_asset
        - other_asset
        - uncategorized_asset
        - current_liability
        - long_term_liability
        - operating_revenue
        - other_inflow
        - cost_of_goods_sold
        - operating_expense
        - other_outflow
        - contribution
        - distribution
        - common_stock
        - preferred_stock
        - additional_capital
        - opening_balance
        - retained_earnings
      title: LedgerSubType
    TransactionSortField:
      type: string
      enum:
        - datetime
        - description
      title: TransactionSortField
    TransactionSortOrder:
      type: string
      enum:
        - asc
        - desc
      title: TransactionSortOrder
    TransactionsPaginated:
      properties:
        data:
          items:
            $ref: '#/components/schemas/TransactionPublic'
          type: array
          title: Data
        pagination:
          $ref: '#/components/schemas/PaginationResponse'
      type: object
      required:
        - data
        - pagination
      title: TransactionsPaginated
    ErrorResponse:
      properties:
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
          description: A description of the error
        data:
          title: Data
          description: Data associated with the error
      type: object
      required:
        - error
        - data
      title: ErrorResponse
    TransactionPublic:
      properties:
        external_id:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: External Id
          examples:
            - '1234567890'
        amount:
          type: number
          title: Amount
          examples:
            - 520.56
        datetime:
          type: string
          format: date-time
          title: Datetime
        description:
          type: string
          maxLength: 512
          title: Description
          description: The description of the Transaction
          examples:
            - Payment from Acme Corp
        posted:
          type: boolean
          title: Posted
        type:
          $ref: '#/components/schemas/TransactionType'
          description: The type of the Transaction
          examples:
            - business
            - personal
        reviewed:
          type: boolean
          title: Reviewed
        metadata_:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        id:
          type: string
          format: txn_string
          title: Id
          description: The ID of the Transaction
          examples:
            - txn_WQMDNUHpBThYSNh4AprDBo
        external_account_id:
          type: string
          format: eac_string
          title: External Account Id
          description: The ID of the External Account associated with the Transaction
          examples:
            - eac_WQMDNUHpBThYSNh4AprDBo
        category:
          anyOf:
            - items:
                $ref: '#/components/schemas/TransactionCategory'
              type: array
            - type: 'null'
          title: Category
          description: >-
            The categories associated with the Transaction, derived from the
            journal entry with both basis. Each entry carries the ledger name
            and the amount allocated to it; a single-category journal entry is
            still returned as a one-element list. Null when no journal entry
            with both basis exists.
          examples:
            - - amount: '89.23'
                name: Office Supplies
            - - amount: '50.00'
                name: Office Supplies
              - amount: '39.23'
                name: Travel
        status:
          anyOf:
            - $ref: '#/components/schemas/TransactionStatus'
            - type: 'null'
          description: The status of the Transaction. Null when it has no status.
          examples:
            - confirmed
        line_items:
          anyOf:
            - items:
                $ref: '#/components/schemas/TransactionLineItem'
              type: array
            - type: 'null'
          title: Line Items
          description: >-
            The categorized line items of the Transaction. Each item carries the
            ledger it is categorized to and the amount allocated to it. Pass the
            ids of the line items to the split endpoint to re-split the
            Transaction. Null when the Transaction has no categorization.
        invoice_payments:
          anyOf:
            - items:
                $ref: '#/components/schemas/InvoicePaymentPublic'
              type: array
            - type: 'null'
          title: Invoice Payments
          description: The invoice payments associated with the Transaction
          examples:
            - null
        refund_payments:
          anyOf:
            - items:
                $ref: '#/components/schemas/RefundPaymentPublic'
              type: array
            - type: 'null'
          title: Refund Payments
          description: The refund payments associated with the Transaction
          examples:
            - null
        bill_payments:
          anyOf:
            - items:
                $ref: '#/components/schemas/BillPaymentPublic'
              type: array
            - type: 'null'
          title: Bill Payments
          description: The bill payments associated with the Transaction
          examples:
            - null
        tags:
          anyOf:
            - additionalProperties:
                items:
                  $ref: '#/components/schemas/TransactionTagValueInput-Output'
                type: array
              type: object
            - type: 'null'
          title: Tags
          description: >-
            Tag field name to the list of values attached to the transaction.
            Each value carries its allocated amount and, when pinned, its
            ledger; a single-value field is still returned as a one-element
            list.
          examples:
            - Job:
                - amount: '3000.00'
                  value: Maple Street Remodel
                - amount: '1500.00'
                  value: Downtown Office Rewire
      type: object
      required:
        - external_id
        - amount
        - datetime
        - description
        - posted
        - type
        - reviewed
        - id
        - external_account_id
      title: TransactionPublic
    PaginationResponse:
      properties:
        next_page_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Page Token
          description: The next page token
        previous_page_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Previous Page Token
          description: The previous page token
      type: object
      title: PaginationResponse
    TransactionCategory:
      properties:
        name:
          type: string
          title: Name
          description: The name of the category (the ledger name)
          examples:
            - Office Supplies
        amount:
          type: number
          title: Amount
          description: The amount allocated to this category
          examples:
            - 89.23
      type: object
      required:
        - name
        - amount
      title: TransactionCategory
    TransactionStatus:
      type: string
      enum:
        - bookkeeper_pending
        - business_pending
        - confirmed
      title: TransactionStatus
      description: |-
        The status of a Transaction as exposed by the transactions API. Mirrors
        JournalEntryReviewStatus, from which a Transaction's status is derived.
    TransactionLineItem:
      properties:
        id:
          type: string
          format: le_string
          title: Id
          description: The ID of the line item
          examples:
            - le_GA6EG2qFxA97NZHtxeLPUy
        ledger_id:
          type: string
          format: ldg_string
          title: Ledger Id
          description: The ID of the Ledger the amount is categorized to
          examples:
            - ldg_Ns6rRRLYVZPh4cVB7MDby5
        category:
          type: string
          title: Category
          description: >-
            The name of the category (the name of the Ledger the amount is
            categorized to)
          examples:
            - Office Supplies
        description:
          type: string
          title: Description
          description: The description of the line item
          examples:
            - Office Supplies
        amount:
          type: number
          title: Amount
          description: >-
            The amount allocated to the line item, signed in the same direction
            as the Transaction amount (positive for an inflow, negative for an
            outflow). The line items always sum to the Transaction amount.
          examples:
            - -89.23
      type: object
      required:
        - id
        - ledger_id
        - category
        - description
        - amount
      title: TransactionLineItem
      description: A single categorized allocation of a Transaction.
    InvoicePaymentPublic:
      properties:
        invoice_id:
          type: string
          format: inv_string
          title: Invoice Id
          description: The ID of the invoice that the payment is associated with
          examples:
            - inv_GkBo16N66u2teKfFuFMMwf
        transaction_id:
          anyOf:
            - type: string
              format: txn_string
            - type: 'null'
          title: Transaction Id
          description: >-
            The ID of the transaction that the payment is associated with. Null
            for credit-source payments.
          examples:
            - txn_WQMDNUHpBThYSNh4AprDBo
        credit_journal_entry_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Credit Journal Entry Id
          description: >-
            Journal entry created for this payment. Populated for credit-source
            payments; null for transaction-source payments (whose JE is keyed
            off the transaction).
        credit_memo_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Credit Memo Id
          description: >-
            Credit memo that backs this payment. Set for write-off payments;
            null otherwise.
        payment_id:
          type: string
          maxLength: 255
          title: Payment Id
          description: The external identifier of the payment
          examples:
            - inp_ErisumsAc7qgmbTctM7zKK
        datetime:
          type: string
          format: date-time
          title: Datetime
          description: The date and time the payment was made
          examples:
            - '2021-01-01T00:00:00Z'
        payment_amount:
          type: number
          title: Payment Amount
          description: The amount of the payment
          examples:
            - 520.56
        id:
          type: string
          format: inp_string
          title: Id
          description: The ID of the invoice payment
          examples:
            - inp_WQMDNUHpBThYSNh4AprDBo
        invoice:
          anyOf:
            - $ref: '#/components/schemas/InvoicePublic'
            - type: 'null'
          description: The invoice that the payment is associated with
        is_write_off:
          type: boolean
          title: Is Write Off
          description: >-
            True when the payment was created by writing off the invoice as
            uncollectible.
          default: false
      type: object
      required:
        - invoice_id
        - payment_id
        - datetime
        - payment_amount
        - id
      title: InvoicePaymentPublic
    RefundPaymentPublic:
      properties:
        amount:
          type: number
          title: Amount
          description: The amount of the refund that has been paid
        id:
          type: string
          format: rfp_string
          title: Id
          description: The ID of the payment
          examples:
            - rfp_WQMDNUHpBThYSNh4AprDBo
        transaction_id:
          type: string
          format: txn_string
          title: Transaction Id
          description: The ID of the transaction that the refund payment is associated with
          examples:
            - txn_WQMDNUHpBThYSNh4AprDBo
      type: object
      required:
        - amount
        - id
        - transaction_id
      title: RefundPaymentPublic
    BillPaymentPublic:
      properties:
        bill_id:
          type: string
          format: bil_string
          title: Bill Id
          description: The ID of the bill that the payment is associated with
          examples:
            - bil_WQMDNUHpBThYSNh4AprDBo
        transaction_id:
          anyOf:
            - type: string
              format: txn_string
            - type: 'null'
          title: Transaction Id
          description: >-
            The ID of the transaction that the payment is associated with. Null
            for credit-source payments.
          examples:
            - txn_WQMDNUHpBThYSNh4AprDBo
        credit_journal_entry_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Credit Journal Entry Id
          description: >-
            Journal entry created for this payment. Populated for credit-source
            payments; null for transaction-source payments (whose JE is keyed
            off the transaction).
        payment_id:
          type: string
          maxLength: 255
          title: Payment Id
          description: The external identifier of the payment
          examples:
            - blp_WQMDNUHpBThYSNh4AprDBo
        datetime:
          type: string
          format: date-time
          title: Datetime
          description: The date and time the payment was made
          examples:
            - '2021-01-01T00:00:00Z'
        payment_amount:
          type: number
          title: Payment Amount
          description: The amount of the payment
          examples:
            - '89.23'
        id:
          type: string
          format: blp_string
          title: Id
          description: The ID of the bill payment
          examples:
            - blp_WQMDNUHpBThYSNh4AprDBo
        bill:
          anyOf:
            - $ref: '#/components/schemas/BillPublic'
            - type: 'null'
          description: The bill that the payment is associated with
      type: object
      required:
        - bill_id
        - payment_id
        - datetime
        - payment_amount
        - id
      title: BillPaymentPublic
    TransactionTagValueInput-Output:
      properties:
        value:
          type: string
          title: Value
          description: The tag value (option string)
          examples:
            - NYC
        amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Amount
          description: >-
            Portion of the source object allocated to this tag value. If
            omitted: with one value on a field the full source amount is used;
            with multiple values on a field the amount is split evenly. Mixed
            (some amounts set, some omitted) is rejected.
          examples:
            - '75.00'
        ledger_id:
          anyOf:
            - type: string
              format: ldg_string
            - type: 'null'
          title: Ledger Id
          description: >-
            Optional P&L ledger to pin this value's amount to. When set, the
            amount attributes entirely to that ledger instead of being pro-rated
            across the journal entry's P&L ledgers; an explicit amount is
            required and a field's values must be either all pinned or all
            unpinned. Transaction tags only.
          examples:
            - ldg_WQMDNUHpBThYSNh4AprDBo
      type: object
      required:
        - value
      title: TransactionTagValueInput
      description: |-
        Tag value input for transactions, which additionally support pinning
        a value's amount to a specific P&L ledger.
    InvoicePublic:
      properties:
        business_id:
          type: string
          format: biz_string
          title: Business Id
          description: The ID of the Business that the invoice is associated with
          examples:
            - biz_Pk2fNFDd8wj7EFeLWJywc7
        number:
          type: string
          maxLength: 255
          title: Number
          description: >-
            The number of the invoice. Must be unique across all invoices for a
            business.
          examples:
            - INV-1234567890
        description:
          type: string
          maxLength: 512
          title: Description
          description: The description of the invoice
          examples:
            - Invoice from Acme Corp
        total_amount:
          type: number
          title: Total Amount
          description: The amount of the invoice
          examples:
            - 520.56
        total_paid:
          type: number
          title: Total Paid
          description: The amount of the invoice that has been paid
          default: 0
          examples:
            - 520.56
        source:
          $ref: '#/components/schemas/InvoiceSource'
          description: The source of the invoice
        due_at:
          type: string
          format: date-time
          title: Due At
          description: The due date of the invoice
        sent_at:
          type: string
          format: date-time
          title: Sent At
          description: The date the invoice was sent
        voided_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Voided At
          description: The date the invoice was voided
        status:
          $ref: '#/components/schemas/InvoiceStatus'
          description: The status of the invoice
          examples:
            - paid
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        id:
          type: string
          format: inv_string
          title: Id
          description: The ID of the invoice
          examples:
            - inv_GkBo16N66u2teKfFuFMMwf
        lines:
          anyOf:
            - items:
                $ref: '#/components/schemas/InvoiceLinePublic'
              type: array
            - type: 'null'
          title: Lines
          description: The lines of the invoice
        payments:
          anyOf:
            - items:
                $ref: '#/components/schemas/InvoicePaymentPublic'
              type: array
            - type: 'null'
          title: Payments
          description: The payments of the invoice
        customer_id:
          type: string
          format: cus_string
          title: Customer Id
          description: The ID of the Customer that the invoice is associated with
          examples:
            - cus_WxcM3ypJ5boFxsNQzcqRXe
        tags:
          anyOf:
            - additionalProperties:
                items:
                  $ref: '#/components/schemas/TagValueInput-Output'
                type: array
              type: object
            - type: 'null'
          title: Tags
          description: >-
            Tag field name to the list of values attached to the invoice. Each
            value carries its allocated amount; a single-value field is still
            returned as a one-element list.
          examples:
            - Job:
                - amount: '3000.00'
                  value: Maple Street Remodel
                - amount: '1500.00'
                  value: Downtown Office Rewire
      type: object
      required:
        - business_id
        - number
        - description
        - total_amount
        - source
        - due_at
        - sent_at
        - status
        - id
        - customer_id
      title: InvoicePublic
    BillPublic:
      properties:
        business_id:
          type: string
          format: biz_string
          title: Business Id
          description: The ID of the Business that the bill is associated with
          examples:
            - biz_Pk2fNFDd8wj7EFeLWJywc7
        vendor_id:
          type: string
          format: ven_string
          title: Vendor Id
          description: The ID of the Vendor that the bill is associated with
          examples:
            - ven_ErisumsAc7qgmbTctM7zKK
        number:
          type: string
          maxLength: 255
          title: Number
          description: The id or number of the bill
          examples:
            - BILL-001
        description:
          type: string
          maxLength: 512
          title: Description
          description: The description of the bill
          examples:
            - Cleaning services
        total_amount:
          type: number
          title: Total Amount
          description: The amount of the bill
        total_paid:
          type: number
          title: Total Paid
          description: The amount of the bill that has been paid
        due_at:
          type: string
          format: date-time
          title: Due At
          description: The due date of the bill
        issued_at:
          type: string
          format: date-time
          title: Issued At
          description: The date the bill was sent
        voided_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Voided At
          description: The date the bill was voided
        status:
          $ref: '#/components/schemas/BillStatus'
          description: The status of the bill
        metadata_:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        id:
          type: string
          format: bil_string
          title: Id
          description: The ID of the bill
          examples:
            - bil_WQMDNUHpBThYSNh4AprDBo
        lines:
          anyOf:
            - items:
                $ref: '#/components/schemas/BillLinePublic'
              type: array
            - type: 'null'
          title: Lines
          description: The lines of the bill
        payments:
          anyOf:
            - items:
                $ref: '#/components/schemas/BillPaymentPublic'
              type: array
            - type: 'null'
          title: Payments
          description: The payments associated with the bill
        tags:
          anyOf:
            - additionalProperties:
                items:
                  $ref: '#/components/schemas/TagValueInput-Output'
                type: array
              type: object
            - type: 'null'
          title: Tags
          description: >-
            Tag field name to the list of values attached to the bill. Each
            value carries its allocated amount; a single-value field is still
            returned as a one-element list.
          examples:
            - Job:
                - amount: '3000.00'
                  value: Maple Street Remodel
                - amount: '1500.00'
                  value: Downtown Office Rewire
      type: object
      required:
        - business_id
        - vendor_id
        - number
        - description
        - total_amount
        - total_paid
        - due_at
        - issued_at
        - status
        - id
      title: BillPublic
    InvoiceSource:
      type: string
      enum:
        - manual
        - stripe
      title: InvoiceSource
    InvoiceStatus:
      type: string
      enum:
        - open
        - paid
        - uncollectible
        - voided
        - refunded
        - partially_refunded
      title: InvoiceStatus
    InvoiceLinePublic:
      properties:
        description:
          type: string
          maxLength: 512
          title: Description
          description: The description of the line item
          examples:
            - Web development services
        ledger_id:
          anyOf:
            - type: string
              format: ldg_string
            - type: 'null'
          title: Ledger Id
          description: The ID of the ledger that the line item is associated with
          examples:
            - ldg_ErisumsAc7qgmbTctM7zKK
        amount:
          type: number
          title: Amount
          description: The amount of the line item
          examples:
            - 520.56
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        id:
          type: string
          format: inl_string
          title: Id
          description: The ID of the invoice line
          examples:
            - inl_GkBo16N66u2teKfFuFMMwf
        invoice_id:
          type: string
          format: inv_string
          title: Invoice Id
          description: The ID of the invoice that the line item is associated with
          examples:
            - inv_WQMDNUHpBThYSNh4AprDBo
      type: object
      required:
        - description
        - ledger_id
        - amount
        - id
        - invoice_id
      title: InvoiceLinePublic
    TagValueInput-Output:
      properties:
        value:
          type: string
          title: Value
          description: The tag value (option string)
          examples:
            - NYC
        amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Amount
          description: >-
            Portion of the source object allocated to this tag value. If
            omitted: with one value on a field the full source amount is used;
            with multiple values on a field the amount is split evenly. Mixed
            (some amounts set, some omitted) is rejected.
          examples:
            - '75.00'
      type: object
      required:
        - value
      title: TagValueInput
    BillStatus:
      type: string
      enum:
        - open
        - paid
        - voided
      title: BillStatus
    BillLinePublic:
      properties:
        description:
          type: string
          maxLength: 512
          title: Description
          description: The description of the line item
          examples:
            - Cleaning services
        ledger_id:
          anyOf:
            - type: string
              format: ldg_string
            - type: 'null'
          title: Ledger Id
          description: The ID of the ledger that the line item is associated with
          examples:
            - ldg_ErisumsAc7qgmbTctM7zKK
        amount:
          type: number
          title: Amount
          description: The amount of the line item
          examples:
            - 120.52
        metadata_:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        id:
          type: string
          format: bln_string
          title: Id
          description: The ID of the bill line
          examples:
            - bln_GkBo16N66u2teKfFuFMMwf
        bill_id:
          type: string
          format: bil_string
          title: Bill Id
          description: The ID of the bill that the line item is associated with
          examples:
            - bil_WxcM3ypJ5boFxsNQzcqRXe
      type: object
      required:
        - description
        - ledger_id
        - amount
        - id
        - bill_id
      title: BillLinePublic
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: /v0/auth/token

````