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

# Reconcile Transaction

> Accountant approval: link a transaction to open bills/invoices and mark it
reconciled. Link-only — no GL posting, no balance mutation.



## OpenAPI

````yaml /api/openapi-cutmake.json post /api/v1/bank-transactions/{transaction_id}/reconcile
openapi: 3.1.0
info:
  title: VM App API
  version: 0.1.0
servers:
  - url: https://vinmake-erp.onrender.com
security: []
paths:
  /api/v1/bank-transactions/{transaction_id}/reconcile:
    post:
      tags:
        - Bank Transactions
      summary: Reconcile Transaction
      description: >-
        Accountant approval: link a transaction to open bills/invoices and mark
        it

        reconciled. Link-only — no GL posting, no balance mutation.
      operationId: >-
        reconcile_transaction_api_v1_bank_transactions__transaction_id__reconcile_post
      parameters:
        - name: transaction_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Transaction Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReconcileRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MatchLinkRecord'
                title: >-
                  Response Reconcile Transaction Api V1 Bank Transactions 
                  Transaction Id  Reconcile Post
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    ReconcileRequest:
      properties:
        links:
          items:
            $ref: '#/components/schemas/MatchLinkInput'
          type: array
          title: Links
      type: object
      required:
        - links
      title: ReconcileRequest
    MatchLinkRecord:
      properties:
        id:
          type: string
          title: Id
        bankTransactionId:
          type: string
          title: Banktransactionid
        side:
          type: string
          title: Side
        targetId:
          type: string
          title: Targetid
        number:
          anyOf:
            - type: string
            - type: 'null'
          title: Number
        partyName:
          anyOf:
            - type: string
            - type: 'null'
          title: Partyname
        amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Amount
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: Note
        approvedById:
          anyOf:
            - type: string
            - type: 'null'
          title: Approvedbyid
        createdAt:
          anyOf:
            - type: string
            - type: 'null'
          title: Createdat
      type: object
      required:
        - id
        - bankTransactionId
        - side
        - targetId
      title: MatchLinkRecord
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MatchLinkInput:
      properties:
        billId:
          anyOf:
            - type: string
            - type: 'null'
          title: Billid
        invoiceId:
          anyOf:
            - type: string
            - type: 'null'
          title: Invoiceid
        amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Amount
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: Note
      type: object
      title: MatchLinkInput
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: /auth/login

````