Merge subpackage_expenseReports API

The subpackage_expenseReports API from Merge — 6 operation(s) for subpackage_expensereports.

Operations 7

GET /accounting/v1/expense-reports List #
POST /accounting/v1/expense-reports Create #
GET /accounting/v1/expense-reports/{expense_report_id}/lines Lines List #
GET /accounting/v1/expense-reports/{id} Retrieve #
GET /accounting/v1/expense-reports/lines/remote-field-classes Lines Remote Field Classes List #
GET /accounting/v1/expense-reports/meta/post Meta Post Retrieve #
GET /accounting/v1/expense-reports/remote-field-classes Remote Field Classes List #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/hris-api-employee-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/hris-api-employee-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/ats-api-candidate-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/ats-api-application-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/ats-api-candidate-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/accounting-api-invoice-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/accounting-api-invoice-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/ticketing-api-ticket-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/ticketing-api-ticket-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/crm-api-opportunity-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/crm-api-opportunity-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/file-storage-api-file-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/file-storage-api-file-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/knowledge-base-api-article-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/knowledge-base-api-article-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/chat-api-message-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/chat-api-message-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/agent-handler-tool-pack-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/agent-handler-tool-pack-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/gateway-response-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/gateway-response-structure.json

Other Resources

🔗
Website
https://www.merge.dev/categories/hr-payroll-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-hris-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/hris-api-employee-example.json
🔗
Website
https://www.merge.dev/categories/ats-recruiting-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-ats-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/ats-api-candidate-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/ats-api-application-example.json
🔗
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
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/accounting-api-invoice-example.json
🔗
Website
https://www.merge.dev/categories/ticketing-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-ticketing-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/ticketing-api-ticket-example.json
🔗
Website
https://www.merge.dev/categories/crm-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-crm-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/crm-api-opportunity-example.json
🔗
Website
https://www.merge.dev/categories/file-storage-api
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-file-storage-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/file-storage-api-file-example.json
🔗
Website
https://www.merge.dev/categories/knowledge-base
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-knowledge-base-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/knowledge-base-api-article-example.json
🔗
Website
https://www.merge.dev/categories/chat
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-chat-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/chat-api-message-example.json
🔗
Website
https://www.merge.dev/merge-agent-handler
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-agent-handler-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/agent-handler-tool-pack-example.json
🔗
Support
https://help.ah.merge.dev/
🔗
Website
https://www.merge.dev/gateway
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-gateway-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/examples/gateway-response-example.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/merge-subpackage-expensereports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

merge-subpackage-expensereports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Accounting Subpackage Expense Reports API
  version: 1.0.0
