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

# NET IOU: posición neta por contacto y total (IOU-006)



## OpenAPI

````yaml /openapi/v1.json get /v1/iou/balances
openapi: 3.0.0
info:
  title: Finzaria API
  description: >-
    API REST de Finzaria — finanzas personales para México, dev-first y
    agent-first. Autentícate con tu API key bxm_ (o un token OAuth).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.finzaria.com/v1
    description: Producción
security: []
tags: []
paths:
  /v1/iou/balances:
    get:
      tags:
        - iou
      summary: 'NET IOU: posición neta por contacto y total (IOU-006)'
      operationId: IouController_balances
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IouBalancesDto'
      security:
        - bearer: []
components:
  schemas:
    IouBalancesDto:
      type: object
      properties:
        netTotal:
          type: string
          example: '50.00'
          description: Σ balances de contactos = lo que te deben neto.
        currency:
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/IouBalanceDto'
      required:
        - netTotal
        - currency
        - items
    IouBalanceDto:
      type: object
      properties:
        contactId:
          type: string
        name:
          type: string
        email:
          type: string
          nullable: true
        archivedAt:
          type: string
          nullable: true
        balance:
          type: string
          example: '50.00'
          description: 'Posición neta: + = te debe, − = le debes (08-iou).'
      required:
        - contactId
        - name
        - email
        - archivedAt
        - balance
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT (Supabase Auth)
      type: http

````