Merge Accounting API

Merge Accounting API provides a unified API for accounting integrations, enabling read and write access to financial data across major accounting systems including QuickBooks Online, Xero, NetSuite, and Sage Intacct. Late-April 2026 added Oracle Fusion Cloud ERP (beta). It supports journal entries, payments, invoices, and other financial transaction data.

Documentation

Specifications

Examples

Schemas & Data

Other Resources

🔗
Website
https://www.merge.dev/categories/accounting-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-accounting-api-context.jsonld
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-accounts.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-company-info.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-contacts.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-credit-notes.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-expenses.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-financial-statements.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-invoices.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-items.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-journal-entries.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-payments.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-purchase-orders.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-tax-rates.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-tracking-categories.yaml
🔗
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/accounting-vendor-credits.yaml

OpenAPI Specification

merge-accounting-api-openapi.yaml Raw ↑
openapi: 3.1.0
info:
  title: Accounting
  version: 1.0.0
paths:
  /accounting/v1/accounting-periods:
    get:
      operationId: list
      summary: List
      description: >-
        Returns a list of `AccountingPeriod` objects.{/* BEGIN_ACCOUNTING_PERIOD_FETCH_SUPPORTED_FIELDS
        */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET"
        data="H4sIAAAAAAAAA7VU708bORD9V5A/RpvsQZpDrFSdQpIWkOLQJD0VIWRN7GHj4LU3/hEgVf/3k3e3kLSU9qT2mz2eeTPz3tv9TDh4zI19JBkBzk3QXuqcJKQwAhXJSP8peIlWGkESAqWkUOBeBdsckYS4UJbGehTvJCrhzizekoykBdoc20HLW4kifS5KpfaYW/DSaJc+Fbdvq2qSECX1HYpmhJ/D1entJvLN1aVKOk8SUoJzfmlNyJdTXAd0v4AcZ1NYoPag2gI8pDsobVvDvBSLWwhU6FEMwcMQPfK4btNx6X3psjRdoio7VfeOwE2KOgXrJVfo0l735Oj4pNduUKru/7BcvT1srdYLszhusZwrBqE1nvMHOj+/p6v8DR28eaDbjz26vdvS1d1fLZZDazwf9ybzq+5k2D+cvJDAZn9/Ovn3dHh6QVt8O+rS1dU9nfPD8ZzfLbbn3Yv3/P7i7MMD3V4djYcfu3Q+6l28N4eTwdSNB1Mz7nc6JCG7qpLs+vNuoDEORT8L0uN+9nkBOe6wUssBpWyXYaEk77huBwrYGg33rsNNkRYoJKQUvYtozK0DWOyUlYMrwqTRT5yTjIzoWZ8ORsN9G/Q3IBUsFJLM24Df+Zhk1ztW9xa0gxoxIdyikF6bahfUggmojw8laocWI9DzPfohR40WFFMocrRsB2/ntX7c7yX1xkheYaxMsBoUam8fSUJ0pDXu9Bg9Gk/B8iU4ZMYKtLHCYmE8xvFg/8ZK8MvnkIyfuPNg/ddVNqiFsfWi5CYmroO0KC7BQoE+wmfXN1+Sl4SeWOAKD94FJ40+GCgTxMFoevl7dK/BWQ3OKnA2ml6yNpv9OSPsaNyIwKIKspKl0eGnXO/xG7Rch0g8ah//PPb/kjyDHA/OtQfO/e9hdgY5sgaxIZNtNpK6Y/jTpL7i/19l94dOdh58cK/Qe/PlP4tyvWESBwAA"
        /></Footer>{/* END_ACCOUNTING_PERIOD_FETCH_SUPPORTED_FIELDS */}
      tags:
        - subpackage_accountingPeriods
      parameters:
        - name: cursor
          in: query
          description: The pagination cursor value.
          required: false
          schema:
            type: string
        - name: include_deleted_data
          in: query
          description: >-
            Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion
            detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn
            more](https://docs.merge.dev/integrations/hris/supported-features/).
          required: false
          schema:
            type: boolean
        - name: include_remote_data
          in: query
          description: Whether to include the original data Merge fetched from the third-party to produce these models.
          required: false
          schema:
            type: boolean
        - name: include_shell_data
          in: query
          description: >-
            Whether to include shell records. Shell records are empty records (they may contain some metadata but all
            other fields are null).
          required: false
          schema:
            type: boolean
        - name: page_size
          in: query
          description: Number of results to return per page. The maximum limit is 100.
          required: false
          schema:
            type: integer
        - name: Authorization
          in: header
          description: Token-based authentication with required prefix "Bearer"
          required: true
          schema:
            type: string
        - name: X-Account-Token
          in: header
          description: Token identifying the end user.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedAccountingPeriodList'
  /accounting/v1/accounting-periods/{id}:
    get:
      operationId: retrieve
      summary: Retrieve
      description: >-
        Returns an `AccountingPeriod` object with the given `id`.{/* BEGIN_ACCOUNTING_PERIOD_FETCH_SUPPORTED_FIELDS
        */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET"
        data="H4sIAAAAAAAAA7VU708bORD9V5A/RpvsQZpDrFSdQpIWkOLQJD0VIWRN7GHj4LU3/hEgVf/3k3e3kLSU9qT2mz2eeTPz3tv9TDh4zI19JBkBzk3QXuqcJKQwAhXJSP8peIlWGkESAqWkUOBeBdsckYS4UJbGehTvJCrhzizekoykBdoc20HLW4kifS5KpfaYW/DSaJc+Fbdvq2qSECX1HYpmhJ/D1entJvLN1aVKOk8SUoJzfmlNyJdTXAd0v4AcZ1NYoPag2gI8pDsobVvDvBSLWwhU6FEMwcMQPfK4btNx6X3psjRdoio7VfeOwE2KOgXrJVfo0l735Oj4pNduUKru/7BcvT1srdYLszhusZwrBqE1nvMHOj+/p6v8DR28eaDbjz26vdvS1d1fLZZDazwf9ybzq+5k2D+cvJDAZn9/Ovn3dHh6QVt8O+rS1dU9nfPD8ZzfLbbn3Yv3/P7i7MMD3V4djYcfu3Q+6l28N4eTwdSNB1Mz7nc6JCG7qpLs+vNuoDEORT8L0uN+9nkBOe6wUssBpWyXYaEk77huBwrYGg33rsNNkRYoJKQUvYtozK0DWOyUlYMrwqTRT5yTjIzoWZ8ORsN9G/Q3IBUsFJLM24Df+Zhk1ztW9xa0gxoxIdyikF6bahfUggmojw8laocWI9DzPfohR40WFFMocrRsB2/ntX7c7yX1xkheYaxMsBoUam8fSUJ0pDXu9Bg9Gk/B8iU4ZMYKtLHCYmE8xvFg/8ZK8MvnkIyfuPNg/ddVNqiFsfWi5CYmroO0KC7BQoE+wmfXN1+Sl4SeWOAKD94FJ40+GCgTxMFoevl7dK/BWQ3OKnA2ml6yNpv9OSPsaNyIwKIKspKl0eGnXO/xG7Rch0g8ah//PPb/kjyDHA/OtQfO/e9hdgY5sgaxIZNtNpK6Y/jTpL7i/19l94dOdh58cK/Qe/PlP4tyvWESBwAA"
        /></Footer>{/* END_ACCOUNTING_PERIOD_FETCH_SUPPORTED_FIELDS */}
      tags:
        - subpackage_accountingPeriods
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: include_remote_data
          in: query
          description: Whether to include the original data Merge fetched from the third-party to produce these models.
          required: false
          schema:
            type: boolean
        - name: include_shell_data
          in: query
          description: >-
            Whether to include shell records. Shell records are empty records (they may contain some metadata but all
            other fields are null).
          required: false
          schema:
            type: boolean
        - name: Authorization
          in: header
          description: Token-based authentication with required prefix "Bearer"
          required: true
          schema:
            type: string
        - name: X-Account-Token
          in: header
          description: Token identifying the end user.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountingPeriod'
  /accounting/v1/accounts:
    get:
      operationId: list
      summary: List
      description: >-
        Returns a list of `Account` objects.{/* BEGIN_ACCOUNTING_ACCOUNT_FETCH_SUPPORTED_FIELDS
        */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET"
        data="H4sIAAAAAAAAA+1ZXW/iOBT9K8iPFZBpGVoVabXiq9N2l9Bp6ezMjkaWcS7B4Nip7dDCaP77ykmA0IFuoSmdlfYtMc698T3H556Y74gSA75UU1RDhFIZCcOEj4ookB5wVEP1ZBAVEQmZSwJYmYgnR6iIdBSGUhnwzhhwT58rGKAacgJQPpQiwQYMPGf5kMOEAV8Rw6TQzuLh0iB+GhURZ2IMXpr538Ml00vpyKNb7XCm7euHRGszVDLyh9dwF4F+RmT7bhwCEIbwkkcMcTJRSioJs27MrsIDDga8FjGkBQaoXW6acWhMqGuOMwQeluPsZQ8mDgiHKMMoB+1UK6dHJ6fVUholzv479vlvhweju77snxxgn3JMooNOjz64vYt7d+S/d5vvH9zZbdWdjWfuaPzuAPvkoNPrVLu9L5Vuq37YXTMB3xx/Pv3UaDUu3QM6a1fc0Zd7t0cPOz067s8uKpcf6P3l+ccHd/blqNO6rbi9dvXygzzsNq91p3ktO/VyGRVRFlVU+/o9O5ASp8mBqEJDyrEtUOb3i4D4kClMgggJWSmM+pzRsq6USUBmUpB7XaYycALwGHHigDgOiG/uIqIA/yl9WR6FlsNx7ZgUi/KjGmq753W32W6tMqI+IYyTPgdUMyqCnyiNal/nrMciCvqgUBHRSCkQdLq4NLhPOBE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H_SUPPORTED_FIELDS */}
      tags:
        - subpackage_accounts
      parameters:
        - name: account_number
          in: query
          description: If provided, will only return accounts with this account number.
          required: false
          schema:
            type: string
        - name: account_type
          in: query
          description: If provided, will only return accounts with the passed in enum.
          required: false
          schema:
            type: string
        - name: classification
          in: query
          description: If provided, will only return accounts with this classification.
          required: false
          schema:
            $ref: '#/components/schemas/AccountsGetParametersClassification'
        - name: company_id
          in: query
          description: If provided, will only return accounts for this company.
          required: false
          schema:
            type: string
        - name: created_after
          in: query
          description: If provided, will only return objects created after this datetime.
          required: false
          schema:
            type: string
            format: date-time
        - name: created_before
          in: query
          description: If provided, will only return objects created before this datetime.
          required: false
          schema:
            type: string
            format: date-time
        - name: cursor
          in: query
          description: The pagination cursor value.
          required: false
          schema:
            type: string
        - name: expand
          in: query
          description: >-
            Which relations should be returned in expanded form. Multiple relation names should be comma separated
            without spaces.
          required: false
          schema:
            type: array
            items:
              $ref: '#/components/schemas/AccountsGetParametersExpandSchemaItems'
        - name: include_deleted_data
          in: query
          description: >-
            Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion
            detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn
            more](https://docs.merge.dev/integrations/hris/supported-features/).
          required: false
          schema:
            type: boolean
        - name: include_remote_data
          in: query
          description: Whether to include the original data Merge fetched from the third-party to produce these models.
          required: false
          schema:
            type: boolean
        - name: include_shell_data
          in: query
          description: >-
            Whether to include shell records. Shell records are empty records (they may contain some metadata but all
            other fields are null).
          required: false
          schema:
            type: boolean
        - name: modified_after
          in: query
          description: If provided, only objects synced by Merge after this date time will be returned.
          required: false
          schema:
            type: string
            format: date-time
        - name: modified_before
          in: query
          description: If provided, only objects synced by Merge before this date time will be returned.
          required: false
          schema:
            type: string
            format: date-time
        - name: name
          in: query
          description: If provided, will only return Accounts with this name.
          required: false
          schema:
            type: string
        - name: page_size
          in: query
          description: Number of results to return per page. The maximum limit is 100.
          required: false
          schema:
            type: integer
        - name: remote_fields
          in: query
          description: Deprecated. Use show_enum_origins.
          required: false
          schema:
            $ref: '#/components/schemas/AccountsGetParametersRemoteFields'
        - name: remote_id
          in: query
          description: The API provider's ID for the given object.
          required: false
          schema:
            type: string
        - name: show_enum_origins
          in: query
          description: >-
            A comma separated list of enum field names for which you'd like the original values to be returned, instead
            of Merge's normalized enum values. [Learn
            more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
          required: false
          schema:
            $ref: '#/components/schemas/AccountsGetParametersShowEnumOrigins'
        - name: status
          in: query
          description: If provided, will only return accounts with this status.
          required: false
          schema:
            $ref: '#/components/schemas/AccountsGetParametersStatus'
        - name: Authorization
          in: header
          description: Token-based authentication with required prefix "Bearer"
          required: true
          schema:
            type: string
        - name: X-Account-Token
          in: header
          description: Token identifying the end user.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedAccountList'
    post:
      operationId: create
      summary: Create
      description: >-
        Creates an `Account` object with the given values.{/* BEGIN_ACCOUNTING_ACCOUNT_CREATE_SUPPORTED_FIELDS
        */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="POST"
        data="H4sIAAAAAAAAA62TbU/iQBSF/4qZj6QvC4hGks2Gt1XIUlatRmNMczu9lIHpTJ2ZimL875uWiqhd3U34Brdnzp17njtPhILBWKpH0iZAqcyEYSImFklkhJy0SWddJBaBlHmQ4BthcN8gFtFZmkplMPrJkEf6ROGUtImboIrRzgSbMozc10MuEwZjBYZJod3NYXtanCYW4UwsMCo7f223lttl5d1f7XKm8+unoLWZKZnFszO8y1D/g3N+N44JCgPcjsCAu+Viq7VNVS2fIkKOBqM+GOijQZqPW3acGZPqtuvOkKdO0d2J8N5F4YIyjHLUbqt51Dg8atmlS9H9RxDz7/Xa/C6U4WEtiCkPIKuNffrg+cOlN4/3vd7+g7e6aHmrxcqbL77VghhqY3/cmvjXzUm/U59UCILzg6ujy26/O/JqdDVoevPrpefT+tini3A1bI6O6XJ0cvrgra4b4/5F0/MHrdGxrE96Z3rcO5PjjuMQi2xTJe2bp+1CuTg9jqD2ulIu8oC2vg8TiHErmDURSJmdZiFn1NFNBxJYSQFL7VCZuAlGDNzCMCgMg/O7DBQGv2QsnXma73CRHZNiEz9pk4F30vF6g/7bjejcA+MQciRtozL8sNKkffOy9YHIkhAVsQjNlEJBHzc/TRACB0GRWETkE1tEYSINBiwiFjGPKZLbvHaXMYXRb1CQoEFVbb8VT5DmUu1oqUxAZbRpcPtsVeV8mjG6KFLZmwjOBO4m7VdbW6/Dvpg2DrqHdScVf8vb6/jDy8Eu0uagNZsyWozwVfwRaqpYWkpLGCkUqtL6HR1twGT5WuosfJHoL6l9uFVlK2eLfzWxK1RyN5CuUMkSzydYdvgMXgrFeJ9zqqRSCeE/30r5GG6f/wCGPUrd0QYAAA=="
        /></Footer>{/* END_ACCOUNTING_ACCOUNT_CREATE_SUPPORTED_FIELDS */}
      tags:
        - subpackage_accounts
      parameters:
        - name: is_debug_mode
          in: query
          description: Whether to include debug fields (such as log file links) in the response.
          required: false
          schema:
            type: boolean
        - name: run_async
          in: query
          description: Whether or not third-party updates should be run asynchronously.
          required: false
          schema:
            type: boolean
        - name: Authorization
          in: header
          description: Token-based authentication with required prefix "Bearer"
          required: true
          schema:
            type: string
        - name: X-Account-Token
          in: header
          description: Token identifying the end user.
          required: true
          schema:
            type: string
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountEndpointRequest'
  /accounting/v1/accounts/{id}:
    get:
      operationId: retrieve
      summary: Retrieve
      description: >-
        Returns an `Account` object with the given `id`.{/* BEGIN_ACCOUNTING_ACCOUNT_FETCH_SUPPORTED_FIELDS
        */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET"
        data="H4sIAAAAAAAAA+1ZXW/iOBT9K8iPFZBpGVoVabXiq9N2l9Bp6ezMjkaWcS7B4Nip7dDCaP77ykm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v41M5PyHC8+A269mp6t6brLRRsfq/AruHxsL30QYCVfw6eDwpnXmwxO52SzHj05i91Qkv2zVV2EWIxEOvuavjtqEo46MWjTxK3iCYgPKlwUu9s0i053VWEciicRZpJUWhyGXmF9vVVPhRPguMkOI6D4/b1FS6lruyNzPKzmLCbyuQFy8eI0XFsYAst0GMjw3xFfxkfQ2MkbqP7vVqpuQJt55VXrdHr2OUc20UGw+5ShF4M4TJsKf30vB0cHTdODv/THSTZMLZxrG7LLQixoak8s3v83x7WcfiG+JD54IvbQz17DJoDoW0O3GjW55/qf0w+Tyo3o1cRpA2CkyXVRl3Z6ABe0OV30ZUYkwthCKUmRwTSiHMUJhPm6hPyq4jKC+znzmYzHye5oE1ytWIZ8/SJORvDv8gE0s94ltcZz9x92Nj4fOA9HL0zb+QBX3oGs8vx9SpU2+Ih1dgj05yBSIK+EQYbtsz+avoZlMynoDZSasfexEjvaLg2H0xua61y1spNH9kvOtvcj3D+LYcyz7/wbLyf/8rY86kmfd65zrNZsxstXkUZvv34B3iCZrjlHwAA"
        /></Footer>{/* END_ACCOUNTING_ACCOUNT_FETCH_SUPPORTED_FIELDS */}
      tags:
        - subpackage_accounts
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: expand
          in: query
          description: >-
            Which relations should be returned in expanded form. Multiple relation names should be comma separated
            without spaces.
          required: false
          schema:
            type: array
            items:
              $ref: '#/components/schemas/AccountsIdGetParametersExpandSchemaItems'
        - name: include_remote_data
          in: query
          description: Whether to include the original data Merge fetched from the third-party to produce these models.
          required: false
          schema:
            type: boolean
        - name: include_shell_data
          in: query
          description: >-
            Whether to include shell records. Shell records are empty records (they may contain some metadata but all
            other fields are null).
          required: false
          schema:
            type: boolean
        - name: remote_fields
          in: query
          description: Deprecated. Use show_enum_origins.
          required: false
          schema:
            $ref: '#/components/schemas/AccountsIdGetParametersRemoteFields'
        - name: show_enum_origins
          in: query
          description: >-
            A comma separated list of enum field names for which you'd like the original values to be returned, instead
            of Merge's normalized enum values. [Learn
            more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
          required: false
          schema:
            $ref: '#/components/schemas/AccountsIdGetParametersShowEnumOrigins'
        - name: Authorization
          in: header
          description: Token-based authentication with required prefix "Bearer"
          required: true
          schema:
            type: string
        - name: X-Account-Token
          in: header
          description: Token identifying the end user.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
  /accounting/v1/accounts/meta/post:
    get:
      operationId: meta-post-retrieve
      summary: Meta Post Retrieve
      description: >-
        Returns metadata for `Account` POSTs.{/* BEGIN_ACCOUNTING_ACCOUNT_FETCH_SUPPORTED_FIELDS
        */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET"
        data="H4sIAAAAAAAAA+1ZXW/iOBT9K8iPFZBpGVoVabXiq9N2l9Bp6ezMjkaWcS7B4Nip7dDCaP77ykmA0IFuoSmdlfYtMc698T3H556Y74gSA75UU1RDhFIZCcOEj4ookB5wVEP1ZBAVEQmZSwJYmYgnR6iIdBSGUhnwzhhwT58rGKAacgJQPpQiwQYMPGf5kMOEAV8Rw6TQzuLh0iB+GhURZ2IMXpr538Ml00vpyKNb7XCm7euHRGszVDLyh9dwF4F+RmT7bhwCEIbwkkcMcTJRSioJs27MrsIDDga8FjGkBQaoXW6acWhMqGuOMwQeluPsZQ8mDgiHKMMoB+1UK6dHJ6fVUholzv479vlvhweju77snxxgn3JMooNOjz64vYt7d+S/d5vvH9zZbdWdjWfuaPzuAPvkoNPrVLu9L5Vuq37YXTMB3xx/Pv3UaDUu3QM6a1fc0Zd7t0cPOz067s8uKpcf6P3l+ccHd/blqNO6rbi9dvXygzzsNq91p3ktO/VyGRVRFlVU+/o9O5ASp8mBqEJDyrEtUOb3i4D4kClMgggJWSmM+pzRsq6USUBmUpB7XaYycALwGHHigDgOiG/uIqIA/yl9WR6FlsNx7ZgUi/KjGmq753W32W6tMqI+IYyTPgdUMyqCnyiNal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footer>{/* END_ACCOUNTING_ACCOUNT_FETCH_SUPPORTED_FIELDS */}
      tags:
        - subpackage_accounts
      parameters:
        - name: Authorization
          in: header
          description: Token-based authentication with required prefix "Bearer"
          required: true
          schema:
            type: string
        - name: X-Account-Token
          in: header
          description: Token identifying the end user.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaResponse'
  /accounting/v1/addresses/{id}:
    get:
      operationId: retrieve
      summary: Retrieve
      description: >-
        Returns an `Address` object with the given `id`.{/* BEGIN_ACCOUNTING_ADDRESS_FETCH_SUPPORTED_FIELDS
        */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET"
        data="H4sIAAAAAAAAA+VYa3PaOBT9Kx59ZAAXKGTCzM4OzybZxaRAdpN2MhohXYxAlhxJ5tXpf9+RgUC2zLbbcbpJ95NtWTpXPufeI8mfECUWQqXXqI4IpSqRlssQ5VGkGAhURw3GNBiD8ojEPCARPOmIF2WURyaJY6UtsC4HwcyFhgmqIz8CHUIhkXzCgfmHQT6XFkJNLFfS+I+DC5N0NMojweUcWGM74Otw2+6FXcvfHo0vuLEoj2JijJ1qlYTTATwkYL4B2c1NQATSElFgxBL/CKWgtzCn2txXMBBggbWJJW2wQN3n7iJOrY1N3fenIOJiGr3IYOGD9Im2nAowfrVyXj47rxZ2KGn0X3EofinlZg9jNT7L4ZAKTJJcb0RXwehyGczCt0Hr7SrY3FSDzXwTzOZvcjgkud6oV+2P7ir9dqPUP9EBD2u35380282rIEc3nUowu1sGI1rqjeh8vLmsXL2jy6uL96tgc1futW8qwahTvXqnSv3WwPRaA9VrFIsoj45VRfWPn44bdonT1WCmTaXmjp+j15cRCeGIl60gJOaFOBkLToumUiQR2ShJlqZIVeRHwDjxD3h4+JAQDfh3FariLHYZnDLHlXwkH9VRJ7hoBK1O+2k+NBaECzIWgOpWJ/BFQqP6R0S5XaM8oiqKiVxjLicqfZSWUJdeac7o9eEOm2TM+IIbFzmPNETKAnYyPn3CMbHTQxNnrqAssZBeNYDFpcOtKze7jt3LDY8xVQzQvRv8kHAN7JpoEoEF7eZ8/zl/SoQep1oZNbFeey1JxKnxKrWq10wMl2CM1wJpNRHZKPQYDO+D4UqtivfB8C4YbimhND5fdbq12lkxli9PwDjRdEoMYKWZ4/fHq9TlkkgKHpHM68ewL7VMdLoWxE6Ujk7otQuL8SHmKxHoaUmdEum71VES1mOuWcbs72H/Y4K/albZshmAHSY8raUMyAzAGoeGTbokvMhc/XerARFgjm3nGeymrwkV4HUTN0GvJVTCvM7gOhtFtuB4C45TcNwZXOPCbtX+CSTKtB7eJ5zO022N1wYztyrO1mYO+BiaM3mTLF+nAs+6AB+J0JeCy4zc6QBb2PoTvpmUa82z0uuU4IftWockhKM9ampQjeMDawbauBi42WrsDxO/LW4XleHsZ1AmS3tKpbh0E01nmhXxO8Q9+YsFD8wZeV7yv5XtZ0npP8kCdpt6ntV5a2/xDhtfTNiq/Mb+vzaTt6BVNlw6pJ1Jv3wK/8l6v5fKD2qqvAx/13xQU/Xl35oXQW2mC9j9578Afo+yDlgVAAA="
        /></Footer>{/* END_ACCOUNTING_ADDRESS_FETCH_SUPPORTED_FIELDS */}
      tags:
        - subpackage_addresses
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: include_remote_data
          in: query
          description: Whether to include the original data Merge fetched from the third-party to produce these models.
          required: false
          schema:
            type: boolean
        - name: include_shell_data
          in: query
          description: >-
            Whether to include shell records. Shell records are empty records (they may contain some metadata but all
            other fields are null).
          required: false
          schema:
            type: boolean
        - name: remote_fields
          in: query
          description: Deprecated. Use show_enum_origins.
          required: false
          schema:
            $ref: '#/components/schemas/AddressesIdGetParametersRemoteFields'
        - name: show_enum_origins
          in: query
          description: >-
            A comma separated list of enum field names for which you'd like the original values to be returned, instead
            of Merge's normalized enum values. [Learn
            more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
          required: false
          schema:
            $ref: '#/components/schemas/AddressesIdGetParametersShowEnumOrigins'
        - name: Authorization
          in: header
          description: Token-based authentication with required prefix "Bearer"
          required: true
          schema:
            type: string
        - name: X-Account-Token
          in: header
          description: Token identifying the end user.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Address'
  /accounting/v1/attachments:
    get:
      operationId: list
      summary: List
      description: >-
        Returns a list of `AccountingAttachment` objects.{/* BEGIN_ACCOUNTING_ATTACHMENT_FETCH_SUPPORTED_FIELDS
        */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET"
        data="H4sIAAAAAAAAA9WU227aQBCGXwXtJcJ2gdAolqqKUw5UmARIlSiKVsN6MAvrXWcPQIny7pXBCtBGai+SSr3zjHb+mfnml58JA4uJ0j9ISIAx5aTlMiEVkqoYBQlJ8zXZtBbYLEVpSYVAxiNI8aiKLmukQozLMqUtxuccRWwuNU5JSIIUdYKek3zKMQ72RQGXFhMNlitpgtdib7qtJhUiuFxgXIzxZ7ndc6/I/BKaQHCTj5+BMXamlUtmQ3xyaP5COZ9NYL4/CC8GC8GBiqd3Mm/l8i1iFGgx7oCFDlpk+bpFx5m1mQmDYIYi87fd/RiXAcoAtOVMoAka9bPa6VnDK1S23b/SRHypludPEzU5LdOECQqu3B+zdTS+WkXz5CRqn6yjzW0j2iw20XzxqUwTKPfH/cZgfF8fdJrVwRsP6Ojz3dn3VqfVi8ps061H8/tVNGbV/pgtJpureu+CrXqXN+toc1/rd27r0bjb6F2o6qA9NP32UPWbvk8q5PCqJHx4PkwUxhloYAJL585wJUttoVxc6g6vj4uvUkjwANLuOpBxL3MTwZlv6j6ksFESVsZnKg1SjDkEO3G6E6dbcdodXlOPjp4caPSzrcu3QLmSrzchIelGl82o3e0c26S5BC5gIpCEVjv8zeckfCC4zlAazO895QKpzBctvp0WpEI0psoize93HNEM7Gyf4jF5zIMnxzXG16AhRYs67/L4UnmL5o3jbNFSamFKAym4xPfhuJf1zBYcvZ3WPrdOqx8C8J9TG0GCpZYzXKIxhQf3f7z3QZj3oK12s3Ae/ba8W9ZH8w8H+HHU7lCr92GTKxXG+u8M9fjyExV8kBo+BwAA"
        /></Footer>{/* END_ACCOUNTING_ATTACHMENT_FETCH_SUPPORTED_FIELDS */}
      tags:
        - subpackage_attachments
      parameters:
        - name: company_id
          in: query
          description: If provided, will only return accounting attachments for this company.
          required: false
          schema:
            type: string
        - name: created_after
          in: query
          description: If provided, will only return objects created after this datetime.
          required: false
          schema:
            type: string
            format: date-time
        - name: created_before
          in: query
          description: If provided, will only return objects created before this datetime.
          required: false
          schema:
            type: string
            format: date-time
        - name: cursor
          in: query
          description: The pagination cursor value.
          required: false
          schema:
            type: string
        - name: include_deleted_data
          in: query
          description: >-
            Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion
            detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn
            more](https://docs.merge.dev/integrations/hris/supported-features/).
          required: false
          schema:
            type: boolean
        - name: include_remote_data
          in: query
          description: Whether to include the original data Merge fetched from the third-party to produce these models.
          required: false
          schema:
            type: boolean
        - name: include_shell_data
          in: query
          description: >-
            Whether to include shell records. Shell records are empty records (they may contain some metadata but all
            other fields are null).
          required: false
          schema:
            type: boolean
        - name: modified_after
          in: query
          description: If provided, only objects synced by Merge after this date time will be returned.
          required: false
          schema:
            type: string
            format: date-time
        - name: modified_before
          in: query
          description: If provided, only objects synced by Merge before this date time will be returned.
          required: false
          schema:
            type: string
            format: date-time
        - name: page_size
          in: query
          description: Number of results to return per page. The maximum limit is 100.
          required: false
          schema:
            type: integer
        - name: remote_id
          in: query
          description: The API provider's ID for the given object.
          required: false
          schema:
            type: string
        - name: Authorization
          in: header
          description: Token-based authentication with required prefix "Bearer"
          required: true
          schema:
            type: string
        - name: X-Account-Token
          in: header
          description: Token identifying the end user.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedAccountingAttachmentList'
    post:
      operationId: create
      summary: Create
      description: >-
        Creates an `AccountingAttachment` object with the given values.{/*
        BEGIN_ACCOUNTING_ATTACHMENT_CREATE_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget
        requestType="POST"
        data="H4sIAAAAAAAAA+VV72/aMBD9V5A/IkhGM0BFmiZ+bW0nzFbo1KqqrMM5gsGxU9uhLVP/9ykhbenG1mpjq6Z9w8fde3fv+ZwvhIPDSJsb0iLAuU6VEyoiFRLrECVpkfZ9sO0c8FmMypEKgURQiPFRFVvukQqxaZJo4zB8J1CG9sDglLSIH6OJsJoqMRUY+g9FvlAOIwNOaGX9++LqNK8mFSKFWmBYtPE03Dq9WkS+OVpfCpu1n4C1bmZ0Gs2O8TJF+wzkrDeJ2fwgqyE48DdQqmYNsy2WTRGiRIdhDxz00CHPxi0YZ84ltuX7M5SJl7N7IS59VD4YJ7hE69eD/b3mfr1aoOTsb1kk39TK88uJnjTLLOKSQVoejPk1HR9e0Xn0mnZfX9PVSZ2uFis6X7wqswjKg/GgPhyfBcNeuzbcksBGjdP9z51e54iW+aof0PnZFR3z2mDMF5PVYXD0nl8dHXy6pquzvUHvJKDjfv3ova4Nu8d20D3Wg7bnkQrZdJW0zr9sBoqLMxDcaKunrtS7URALbktBo17qpFYotLbUReUMyMdghzFEuCHa2i1IRDVJJ1JwzwYexLDSCq6sx3

# --- truncated at 32 KB (845 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/openapi/merge-accounting-api-openapi.yaml