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

# Kontoabgleich abrufen

Erstellen Sie detaillierte Berichte über alle abgeschlossenen Transaktionen innerhalb eines bestimmten Zeitraums. Dieser Endpunkt ist für Buchhaltung, Revision und Finanzabgleich konzipiert.


## OpenAPI

````yaml openapi/de/localpayment.json GET /api/accounts/{accountNumber}/balance-reconciliation
openapi: 3.1.0
info:
  version: '1.0'
  title: Localpayment
  contact:
    name: Support
    url: mailto:support@localpayment.com
servers:
  - url: https://api.stage.localpayment.com
    description: Stage
security:
  - token: []
paths:
  /api/accounts/{accountNumber}/balance-reconciliation:
    get:
      summary: Kontoabgleich abrufen
      operationId: get-account-reconciliation-details
      parameters:
        - name: since
          in: query
          description: ' Startdatum im Format `yyyy-mm-dd`.'
          required: true
          schema:
            type: string
        - name: until
          in: query
          description: Enddatum im Format `yyyy-mm-dd`.
          required: true
          schema:
            type: string
        - name: accountNumber
          in: path
          description: Localpayment-Kontonummer.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        createdAt:
                          type: string
                          description: Erstellungsdatum der Transaktion.
                        processedAt:
                          type: string
                          description: Verarbeitungsdatum der Transaktion.
                        settlementDate:
                          type: string
                          description: Abrechnungsdatum.
                        settlementDays:
                          type: integer
                          description: Anzahl der Abrechnungstage.
                        internalId:
                          type: string
                          description: Localpayment-Transaktionskennung.
                        externalId:
                          type: string
                          description: >-
                            Eine von Ihrem System generierte eindeutige Kennung
                            zur Nachverfolgung der Transaktion (alphanumerische
                            Zeichen und Bindestriche). Wir empfehlen UUID4, um
                            die Eindeutigkeit sicherzustellen.
                        providerId:
                          type: string
                          description: Kennung des Anbieters.
                        clientCode:
                          type: string
                          description: Kundencode.
                        providerCode:
                          type:
                            - string
                            - 'null'
                          description: Anbietercode
                        accountCountry:
                          type: string
                          description: '[Land](/de/reference/country-codes) des Kontos.'
                        country:
                          type: string
                          description: '[Land](/de/reference/country-codes) des Kontos.'
                        accountNumber:
                          type: string
                          description: Localpayment-Kontonummer.
                        clientName:
                          type: string
                          description: Kundenname
                        providerName:
                          type: 'null'
                          description: Name des Anbieters.
                        merchant:
                          type: string
                          description: Name des Händlers.
                        clientAccountNumber:
                          type: string
                          description: Kundenkontonummer.
                        providerAccountNumber:
                          type: string
                          description: Kontonummer des Anbieters.
                        transactionType:
                          type: string
                          enum:
                            - PayIn
                            - PayOut
                            - CurrencyExchange
                            - Credit
                            - Debit
                            - Internal Transfer
                            - Refund
                            - Recurring Fee
                            - Wire out
                            - Subscriptions
                            - Chargeback
                            - Expenses
                            - Recall
                            - Return
                            - WireIn
                          description: >-
                            [Transaktionstyp.](/de/reference/get-available-payment-methods)
                        paymentMethodType:
                          type: string
                          description: >-
                            Zahlungsmethode, verfügbar in der
                            [Eigenschaft](/de/reference/get-available-payment-methods)
                            `payinPaymentMethods.paymentMethodType`.
                        paymentMethodCode:
                          type: string
                          description: Code der Zahlungsmethode.
                        installments:
                          type: integer
                          description: Raten.
                        status:
                          type: string
                          description: >-
                            [Status](/de/reference/transaction-status-error-codes)
                            der Transaktion.
                        statusCode:
                          type: string
                          description: >-
                            [Statuscode](/de/reference/transaction-status-error-codes).
                        statusDescription:
                          type: string
                          description: Weitere Informationen zum Status.
                        paymentCurrency:
                          type: string
                          enum:
                            - ARS
                            - BOB
                            - BRL
                            - CLP
                            - COP
                            - CRC
                            - DOP
                            - USD
                            - GTQ
                            - MXN
                            - PYG
                            - PEN
                            - UYU
                          description: '[Währung](/de/reference/currency-codes) der Zahlung.'
                        paymentAmount:
                          type: integer
                          description: Zahlungsbetrag.
                        fxQuote:
                          type: number
                          description: Wechselkursangebot.
                        confirmedCurrency:
                          type: string
                          enum:
                            - ARS
                            - BOB
                            - BRL
                            - CLP
                            - COP
                            - CRC
                            - DOP
                            - USD
                            - GTQ
                            - MXN
                            - PYG
                            - PEN
                            - UYU
                          description: Bestätigte [Währung](/de/reference/currency-codes).
                        confirmedAmount:
                          type: integer
                          description: Bestätigter Betrag.
                        financialFeesCurrency:
                          type: string
                          enum:
                            - ARS
                            - BOB
                            - BRL
                            - CLP
                            - COP
                            - CRC
                            - DOP
                            - USD
                            - GTQ
                            - MXN
                            - PYG
                            - PEN
                            - UYU
                          description: >-
                            [Währung](/de/reference/currency-codes) der
                            Finanzierungsgebühren.
                        financialFeesAmount:
                          type: 'null'
                          description: Betrag der Finanzierungsgebühren.
                        feesCurrency:
                          type: string
                          enum:
                            - ARS
                            - BOB
                            - BRL
                            - CLP
                            - COP
                            - CRC
                            - DOP
                            - USD
                            - GTQ
                            - MXN
                            - PYG
                            - PEN
                            - UYU
                          description: >-
                            [Währung](/de/reference/currency-codes) der
                            Gebühren.
                        feesAmount:
                          type: integer
                          description: Betrag der Gebühren.
                        localTaxesCurrency:
                          type: string
                          enum:
                            - ARS
                            - BOB
                            - BRL
                            - CLP
                            - COP
                            - CRC
                            - DOP
                            - USD
                            - GTQ
                            - MXN
                            - PYG
                            - PEN
                            - UYU
                          description: >-
                            [Währung](/de/reference/currency-codes) der lokalen
                            Steuern.
                        localTaxesAmount:
                          type: integer
                          description: Betrag der lokalen Steuern.
                        withholdingsCurrency:
                          type: string
                          enum:
                            - ARS
                            - BOB
                            - BRL
                            - CLP
                            - COP
                            - CRC
                            - DOP
                            - USD
                            - GTQ
                            - MXN
                            - PYG
                            - PEN
                            - UYU
                          description: >-
                            [Währung](/de/reference/currency-codes) der
                            Steuereinbehalte.
                        withholdingsAmount:
                          type: 'null'
                          description: Betrag der Steuereinbehalte.
                        accountCurrency:
                          type: string
                          enum:
                            - ARS
                            - BOB
                            - BRL
                            - CLP
                            - COP
                            - CRC
                            - DOP
                            - USD
                            - GTQ
                            - MXN
                            - PYG
                            - PEN
                            - UYU
                          description: '[Währung](/de/reference/currency-codes) des Kontos.'
                        accountAmount:
                          type: integer
                          description: Kontobetrag.
                        createdBy:
                          type: string
                          description: Erstellt von.
                        newStatusChangeRequest:
                          type: 'null'
                          description: Neue Anforderung zur Statusänderung.
                        request:
                          type: object
                          description: Informationen zur Anfrage.
                          properties:
                            payer:
                              type: object
                              description: Informationen zum Zahler.
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - COMPANY
                                    - INDIVIDUAL
                                  description: Typ des Zahlers.
                                name:
                                  type: string
                                  description: Name des Zahlers.
                                lastName:
                                  type: string
                                  description: Nachname des Zahlers.
                                document:
                                  type: object
                                  description: >-
                                    Informationen zum Ausweisdokument des
                                    Zahlers.
                                  properties:
                                    type:
                                      type: string
                                      description: >-
                                        Der
                                        [Ausweisdokumenttyp](/de/reference/identity-document-types),
                                        z. B. nationale Identitätsnummer,
                                        Sozialversicherungsnummer oder
                                        Führerschein, je nach Ausstellungsland.
                                      examples:
                                        - RUC
                                    id:
                                      type: string
                                      description: >-
                                        Nummer des Ausweisdokuments (in der
                                        Regel eine Zahl). Sie muss gemäß den
                                        Regeln des jeweiligen Dokumenttyps
                                        gültig sein.
                                      examples:
                                        - '1791234561009'
                                  examples:
                                    - type: RUC
                                      id: '1791234561009'
                                userReference:
                                  type: string
                                  description: >-
                                    Benutzername oder ID des Zahlers auf Ihrer
                                    Plattform.
                                phone:
                                  type: object
                                  description: Telefonnummer des Zahlers.
                                  properties:
                                    countryCode:
                                      type: string
                                      description: Ländervorwahl der Telefonnummer.
                                    areaCode:
                                      type: string
                                      description: Vorwahl der Telefonnummer (Land/Gebiet).
                                    number:
                                      type: string
                                      description: Telefonnummer.
                                birthDate:
                                  type: string
                                  description: >-
                                    Geburtsdatum des Zahlers im Format
                                    yyyy-mm-dd.
                                nationality:
                                  type: string
                                  description: Staatsangehörigkeit des Zahlers.
                                address:
                                  type: object
                                  description: Adresse des Zahlers.
                                  properties:
                                    street:
                                      type: string
                                      description: Straßenname.
                                      examples:
                                        - Independencia
                                    number:
                                      type: string
                                      description: Hausnummer.
                                      examples:
                                        - '123'
                                    city:
                                      type: string
                                      description: Stadt.
                                      examples:
                                        - Cordoba
                                    state:
                                      type: string
                                      description: Bundesstaat.
                                      examples:
                                        - Cordoba
                                    country:
                                      type: string
                                      description: Land der Adresse.
                                      examples:
                                        - Argentina
                                    zipCode:
                                      type: string
                                      description: Postleitzahl.
                                      examples:
                                        - X5000IUO
                                    comment:
                                      type: string
                                      description: Zusätzliche Adressangaben.
                                      examples:
                                        - Sucursal 123
                                  examples:
                                    - street: Independencia
                                      number: '123'
                                      city: Cordoba
                                      state: Cordoba
                                      country: ARG
                                      zipCode: X5000IUO
                                      comment: Sucursal 123
                              x-examples:
                                Example 1:
                                  beneficiary:
                                    type: COMPANY
                                    name: ITAU ARG
                                    document:
                                      type: CUIT
                                      id: '20907920276'
                                    userReference: Lorem
                                    email: aldana@mail.com
                                    phone:
                                      countryCode: countryCode
                                      areaCode: areaCode
                                      number: phoneNumber
                                    birthDate: '2021-11-08'
                                    nationality: beneficiary nationality
                                    address:
                                      street: Beneficiary adress
                                      number: '234'
                                      city: City
                                      state: Villa Rosa
                                      country: Country
                                      zipCode: '1411'
                                      comment: TEST
                                    bank:
                                      name: ARG TEST
                                      code: '007'
                                      account:
                                        type: C
                                        number: '1234567891234567891234'
                            merchant:
                              type: object
                              description: Händlerinformationen.
                              properties:
                                name:
                                  type: string
                                  description: Name des Händlers.
                                lastname:
                                  type: 'null'
                                  description: Nachname des Händlers.
                                type:
                                  type: string
                                  description: Händlertyp.
                            paymentMethod:
                              type: object
                              description: Informationen zur Zahlungsmethode.
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    Code der Zahlungsmethode, verfügbar in der
                                    [Eigenschaft](/de/reference/get-available-payment-methods)
                                    `payinPaymentMethods.code`.
                                name:
                                  type: 'null'
                                  description: >-
                                    Name der Zahlungsmethode, verfügbar in der
                                    [Eigenschaft](/de/reference/get-available-payment-methods)
                                    `payinPaymentMethods.code`.
                                type:
                                  type: string
                                  description: >-
                                    Typ der Zahlungsmethode, verfügbar in der
                                    [Eigenschaft](/de/reference/get-available-payment-methods)
                                    `payinPaymentMethods.code`.
                                flow:
                                  type: string
                                  description: >-
                                    Legt fest, wie Zahlungsdaten erfasst werden:
                                    `DIRECT` (innerhalb der API-Anfrage) oder
                                    `REDIRECT` (externes Formular). Derzeit wird
                                    nur `DIRECT` unterstützt.
                                brand:
                                  type: 'null'
                                  description: Marke der Zahlungsmethode.
                            comment:
                              type: string
                              description: Kommentar.
                            country:
                              type: string
                              description: '[Land](/de/reference/country-codes).'
                            currency:
                              type: string
                              enum:
                                - ARS
                                - BOB
                                - BRL
                                - CLP
                                - COP
                                - CRC
                                - DOP
                                - USD
                                - GTQ
                                - MXN
                                - PYG
                                - PEN
                                - UYU
                              description: '[Währung](/de/reference/currency-codes).'
                            amount:
                              type: integer
                              description: Betrag.
                            externalId:
                              type: string
                              description: >-
                                Eine von Ihrem System generierte eindeutige
                                Kennung zur Nachverfolgung der Transaktion
                                (alphanumerische Zeichen und Bindestriche). Wir
                                empfehlen UUID4, um die Eindeutigkeit
                                sicherzustellen.
                            conceptCode:
                              type: string
                              description: Verwendungszweck-Code.
                            accountNumber:
                              type: string
                              description: Localpayment-Kontonummer.
                            transactionType:
                              type: string
                              enum:
                                - PayIn
                                - PayOut
                                - CurrencyExchange
                                - Credit
                                - Debit
                                - Internal Transfer
                                - Refund
                                - Recurring Fee
                                - Wire out
                                - Subscriptions
                                - Chargeback
                                - Expenses
                                - Recall
                                - Return
                                - WireIn
                              description: Transaktionstyp.
                            clientCode:
                              type: string
                              description: Kundencode.
                            file:
                              type: boolean
                              description: Datei.
                        clientAccountCode:
                          type: string
                          description: Code des Kundenkontos.
                        clientAccountDescription:
                          type: string
                          description: Beschreibung des Kundenkontos.
                        closingBalance:
                          type: integer
                          description: Endsaldo nach der Transaktion.
                        expirationAt:
                          type: string
                          description: Ablaufdatum.
                        loteout:
                          type: 'null'
                        comment:
                          type: string
                          description: Kommentar.
                        metaData:
                          type: 'null'
                          description: Metadaten.
                        internalLoteID:
                          type: 'null'
                          description: Interne Batch-Kennung.
                        pendingStatusChangeRequest:
                          type: boolean
                          description: >-
                            Gibt an, ob für die Transaktion eine ausstehende
                            Anforderung zur Statusänderung vorliegt.
                  total:
                    type: integer
                    description: Anzahl der Transaktionen in der Antwort.
                  offset:
                    type: integer
                    description: Anzahl der Seiten in der Antwort.
                  openingBalance:
                    type: integer
                    description: "Anfangssaldo.\r\n\r\n"
                  closingBalance:
                    type: integer
                    description: "Endsaldo.\r\n\r\n"
                required:
                  - data
                  - total
                  - offset
                  - openingBalance
                  - closingBalance
                x-examples:
                  Example 1:
                    data:
                      - createdAt: '2024-12-05T15:34:56.259'
                        processedAt: '2024-12-05T15:38:00.20701'
                        settlementDate: '2024-12-05T15:38:00.20701'
                        settlementDays: 0
                        internalId: 0a78683f-1e3d-4fe0-ae1e-83dcdfd161cd
                        externalId: Autogenerated-ID-1733412895187
                        providerId: >-
                          qOoEqSADjhX0vhvVhuPVEO9FNtYrDTu3f9w7X5qAHkGyuXl5Vbw7mnRLEK6e6wgR
                        clientCode: '0001'
                        providerCode: null
                        accountCountry: CHL
                        country: CHL
                        accountNumber: '{{accountNumber}}'
                        clientName: Acme Inc.
                        providerName: null
                        merchant: LocalPayment
                        clientAccountNumber: '{{accountNumber}}'
                        providerAccountNumber: '{{providerAccountNumber}}'
                        transactionType: PayIn
                        paymentMethodType: BankTransfer
                        paymentMethodCode: '2528'
                        installments: 1
                        status: COMPLETED
                        statusCode: '200'
                        statusDescription: The payin was credited
                        paymentCurrency: CLP
                        paymentAmount: 3000
                        fxQuote: 1
                        confirmedCurrency: CLP
                        confirmedAmount: 3000
                        financialFeesCurrency: null
                        financialFeesAmount: null
                        feesCurrency: CLP
                        feesAmount: 0
                        localTaxesCurrency: CLP
                        localTaxesAmount: 0
                        withholdingsCurrency: null
                        withholdingsAmount: null
                        accountCurrency: CLP
                        accountAmount: 3000
                        createdBy: email@example.com
                        newStatusChangeRequest: null
                        request:
                          payer:
                            name: Prueba
                            type: INDIVIDUAL
                            payerLastName: null
                            lastname: null
                            email: jane.doe@example.com
                            document:
                              id: 8420157K
                              type: RUT
                            bank: null
                            userReference: null
                          merchant:
                            name: LocalPayment
                            lastname: null
                            type: COMPANY
                          paymentMethod:
                            code: '2528'
                            name: null
                            type: BankTransfer
                            flow: REDIRECT
                            brand: null
                          comment: Acme
                          country: CHL
                          currency: CLP
                          amount: 3000
                          externalId: Autogenerated-ID-1733412895187
                          conceptCode: '0001'
                          accountNumber: '{{accountNumber}}'
                          transactionType: PayIn
                          clientCode: '0001'
                          file: false
                        clientAccountCode: ACME.CHL.CLP.01
                        clientAccountDescription: PayIns
                        closingBalance: 32194
                        expirationAt: '2024-12-12T15:34:56.818'
                        loteout: null
                        comment: Acme
                        metaData: null
                        internalLoteID: null
                        pendingStatusChangeRequest: false
                    total: 1
                    offset: 0
                    openingBalance: 29194
                    closingBalance: 32194
              examples:
                Balance reconciliation:
                  value:
                    data:
                      - createdAt: '2024-12-05T15:34:56.259'
                        processedAt: '2024-12-05T15:38:00.20701'
                        settlementDate: '2024-12-05T15:38:00.20701'
                        settlementDays: 0
                        internalId: 0a78683f-1e3d-4fe0-ae1e-83dcdfd161cd
                        externalId: Autogenerated-ID-1733412895187
                        providerId: >-
                          qOoEqSADjhX0vhvVhuPVEO9FNtYrDTu3f9w7X5qAHkGyuXl5Vbw7mnRLEK6e6wgR
                        clientCode: '0001'
                        providerCode: null
                        accountCountry: CHL
                        country: CHL
                        accountNumber: '{{accountNumber}}'
                        clientName: Acme Inc.
                        providerName: null
                        merchant: LocalPayment
                        clientAccountNumber: '{{accountNumber}}'
                        providerAccountNumber: '{{providerAccountNumber}}'
                        transactionType: PayIn
                        paymentMethodType: BankTransfer
                        paymentMethodCode: '2528'
                        installments: 1
                        status: COMPLETED
                        statusCode: '200'
                        statusDescription: The payin was credited
                        paymentCurrency: CLP
                        paymentAmount: 3000
                        fxQuote: 1
                        confirmedCurrency: CLP
                        confirmedAmount: 3000
                        financialFeesCurrency: null
                        financialFeesAmount: null
                        feesCurrency: CLP
                        feesAmount: 0
                        localTaxesCurrency: CLP
                        localTaxesAmount: 0
                        withholdingsCurrency: null
                        withholdingsAmount: null
                        accountCurrency: CLP
                        accountAmount: 3000
                        createdBy: email@example.com
                        newStatusChangeRequest: null
                        request:
                          payer:
                            name: Prueba
                            type: INDIVIDUAL
                            payerLastName: null
                            lastname: null
                            email: jane.doe@example.com
                            document:
                              id: 8420157K
                              type: RUT
                            bank: null
                            userReference: null
                          merchant:
                            name: LocalPayment
                            lastname: null
                            type: COMPANY
                          paymentMethod:
                            code: '2528'
                            name: null
                            type: BankTransfer
                            flow: REDIRECT
                            brand: null
                          comment: Acme
                          country: CHL
                          currency: CLP
                          amount: 3000
                          externalId: Autogenerated-ID-1733412895187
                          conceptCode: '0001'
                          accountNumber: '{{accountNumber}}'
                          transactionType: PayIn
                          clientCode: '0001'
                          file: false
                        clientAccountCode: ACME.CHL.CLP.01
                        clientAccountDescription: PayIns
                        closingBalance: 32194
                        expirationAt: '2024-12-12T15:34:56.818'
                        loteout: null
                        comment: Acme
                        metaData: null
                        internalLoteID: null
                        pendingStatusChangeRequest: false
                    total: 1
                    offset: 0
                    openingBalance: 29194
                    closingBalance: 32194
                Empty:
                  value:
                    data: []
                    total: 0
                    offset: 0
                    openingBalance: 32194
                    closingBalance: 32194
        '401':
          description: Nicht autorisiert.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                    description: Zusätzliche Informationen zur Antwort.
                  code:
                    type: string
                    description: Statuscode.
                  messages:
                    type: array
                    description: Liste der Meldungen.
                    items:
                      type: object
                      properties:
                        token_class:
                          type: string
                          description: Token-Klasse.
                        token_type:
                          type: string
                          description: Token-Typ.
                        message:
                          type: string
                          description: Meldung mit zusätzlichen Informationen.
                x-examples:
                  Example 1:
                    detail: Given token not valid for any token type
                    code: token_not_valid
                    messages:
                      - token_class: AccessToken
                        token_type: access
                        message: Token is invalid or expired
              examples:
                Example 1:
                  value:
                    detail: Given token not valid for any token type
                    code: token_not_valid
                    messages:
                      - token_class: AccessToken
                        token_type: access
                        message: Token is invalid or expired
        '500':
          description: Interner Serverfehler
          content:
            text/html:
              schema:
                type: object
              examples:
                Example 1:
                  value: >-
                    <!doctype html><html lang="en"><head><title>Server Error
                    (500)</title></head><body><h1>Server Error
                    (500)</h1><p></p></body></html>
      security:
        - token: []
      servers:
        - url: https://api.stage.localpayment.com
          description: Stage
components:
  securitySchemes:
    token:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.