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

# Get tolerance limits

## Field support per integration

> [accordion] Business Central
>
> > [!WARNING]
> >
> > This endpoint needs the Maesn app to be installed in the Business Central environment. If the app is not installed, Business Central returns an error.
> > Please get in touch with your contact person at maesn to get the app.
>
> > [!NOTE]
> >
> > If you're not using the [Interactive Authentication Flow](https://docs.maesn.com/authentication.md#interactive-authentication-flow), make sure the query parameters `environmentName` and `companyId` are correctly populated.
> > You can obtain these values by using the `GET Environments` and `GET Companies` endpoints available under the Authentication section.
>
> Query parameters:
>
> **limit** `enum`
>
> Available options: `5`, `10`, `20`, `50`, `100`
>
> **page** `number`
>
> **filter** `string`
>
> **object**
>
> **lastModifiedAt** `string`
>
> Filter by last modified date.\\
>
> Example: `lastModifiedAt=2021-01-01T00:00:00Z`
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **currency** `string`
>
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **toleranceAmount** `number`
>
> **tolerancePercent** `number`
>
> **updatedDate** `string`
>
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.


## OpenAPI

````yaml get /accounting/toleranceLimits
openapi: 3.0.0
info:
  title: Maesn unified API
  description: The Maesn unified API description
  version: '1.0'
  contact: {}
servers:
  - url: https://api.maesn.dev
security: []
tags:
  - name: maesn
    description: ''
paths:
  /accounting/toleranceLimits:
    get:
      tags:
        - accounting
      operationId: getToleranceLimits
      parameters:
        - name: page
          required: false
          in: query
          schema:
            type: number
        - name: limit
          required: false
          in: query
          schema:
            enum:
              - 5
              - 10
              - 20
              - 50
              - 100
            type: number
        - name: companyId
          required: false
          in: query
          schema:
            type: string
        - name: environmentName
          in: query
          schema:
            type: string
          required: false
        - name: lastModifiedAt
          required: false
          in: query
          schema:
            type: string
        - name: rawData
          required: false
          in: query
          schema:
            type: boolean
        - name: X-API-KEY
          description: API key
          in: header
          schema:
            type: string
            example: example value
          required: true
        - name: X-ACCOUNT-KEY
          description: Account key
          in: header
          schema:
            type: string
            example: example value
          required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponseDto'
                  - properties:
                      data:
                        type: array
                        items:
                          $ref: '#/components/schemas/ToleranceLimitResponseDto'
components:
  schemas:
    BaseResponseDto:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/MetaResponse'
        data:
          oneOf:
            - type: object
            - type: array
    ToleranceLimitResponseDto:
      type: object
      properties:
        id:
          type: string
          example: eaa91b31-5be6-ee11-a201-6045bde98d28
        currency:
          type: string
          example: EUR
        toleranceAmount:
          type: number
          example: 0
        tolerancePercent:
          type: number
          example: 0
        updatedDate:
          type: string
          example: '2024-12-10T00:55:18.75Z'
    MetaResponse:
      type: object
      properties:
        warnings:
          type: array
          items:
            type: string
            example: Field not used by target system
        pagination:
          $ref: '#/components/schemas/PaginationResponse'
        partialErrors:
          type: array
          description: >-
            Secondary operations that failed after the main operation succeeded.
            See [Partial Errors](/guides/partial-errors).
          items:
            type: object
            properties:
              code:
                type: string
                example: FILE_UPLOAD_FAILED
              message:
                type: string
                example: >-
                  Attachment invoice.pdf could not be uploaded to the target
                  system.
    PaginationResponse:
      type: object
      properties:
        total:
          type: number
          example: 125
        perPage:
          type: number
          example: 50
        currentPage:
          type: number
          example: 1
        totalPages:
          type: number
          example: 3

````

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