servers:
- url: https://api.merge.dev/api
- url: https://api-eu.merge.dev/api
- url: https://api-ap.merge.dev/api
tags:
- name: subpackage_expenseReports
paths:
  /accounting/v1/expense-reports:
    get:
      operationId: list
      summary: List
      description: Returns a list of `ExpenseReport` objects.{/* BEGIN_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA+VT224aMRD9FeRHtLAlhEZBqioCpAEJkwKpGkWRNXgni8FrL74AIcq/VwaaQJuqVZX0pW+e8cyZyznzQDg4TLW5J3UCnGuvnFApiUimE5SkTtqrHJXFAebaOBIRyAWFDA/C2eKIRMT6PMRgci5QJvbC4B2pkzhDk2LJK3EnMImfk2KhHKYGnNDKxk/JpbtNNomIFGqGSWOb8Hu4bXhp5/nBtLEUNrSfg7VuYrRPJwOce7R/gBx6k5ihciBLCTiI91BKZgvzki9MkaBEh0kLHLTQIQ/j7ipOnMttPY4nKPPypno5wUWMKgbjBJdo41r19OjktFbaoWyqf2Sp/FApTudjPT4pspRLBr7YG/EVHXWWdJoe0+bxiq6vanQ9W9Pp7F2RpVDsjXq1/ui62m81Kv0XAtjw/dfTL2etsy4t8nW7SqfXSzrild6Iz8brTrX7iS+7F59XdH191GtdVemoXet+0pV+c2B7zYHuNcplEpF9Vkn95mHfsRMORTf0wuFhdCeDFPe2sqUDclHK/VgKXrbVMmSw1gqWtsx1FmeYCIgpOhvQmJ17MFjON/LdLExo9bTzIGV60aDNdutQBo0FCAljiaTujMefdEzqN/tSz9EInZCIcJ3loO7DyxuDiodngpYbkW8KRgSzXOp7DINKodB+PyvmvQgQBjPtkAVSDy2Wg5s8u3bBoavwjc+WSFC5IFgTDtCB86GI0w4kgyz0HEwDfBZ63926QEtuA8TcC4PJJRjI0KEJo94+Ri9R1jfAJRbOvRVaFZpS+6TQHly+DoNbcLYFZxtw1h5cshIbvh2l/wFpQ0ix0FEOOHevw1RAZDvEHTlssRDUnsDbkKT/5sb+CUO/5uL28Rtl+iubVgcAAA==" /></Footer>{/* END_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_expenseReports
      parameters:
      - name: company_id
        in: query
        description: If provided, will only return expense reports 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/ExpenseReportsGetParametersExpandSchemaItems'
      - 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_remote_fields
        in: query
        description: Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
        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/PaginatedExpenseReportList'
    post:
      operationId: create
      summary: Create
      description: Creates an `ExpenseReport` object with the given values.{/* BEGIN_ACCOUNTING_EXPENSEREPORT_CREATE_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="POST" data="H4sIAAAAAAAAA7VT227aQBD9lWofkbFLCI2CVFUEaAISSwukahQha1hPzMJ619kLEKL8e7XGTSGlSlWlT3vRzJkzc848EgYWU6UfSJMAY8pJy2VKApKpBAVpku4mR2lwhLnSlgQEck4hw4PweHVCAmJc7mMw+cxRJOZK4x1pkihDnWLVSX7HMYl+JUVcWkw1WK6kiZ6Tq3dFNgmI4HKJSWuX8DrcLrxa/rx4mkhw4+nnYIyda+XS+QjvHZq/QPbcBGYoLYhqAhaiPZSq3sEc+/NdJCjQYtIBCx20yHy7ZcW5tblpRtEcRR4W1cMEVxHKCLTlTKCJGvXzk7PzRrVEKap/ilPxsVZZ3M/U7KwSp0zE4CqDCdvQSW9NF+kpbZ9u6Pa6QbfLLV0s31fiFCqDyaAxnNzUh51WbXgkIB5/+H7+7aJz0acVtu3W6eJmTSesNpiw5Wzbq/cv2bp/9XVDtzcng851nU66jf6lqg3bIzNoj9SgFYYkIPuqkubt4/5HaRyKduy4xcPoXgYp7k1lJwfkvJq7meAsNPUQMtgqCWsTMpVFGSYcIorWeLTY3DvQGOaFfYuBcSWfZ+6tTK9atN3tHNqgtQIuYCaQNK12+JuPSfN23+o5aq4SEhCmshzkg785rVEyf03QMM3zomBAMMuFekDfqOASzc+1ip3jHkJjpizG5d0XjRMo5lK+eILSej9qv18WrPMYVlkQMWSekn9qYEtPrVxljoZMPcS94xqTL6AhQ4u66GSP6xF2xRmWtHaLePCKmQDjA18NmT4Fx6QfQ4rvetICY/Zt5PeIcYkYjwsLxKsVp+YM/osV2D/J/hZK/1HTl/XeRMBDntOn6dMPQz9ZCCwGAAA=" /></Footer>{/* END_ACCOUNTING_EXPENSEREPORT_CREATE_SUPPORTED_FIELDS */}
      tags:
      - subpackage_expenseReports
      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/ExpenseReportResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExpenseReportEndpointRequest'
  /accounting/v1/expense-reports/{expense_report_id}/lines:
    get:
      operationId: lines-list
      summary: Lines List
      description: Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id.{/* BEGIN_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA+VT224aMRD9FeRHtLAlhEZBqioCpAEJkwKpGkWRNXgni8FrL74AIcq/VwaaQJuqVZX0pW+e8cyZyznzQDg4TLW5J3UCnGuvnFApiUimE5SkTtqrHJXFAebaOBIRyAWFDA/C2eKIRMT6PMRgci5QJvbC4B2pkzhDk2LJK3EnMImfk2KhHKYGnNDKxk/JpbtNNomIFGqGSWOb8Hu4bXhp5/nBtLEUNrSfg7VuYrRPJwOce7R/gBx6k5ihciBLCTiI91BKZgvzki9MkaBEh0kLHLTQIQ/j7ipOnMttPY4nKPPypno5wUWMKgbjBJdo41r19OjktFbaoWyqf2Sp/FApTudjPT4pspRLBr7YG/EVHXWWdJoe0+bxiq6vanQ9W9Pp7F2RpVDsjXq1/ui62m81Kv0XAtjw/dfTL2etsy4t8nW7SqfXSzrild6Iz8brTrX7iS+7F59XdH191GtdVemoXet+0pV+c2B7zYHuNcplEpF9Vkn95mHfsRMORTf0wuFhdCeDFPe2sqUDclHK/VgKXrbVMmSw1gqWtsx1FmeYCIgpOhvQmJ17MFjON/LdLExo9bTzIGV60aDNdutQBo0FCAljiaTujMefdEzqN/tSz9EInZCIcJ3loO7DyxuDiodngpYbkW8KRgSzXOp7DINKodB+PyvmvQgQBjPtkAVSDy2Wg5s8u3bBoavwjc+WSFC5IFgTDtCB86GI0w4kgyz0HEwDfBZ63926QEtuA8TcC4PJJRjI0KEJo94+Ri9R1jfAJRbOvRVaFZpS+6TQHly+DoNbcLYFZxtw1h5cshIbvh2l/wFpQ0ix0FEOOHevw1RAZDvEHTlssRDUnsDbkKT/5sb+CUO/5uL28Rtl+iubVgcAAA==" /></Footer>{/* END_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_expenseReports
      parameters:
      - name: expense_report_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - 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/ExpenseReportsExpenseReportIdLinesGetParametersExpandSchemaItems'
      - 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_remote_fields
        in: query
        description: Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
        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/PaginatedExpenseReportLineList'
  /accounting/v1/expense-reports/{id}:
    get:
      operationId: retrieve
      summary: Retrieve
      description: Returns an `ExpenseReport` object with the given `id`.{/* BEGIN_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA+VT224aMRD9FeRHtLAlhEZBqioCpAEJkwKpGkWRNXgni8FrL74AIcq/VwaaQJuqVZX0pW+e8cyZyznzQDg4TLW5J3UCnGuvnFApiUimE5SkTtqrHJXFAebaOBIRyAWFDA/C2eKIRMT6PMRgci5QJvbC4B2pkzhDk2LJK3EnMImfk2KhHKYGnNDKxk/JpbtNNomIFGqGSWOb8Hu4bXhp5/nBtLEUNrSfg7VuYrRPJwOce7R/gBx6k5ihciBLCTiI91BKZgvzki9MkaBEh0kLHLTQIQ/j7ipOnMttPY4nKPPypno5wUWMKgbjBJdo41r19OjktFbaoWyqf2Sp/FApTudjPT4pspRLBr7YG/EVHXWWdJoe0+bxiq6vanQ9W9Pp7F2RpVDsjXq1/ui62m81Kv0XAtjw/dfTL2etsy4t8nW7SqfXSzrild6Iz8brTrX7iS+7F59XdH191GtdVemoXet+0pV+c2B7zYHuNcplEpF9Vkn95mHfsRMORTf0wuFhdCeDFPe2sqUDclHK/VgKXrbVMmSw1gqWtsx1FmeYCIgpOhvQmJ17MFjON/LdLExo9bTzIGV60aDNdutQBo0FCAljiaTujMefdEzqN/tSz9EInZCIcJ3loO7DyxuDiodngpYbkW8KRgSzXOp7DINKodB+PyvmvQgQBjPtkAVSDy2Wg5s8u3bBoavwjc+WSFC5IFgTDtCB86GI0w4kgyz0HEwDfBZ63926QEtuA8TcC4PJJRjI0KEJo94+Ri9R1jfAJRbOvRVaFZpS+6TQHly+DoNbcLYFZxtw1h5cshIbvh2l/wFpQ0ix0FEOOHevw1RAZDvEHTlssRDUnsDbkKT/5sb+CUO/5uL28Rtl+iubVgcAAA==" /></Footer>{/* END_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_expenseReports
      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/ExpenseReportsIdGetParametersExpandSchemaItems'
      - 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_remote_fields
        in: query
        description: Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
        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/ExpenseReport'
  /accounting/v1/expense-reports/lines/remote-field-classes:
    get:
      operationId: lines-remote-field-classes-list
      summary: Lines Remote Field Classes List
      description: Returns a list of `RemoteFieldClass` objects.{/* BEGIN_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA+VT224aMRD9FeRHtLAlhEZBqioCpAEJkwKpGkWRNXgni8FrL74AIcq/VwaaQJuqVZX0pW+e8cyZyznzQDg4TLW5J3UCnGuvnFApiUimE5SkTtqrHJXFAebaOBIRyAWFDA/C2eKIRMT6PMRgci5QJvbC4B2pkzhDk2LJK3EnMImfk2KhHKYGnNDKxk/JpbtNNomIFGqGSWOb8Hu4bXhp5/nBtLEUNrSfg7VuYrRPJwOce7R/gBx6k5ihciBLCTiI91BKZgvzki9MkaBEh0kLHLTQIQ/j7ipOnMttPY4nKPPypno5wUWMKgbjBJdo41r19OjktFbaoWyqf2Sp/FApTudjPT4pspRLBr7YG/EVHXWWdJoe0+bxiq6vanQ9W9Pp7F2RpVDsjXq1/ui62m81Kv0XAtjw/dfTL2etsy4t8nW7SqfXSzrild6Iz8brTrX7iS+7F59XdH191GtdVemoXet+0pV+c2B7zYHuNcplEpF9Vkn95mHfsRMORTf0wuFhdCeDFPe2sqUDclHK/VgKXrbVMmSw1gqWtsx1FmeYCIgpOhvQmJ17MFjON/LdLExo9bTzIGV60aDNdutQBo0FCAljiaTujMefdEzqN/tSz9EInZCIcJ3loO7DyxuDiodngpYbkW8KRgSzXOp7DINKodB+PyvmvQgQBjPtkAVSDy2Wg5s8u3bBoavwjc+WSFC5IFgTDtCB86GI0w4kgyz0HEwDfBZ63926QEtuA8TcC4PJJRjI0KEJo94+Ri9R1jfAJRbOvRVaFZpS+6TQHly+DoNbcLYFZxtw1h5cshIbvh2l/wFpQ0ix0FEOOHevw1RAZDvEHTlssRDUnsDbkKT/5sb+CUO/5uL28Rtl+iubVgcAAA==" /></Footer>{/* END_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_expenseReports
      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: is_common_model_field
        in: query
        description: If provided, will only return remote field classes with this is_common_model_field value
        required: false
        schema:
          type: boolean
      - name: is_custom
        in: query
        description: If provided, will only return remote fields classes with this is_custom value
        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/PaginatedRemoteFieldClassList'
  /accounting/v1/expense-reports/meta/post:
    get:
      operationId: meta-post-retrieve
      summary: Meta Post Retrieve
      description: Returns metadata for `ExpenseReport` POSTs.{/* BEGIN_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA+VT224aMRD9FeRHtLAlhEZBqioCpAEJkwKpGkWRNXgni8FrL74AIcq/VwaaQJuqVZX0pW+e8cyZyznzQDg4TLW5J3UCnGuvnFApiUimE5SkTtqrHJXFAebaOBIRyAWFDA/C2eKIRMT6PMRgci5QJvbC4B2pkzhDk2LJK3EnMImfk2KhHKYGnNDKxk/JpbtNNomIFGqGSWOb8Hu4bXhp5/nBtLEUNrSfg7VuYrRPJwOce7R/gBx6k5ihciBLCTiI91BKZgvzki9MkaBEh0kLHLTQIQ/j7ipOnMttPY4nKPPypno5wUWMKgbjBJdo41r19OjktFbaoWyqf2Sp/FApTudjPT4pspRLBr7YG/EVHXWWdJoe0+bxiq6vanQ9W9Pp7F2RpVDsjXq1/ui62m81Kv0XAtjw/dfTL2etsy4t8nW7SqfXSzrild6Iz8brTrX7iS+7F59XdH191GtdVemoXet+0pV+c2B7zYHuNcplEpF9Vkn95mHfsRMORTf0wuFhdCeDFPe2sqUDclHK/VgKXrbVMmSw1gqWtsx1FmeYCIgpOhvQmJ17MFjON/LdLExo9bTzIGV60aDNdutQBo0FCAljiaTujMefdEzqN/tSz9EInZCIcJ3loO7DyxuDiodngpYbkW8KRgSzXOp7DINKodB+PyvmvQgQBjPtkAVSDy2Wg5s8u3bBoavwjc+WSFC5IFgTDtCB86GI0w4kgyz0HEwDfBZ63926QEtuA8TcC4PJJRjI0KEJo94+Ri9R1jfAJRbOvRVaFZpS+6TQHly+DoNbcLYFZxtw1h5cshIbvh2l/wFpQ0ix0FEOOHevw1RAZDvEHTlssRDUnsDbkKT/5sb+CUO/5uL28Rtl+iubVgcAAA==" /></Footer>{/* END_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_expenseReports
      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/expense-reports/remote-field-classes:
    get:
      operationId: remote-field-classes-list
      summary: Remote Field Classes List
      description: Returns a list of `RemoteFieldClass` objects.{/* BEGIN_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA+VT224aMRD9FeRHtLAlhEZBqioCpAEJkwKpGkWRNXgni8FrL74AIcq/VwaaQJuqVZX0pW+e8cyZyznzQDg4TLW5J3UCnGuvnFApiUimE5SkTtqrHJXFAebaOBIRyAWFDA/C2eKIRMT6PMRgci5QJvbC4B2pkzhDk2LJK3EnMImfk2KhHKYGnNDKxk/JpbtNNomIFGqGSWOb8Hu4bXhp5/nBtLEUNrSfg7VuYrRPJwOce7R/gBx6k5ihciBLCTiI91BKZgvzki9MkaBEh0kLHLTQIQ/j7ipOnMttPY4nKPPypno5wUWMKgbjBJdo41r19OjktFbaoWyqf2Sp/FApTudjPT4pspRLBr7YG/EVHXWWdJoe0+bxiq6vanQ9W9Pp7F2RpVDsjXq1/ui62m81Kv0XAtjw/dfTL2etsy4t8nW7SqfXSzrild6Iz8brTrX7iS+7F59XdH191GtdVemoXet+0pV+c2B7zYHuNcplEpF9Vkn95mHfsRMORTf0wuFhdCeDFPe2sqUDclHK/VgKXrbVMmSw1gqWtsx1FmeYCIgpOhvQmJ17MFjON/LdLExo9bTzIGV60aDNdutQBo0FCAljiaTujMefdEzqN/tSz9EInZCIcJ3loO7DyxuDiodngpYbkW8KRgSzXOp7DINKodB+PyvmvQgQBjPtkAVSDy2Wg5s8u3bBoavwjc+WSFC5IFgTDtCB86GI0w4kgyz0HEwDfBZ63926QEtuA8TcC4PJJRjI0KEJo94+Ri9R1jfAJRbOvRVaFZpS+6TQHly+DoNbcLYFZxtw1h5cshIbvh2l/wFpQ0ix0FEOOHevw1RAZDvEHTlssRDUnsDbkKT/5sb+CUO/5uL28Rtl+iubVgcAAA==" /></Footer>{/* END_ACCOUNTING_EXPENSEREPORT_FETCH_SUPPORTED_FIELDS */}
      tags:
      - subpackage_expenseReports
      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: is_common_model_field
        in: query
        description: If provided, will only return remote field classes with this is_common_model_field value
        required: false
        schema:
          type: boolean
      - name: is_custom
        in: query
        description: If provided, will only return remote fields classes with this is_custom value
        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/PaginatedRemoteFieldClassList'
