> ## 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.

# Create Transactions

> **Scopes:** `transaction:create`



## OpenAPI

````yaml /api-reference/openapi.json post /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:
    post:
      tags:
        - Transaction
      summary: Create Transactions
      description: '**Scopes:** `transaction:create`'
      operationId: post_business_transactions_v0_business__business_id__transactions_post
      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
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TransactionCreate'
              maxItems: 100
              title: Transactions
      responses:
        '202':
          description: Transactions accepted for processing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionsSuccess'
        '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:create
components:
  schemas:
    TransactionCreate:
      properties:
        description:
          type: string
          maxLength: 512
          title: Description
          description: The description of the Transaction
          examples:
            - Payment from Acme Corp
        transaction_datetime:
          type: string
          format: date-time
          title: Transaction Datetime
          description: The datetime the Transaction was created in UTC ISO-8601 format
          examples:
            - '2025-01-15T14:30:00Z'
        amount:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Amount
          description: The amount of the Transaction
          examples:
            - 150.75
        transaction_id:
          type: string
          title: Transaction Id
          description: A value that uniquely identifies the Transaction
          examples:
            - plaid_txn_abc123
        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
        metadata_:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
          description: The metadata of the Transaction
        tags:
          anyOf:
            - additionalProperties:
                items:
                  $ref: '#/components/schemas/TransactionTagValueInput-Input'
                type: array
              type: object
            - type: 'null'
          title: Tags
          description: >-
            Add tags using two methods: Inline tags or tag splits. Each field
            maps to either a single value (string, e.g. 'NYC') or a list of
            {value, amount, ledger_id} objects to allocate the transaction
            across multiple values. The tag field must already exist; values are
            created automatically if missing. Per-field sum of amounts must not
            exceed the transaction amount.
          examples:
            - Location: NYC
            - Location:
                - amount: 75
                  ledger_id: ldg_WQMDNUHpBThYSNh4AprDBo
                  value: NYC
                - amount: 25
                  ledger_id: ldg_WQMDNUHpBThYSNh4AprDBo
                  value: LA
      type: object
      required:
        - description
        - transaction_datetime
        - amount
        - transaction_id
        - external_account_id
      title: TransactionCreate
    TransactionsSuccess:
      properties:
        data:
          items:
            $ref: '#/components/schemas/TransactionPublic'
          type: array
          title: Data
        errors:
          items:
            $ref: '#/components/schemas/TransactionCreateError'
          type: array
          title: Errors
      type: object
      required:
        - data
        - errors
      title: TransactionsSuccess
    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
    TransactionTagValueInput-Input:
      properties:
        value:
          type: string
          title: Value
          description: The tag value (option string)
          examples:
            - NYC
        amount:
          anyOf:
            - type: number
              minimum: 0
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - 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.
    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
    TransactionCreateError:
      properties:
        error:
          type: string
          title: Error
        transaction_id:
          type: string
          title: Transaction Id
      type: object
      required:
        - error
        - transaction_id
      title: TransactionCreateError
    TransactionType:
      type: string
      enum:
        - business
        - personal
      title: TransactionType
    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

````