components:
  schemas:
    ExpenseReportsExpenseReportIdLinesGetParametersExpandSchemaItems:
      type: string
      enum:
      - account
      - company
      - contact
      - employee
      - project
      - tax_rate
      title: ExpenseReportsExpenseReportIdLinesGetParametersExpandSchemaItems
    ValidationProblemSource:
      type: object
      properties:
        pointer:
          type: string
      required:
      - pointer
      title: ValidationProblemSource
    ExpenseReport:
      type: object
      properties:
        id:
          type: string
          format: uuid
        remote_id:
          type:
          - string
          - 'null'
          description: The third-party API ID of the matching object.
        created_at:
          type: string
          format: date-time
          description: The datetime that this object was created by Merge.
        modified_at:
          type: string
          format: date-time
          description: The datetime that this object was modified by Merge.
        report_date:
          type:
          - string
          - 'null'
          format: date-time
          description: The date of the expense report.
        report_identifier:
          type:
          - string
          - 'null'
          description: Human-readable expense report identifier.
        employee:
          type:
          - string
          - 'null'
          format: uuid
          description: Identifier for the employee who submitted or is associated with the expense report
        status:
          oneOf:
          - $ref: '#/components/schemas/ExpenseReportStatusEnum'
          - type: 'null'
          description: Overall status of the expense report. One of DRAFT, SUBMITTED, APPROVED, REJECTED
        total_amount:
          type:
          - number
          - 'null'
          format: double
          description: Total amount of the expense report
        lines:
          type: array
          items:
            $ref: '#/components/schemas/ExpenseReportLine'
        currency:
          oneOf:
          - $ref: '#/components/schemas/TransactionCurrencyEnum'
          - type: 'null'
          description: Currency code for the expense report. The currency code in ISO 4217 format.
        description:
          type:
          - string
          - 'null'
          description: A brief description or purpose for the expense report
        accounting_period:
          type:
          - string
          - 'null'
          format: uuid
          description: The accounting period the report was posted in
        company:
          type:
          - string
          - 'null'
          format: uuid
          description: The subsidiary that the expense report is created in
        tracking_categories:
          type: array
          items:
            type: string
            format: uuid
          description: The related tracking categories associated with the expense report
        remote_was_deleted:
          type: boolean
          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/).
        field_mappings:
          oneOf:
          - $ref: '#/components/schemas/ExpenseReportFieldMappings'
          - type: 'null'
        remote_data:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/RemoteData'
        remote_fields:
          type: array
          items:
            $ref: '#/components/schemas/RemoteField'
      required:
      - tracking_categories
      description: '# The ExpenseReport Object

        ### Description

        The `ExpenseReport` object represents a collection of expenses submitted for review and reimbursement.

        It includes details about the submitter, status, amounts, and associated metadata.


        ### Usage Example

        Fetch from the `GET ExpenseReport` endpoint to view details of expense reports and their line items.'
      title: ExpenseReport
    ExpenseReportResponse:
      type: object
      properties:
        model:
          $ref: '#/components/schemas/ExpenseReport'
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/WarningValidationProblem'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorValidationProblem'
        logs:
          type: array
          items:
            $ref: '#/components/schemas/DebugModeLog'
      required:
      - model
      - warnings
      - errors
      title: ExpenseReportResponse
    ItemTypeEnum:
      type: string
      enum:
      - string
      - number
      - date
      - datetime
      - bool
      - list
      title: ItemTypeEnum
    PaginatedExpenseReportList:
      type: object
      properties:
        next:
          type:
          - string
          - 'null'
        previous:
          type:
          - string
          - 'null'
        results:
          type: array
          items:
            $ref: '#/components/schemas/ExpenseReport'
      title: PaginatedExpenseReportList
    DebugModelLogSummary:
      type: object
      properties:
        url:
          type: string
        method:
          type: string
        status_code:
          type: integer
      required:
      - url
      - method
      - status_code
      title: DebugModelLogSummary
    TransactionCurrencyEnum:
      type: string
      enum:
      - XUA
      - AFN
      - AFA
      - ALL
      - ALK
      - DZD
      - ADP
      - AOA
      - AOK
      - AON
      - AOR
      - ARA
      - ARS
      - ARM
      - ARP
      - ARL
      - AMD
      - AWG
      - AUD
      - ATS
      - AZN
      - AZM
      - BSD
      - BHD
      - BDT
      - BBD
      - BYN
      - BYB
      - BYR
      - BEF
      - BEC
      - BEL
      - BZD
      - BMD
      - BTN
      - BOB
      - BOL
      - BOV
      - BOP
      - BAM
      - BAD
      - BAN
      - BWP
      - BRC
      - BRZ
      - BRE
      - BRR
      - BRN
      - BRB
      - BRL
      - GBP
      - BND
      - BGL
      - BGN
      - BGO
      - BGM
      - BUK
      - BIF
      - XPF
      - KHR
      - CAD
      - CVE
      - KYD
      - XAF
      - CLE
      - CLP
      - CLF
      - CNX
      - CNY
      - CNH
      - COP
      - COU
      - KMF
      - CDF
      - CRC
      - HRD
      - HRK
      - CUC
      - CUP
      - CYP
      - CZK
      - CSK
      - DKK
      - DJF
      - DOP
      - NLG
      - XCD
      - DDM
      - ECS
      - ECV
      - EGP
      - GQE
      - ERN
      - EEK
      - ETB
      - EUR
      - XBA
      - XEU
      - XBB
      - XBC
      - XBD
      - FKP
      - FJD
      - FIM
      - FRF
      - XFO
      - XFU
      - GMD
      - GEK
      - GEL
      - DEM
      - GHS
      - GHC
      - GIP
      - XAU
      - GRD
      - GTQ
      - GWP
      - GNF
      - GNS
      - GYD
      - HTG
      - HNL
      - HKD
      - HUF
      - IMP
      - ISK
      - ISJ
      - INR
      - IDR
      - IRR
      - IQD
      - IEP
      - ILS
      - ILP
      - ILR
      - ITL
      - JMD
      - JPY
      - JOD
      - KZT
      - KES
      - KWD
      - KGS
      - LAK
      - LVL
      - LVR
      - LBP
      - LSL
      - LRD
      - LYD
      - LTL
      - LTT
      - LUL
      - LUC
      - LUF
      - MOP
      - MKD
      - MKN
      - MGA
      - MGF
      - MWK
      - MYR
      - MVR
      - MVP
      - MLF
      - MTL
      - MTP
      - MRU
      - MRO
      - MUR
      - MXV
      - MXN
      - MXP
      - MDC
      - MDL
      - MCF
      - MNT
      - MAD
      - MAF
      - MZE
      - MZN
      - MZM
      - MMK
      - NAD
      - NPR
      - ANG
      - TWD
      - NZD
      - NIO
      - NIC
      - NGN
      - KPW
      - NOK
      - OMR
      - PKR
      - XPD
      - PAB
      - PGK
      - PYG
      - PEI
      - PEN
      - PES
      - PHP
      - XPT
      - PLN
      - PLZ
      - PTE
      - GWE
      - QAR
      - XRE
      - RHD
      - RON
      - ROL
      - RUB
      - RUR
      - RWF
      - SVC
      - WST
      - SAR
      - RSD
      - CSD
      - SCR
      - SLL
      - XAG
      - SGD
      - SKK
      - SIT
      - SBD
      - SOS
      - ZAR
      - ZAL
      - KRH
      - KRW
      - KRO
      - SSP
      - SUR
      - ESP
      - ESA
      - ESB
      - XDR
      - LKR
      - SHP
      - XSU
      - SDD
      - SDG
      - SDP
      - SRD
      - SRG
      - SZL
      - SEK
      - CHF
      - SYP
      - STN
      - STD
      - TVD
      - TJR
      - TJS
      - TZS
      - XTS
      - THB
      - XXX
      - TPE
      - TOP
      - TTD
      - TND
      - TRY
      - TRL
      - TMT
      - TMM
      

# --- truncated at 32 KB (46 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/openapi/merge-subpackage-expensereports-api-openapi.yml