> ## 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 offer line

## Field support per integration

<AccordionGroup>
  <Accordion title="Business Central" icon={<svg width="24" height="24" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg" transform="translate(-7,-4)"> <g clip-path="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/offerlineitems#clip0)"> <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="96" height="96"> <path fill-rule="evenodd" clip-rule="evenodd" d="M0 48C0 52.2526 2.94943 55.8163 6.91426 56.7571C10.3435 72.9252 23.0749 85.6565 39.2429 89.0857C40.1837 93.0506 43.7474 96 48 96C52.2526 96 55.8163 93.0506 56.7571 89.0857C72.9251 85.6565 85.6565 72.9252 89.0857 56.7572C93.0505 55.8164 95.9999 52.2527 95.9999 48.0001C95.9999 43.7476 93.0506 40.1839 89.0858 39.243C85.6566 23.0749 72.9252 10.3435 56.7571 6.91426C55.8163 2.94943 52.2526 0 48 0C43.7474 0 40.1837 2.94943 39.2429 6.91426C23.0748 10.3435 10.3435 23.0749 6.91426 39.2429C2.94943 40.1837 0 43.7474 0 48Z" fill="#8DF7DB"/> </mask> <g mask="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/offerlineitems#mask0)"> <circle cx="48" cy="48" r="48" fill="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/offerlineitems#paint0_linear)"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M52 17.0645C54.9634 15.5918 57 12.5337 57 9C57 4.02944 52.9706 0 48 0C43.0294 0 39 4.02944 39 9C39 12.5337 41.0365 15.5918 44 17.0645V23H52V17.0645Z" fill="#9DF3F9"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M44 78.9355C41.0366 80.4082 39 83.4663 39 87C39 91.9706 43.0294 96 48 96C52.9706 96 57 91.9706 57 87C57 83.4663 54.9634 80.4082 52 78.9355L52 73L44 73L44 78.9355Z" fill="#82EBF1"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M17.0645 44C15.5918 41.0366 12.5337 39 9 39C4.02944 39 -6.10673e-07 43.0294 -3.93402e-07 48C-1.76132e-07 52.9706 4.02944 57 9 57C12.5337 57 15.5918 54.9634 17.0645 52L23 52L23 44L17.0645 44Z" fill="#9DF3F9"/> <g filter="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/offerlineitems#filter0_f)"> <circle cx="48" cy="50" r="26" fill="black" fill-opacity="0.32"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M59.3172 54.0001C57.6698 58.6609 53.2249 62.0001 48 62.0001C41.3726 62.0001 36 56.6275 36 50.0001C36 43.3727 41.3726 38.0001 48 38.0001C53.2249 38.0001 57.6698 41.3394 59.3172 46.0001H80V54.0001H59.3172Z" fill="black" fill-opacity="0.32"/> <path d="M87 59.0001C82.0294 59.0001 78 54.9707 78 50.0001C78 45.0296 82.0294 41.0001 87 41.0001C91.9706 41.0001 96 45.0296 96 50.0001C96 54.9707 91.9706 59.0001 87 59.0001Z" fill="black" fill-opacity="0.32"/> </g> <g filter="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/offerlineitems#filter1_f)"> <circle cx="48" cy="48.38" r="26" fill="black" fill-opacity="0.24"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M59.3172 52.3801C57.6698 57.0409 53.2249 60.3801 48 60.3801C41.3726 60.3801 36 55.0075 36 48.3801C36 41.7527 41.3726 36.3801 48 36.3801C53.2249 36.3801 57.6698 39.7194 59.3172 44.3801H80V52.3801H59.3172Z" fill="black" fill-opacity="0.24"/> <path d="M87 57.3801C82.0294 57.3801 78 53.3507 78 48.3801C78 43.4096 82.0294 39.3801 87 39.3801C91.9706 39.3801 96 43.4096 96 48.3801C96 53.3507 91.9706 57.3801 87 57.3801Z" fill="black" fill-opacity="0.24"/> </g> <circle cx="48" cy="48" r="26" fill="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/offerlineitems#paint1_linear)"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M59.3172 52.0001C57.6698 56.6609 53.2249 60.0001 48 60.0001C41.3726 60.0001 36 54.6275 36 48.0001C36 41.3727 41.3726 36.0001 48 36.0001C53.2249 36.0001 57.6698 39.3394 59.3172 44.0001H80V52.0001H59.3172Z" fill="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/offerlineitems#paint2_linear)"/> <path d="M87 57.0001C82.0294 57.0001 78 52.9707 78 48.0001C78 43.0296 82.0294 39.0001 87 39.0001C91.9706 39.0001 96 43.0296 96 48.0001C96 52.9707 91.9706 57.0001 87 57.0001Z" fill="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/offerlineitems#paint3_linear)"/> </g> </g> <defs> <filter id="filter0_f" x="14" y="16" width="90" height="68" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <feFlood flood-opacity="0" result="BackgroundImageFix"/> <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/> <feGaussianBlur stdDeviation="4" result="effect1_foregroundBlur"/> </filter> <filter id="filter1_f" x="21.24" y="21.62" width="75.52" height="53.52" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <feFlood flood-opacity="0" result="BackgroundImageFix"/> <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/> <feGaussianBlur stdDeviation="0.38" result="effect1_foregroundBlur"/> </filter> <linearGradient id="paint0_linear" x1="22.7027" y1="11.3514" x2="72.6487" y2="84.6487" gradientUnits="userSpaceOnUse"> <stop stop-color="#009CA8"/> <stop offset="1" stop-color="#007D85"/> </linearGradient> <linearGradient id="paint1_linear" x1="31.7838" y1="26.2703" x2="66.1622" y2="83.3514" gradientUnits="userSpaceOnUse"> <stop stop-color="#36E3EE"/> <stop offset="1" stop-color="#00B1BE"/> </linearGradient> <linearGradient id="paint2_linear" x1="31.1352" y1="24" x2="75.2433" y2="63.5676" gradientUnits="userSpaceOnUse"> <stop stop-color="#D2F6F9"/> <stop offset="1" stop-color="#82EBF1"/> <stop offset="1" stop-color="#82EBF1"/> </linearGradient> <linearGradient id="paint3_linear" x1="96.9731" y1="50.919" x2="72.3244" y2="42.1622" gradientUnits="userSpaceOnUse"> <stop stop-color="#9AEEF3"/> <stop offset="1" stop-color="#82EBF1"/> </linearGradient> <clipPath id="clip0"> <rect width="96" height="96" fill="white"/></clipPath></defs></svg>}>
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#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.
    </Note>

    Support rawData: `true`

    <br />

    Supported Response Fields:

    <ResponseField name="id" type="string" />

    <ResponseField name="accountId" type="string" />

    <ResponseField name="description" type="string" />

    <ResponseField name="itemId" type="string" />

    <ResponseField name="quantity" type="number" />

    <ResponseField name="taxCode" type="string" />

    <ResponseField name="taxRatePercentage" type="number" />

    <ResponseField name="type" type="enum">
      Available options (3-letter ISO 4217):
      `ITEM`, `COMMENT`, `ACCOUNT`, `CHARGE`, `VALUE`, `RESOURCE`, `FIXED_ASSET`
    </ResponseField>

    <ResponseField name="totalDiscountAmount" type="number" />

    <ResponseField name="totalDiscountPercentage" type="number" />

    <ResponseField name="totalGrossAmount" type="number" />

    <ResponseField name="totalNetAmount" type="number" />

    <ResponseField name="totalTaxAmount" type="number" />

    <ResponseField name="unitAmount" type="number" />

    <ResponseField name="unitName" type="string" />
  </Accordion>

  <Accordion title="Sage Active" icon={<svg width="24" height="24" version="1.1" viewBox="0 0 64.916 36.474" transform="translate(-7, -4)" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><g transform="translate(-2.537 -2.8329)"> <path id="sagebrilliantgreen" d="m42.319 39.26c-3.0104-0.40304-5.5018-2.3048-6.3487-4.8463-0.7115-2.1351-0.29178-3.7854 0.99978-3.931 0.5839-0.0658 0.96322 0.0395 1.3276 0.36876 0.37332 0.33727 0.47035 0.58805 0.55232 1.4275 0.23999 2.4579 2.0531 4.1078 4.5142 4.1078 0.88774 0 1.4409-0.12 2.1886-0.4748 1.4464-0.68633 2.2122-1.9936 2.126-3.6289-0.0578-1.0949-0.51205-1.9292-1.4237-2.6145-0.71222-0.53539-1.6947-0.98461-3.5466-1.6216-2.5625-0.8814-3.7248-1.4462-4.8169-2.3406-2.0308-1.6631-2.7999-4.7189-1.9042-7.5653 0.38225-1.2147 0.88948-2.0471 1.8226-2.9912 1.3922-1.4084 3.2044-2.1325 5.3309-2.1301 3.8368 4e-3 6.9493 2.3836 7.6514 5.8486 0.10943 0.54004 0.13188 0.94847 0.0949 1.7257-0.0763 1.6019-0.47182 2.7477-1.1998 3.4757-0.81819 0.81819-2.0739 0.67324-2.5635-0.29591-0.24407-0.48315-0.23774-0.77166 0.0307-1.3996 0.40037-0.93635 0.54077-1.4792 0.54077-2.0908 0-1.1749-0.39365-2.1581-1.2005-2.9983-0.59144-0.61592-1.2515-0.99028-2.152-1.2206-2.3152-0.59214-4.5572 0.583-5.2915 2.7735-0.26089 0.77834-0.26172 1.9594-2e-3 2.6895 0.24387 0.68523 0.69844 1.3238 1.271 1.7854 0.64509 0.52009 2.0705 1.2074 3.6495 1.7599 2.5504 0.89231 3.415 1.2957 4.4994 2.0993 1.1089 0.8218 1.7792 1.7719 2.2021 3.1214 0.17061 0.54446 0.1981 0.80796 0.19846 1.902 3.4e-4 1.0684-0.03 1.3748-0.19097 1.9303-0.7533 2.5991-2.7651 4.4237-5.5256 5.0114-0.75112 0.1599-2.1148 0.21884-2.8343 0.12251zm-33.521-11.343c-3.049-0.48096-5.3665-2.4127-6.0762-5.0648-0.22532-0.842-0.24381-2.341-0.0392-3.1786 0.29877-1.2232 1.0201-2.2799 1.7121-2.5083 0.58548-0.19323 1.3566 0.0701 1.742 0.59482 0.30023 0.40877 0.28982 0.89449-0.03722 1.7364-0.36488 0.9393-0.43625 1.4377-0.31475 2.1982 0.24708 1.5464 1.3442 2.7377 2.9579 3.2117 0.64754 0.1902 1.8839 0.17828 2.5352-0.0244 2.2832-0.71061 3.3018-3.1729 2.1872-5.2872-0.54776-1.0391-1.791-1.8348-4.3292-2.7709-2.7129-1.0005-3.7219-1.5558-4.8368-2.662-0.87184-0.86499-1.284-1.5567-1.5738-2.6416-0.2512-0.94017-0.25117-2.5946 5.6e-5 -3.5391 0.5163-1.9412 1.8012-3.5094 3.606-4.4011 1.0912-0.53915 2.0321-0.74909 3.3485-0.74716 2.277 3e-3 3.9801 0.68226 5.4617 2.1773 1.1699 1.1806 1.7179 2.3034 1.8981 3.8892 0.17539 1.5435-0.39973 2.3207-1.6581 2.2405-0.81229-0.0517-1.3284-0.53213-1.422-1.3235-0.16631-1.4064-0.47266-2.1456-1.1838-2.8568-1.3863-1.3863-3.7741-1.632-5.4339-0.55927-1.6969 1.0968-2.1418 3.6062-0.9224 5.2032 0.63522 0.83192 1.7106 1.4449 4.2535 2.4246 1.9708 0.7593 2.6712 1.0863 3.5409 1.6532 1.2764 0.832 2.1119 1.8419 2.5368 3.0664 0.94507 2.7234 0.08103 5.873-2.0988 7.6505-0.66808 0.54479-1.8546 1.1349-2.7284 1.357-0.78267 0.19891-2.3694 0.28104-3.1255 0.16178zm16.311-9e-3c-2.3563-0.33788-4.6348-2.0486-5.6474-4.2402-0.50472-1.0924-0.67087-1.893-0.66369-3.1982 0.0075-1.3608 0.17347-2.099 0.73294-3.2597 0.7369-1.5288 1.913-2.6877 3.4841-3.4333 1.1264-0.53453 1.7306-0.6798 3.048-0.73282 1.7075-0.0687 3.0086 0.23471 4.3068 1.0044 0.64242 0.38091 1.6782 1.3214 2.1238 1.9285 0.4591 0.62544 0.97497 1.7389 1.2138 2.6199 0.21906 0.80799 0.2211 0.84397 0.25212 4.4491 0.0279 3.2472 0.0161 3.6742-0.1109 4.0068-0.44995 1.1782-2.3323 1.2526-2.9126 0.11514-0.14813-0.29035-0.1635-0.58589-0.19664-3.7817-0.03-2.893-0.0595-3.5566-0.17828-4.0096-0.35944-1.371-1.2008-2.4807-2.2857-3.0146-2.6097-1.2843-5.6341 0.29019-6.1957 3.2254-0.15345 0.80202-0.15265 1.1093 5e-3 1.8561 0.17024 0.80723 0.55624 1.5573 1.1083 2.1536 1.1151 1.2045 2.3277 1.5784 4.1446 1.2783 0.87556-0.14465 1.2229-0.0771 1.6378 0.31857 0.87671 0.83611 0.54387 1.9958-0.70714 2.4639-0.88408 0.33077-1.9882 0.41827-3.1592 0.25036zm34.085 6e-3c-2.6759-0.39254-4.9226-2.0585-6.0099-4.4564-0.82735-1.8247-0.80936-4.2211 0.0456-6.0715 0.93364-2.0207 2.6711-3.5034 4.8371-4.1279 0.91987-0.26518 3.0432-0.28385 4.0217-0.0354 3.2358 0.82177 5.3345 3.2765 5.3634 6.2734 7e-3 0.69047-0.0159 0.80451-0.24065 1.2148-0.14928 0.27255-0.38973 0.55031-0.60403 0.69775-0.64979 0.44707-1.0686 0.50046-3.9259 0.50046-2.5179 0-2.5992-5e-3 -2.9618-0.1905-0.4987-0.25483-0.69897-0.55062-0.74285-1.0972-0.0295-0.36804-5.9e-4 -0.49951 0.16208-0.73656 0.43816-0.63841 0.43651-0.638 2.7933-0.68512 1.9934-0.0398 2.125-0.0523 2.2424-0.21166 0.25707-0.349-0.0913-1.2568-0.72562-1.8912-0.77239-0.7724-1.8998-1.2008-3.1506-1.1971-1.3155 4e-3 -2.2288 0.37482-3.1204 1.2674-1.8314 1.8333-1.8687 4.7102-0.0847 6.5289 0.91091 0.92862 1.9348 1.3456 3.3038 1.3456 1.3574 0 1.9015-0.18457 4.0198-1.3637 1.8553-1.0327 3.2856 0.8794 1.7396 2.3255-1.5662 1.465-4.5035 2.2709-6.9623 1.9102z" fill="#00d639" stroke-width=".084667"/></g></svg>}>
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameters `environmentName` and `companyId` are correctly populated.
      You can obtain these values by using the `GET Companies` endpoint available under the Authentication section. Please use the id field as the companyId and the environmentId field as the environmentName.
    </Note>

    Support rawData: `true`

    <br />

    <ResponseField name="id" type="string" />

    <ResponseField name="createdDate" type="string">
      ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
    </ResponseField>

    <ResponseField name="itemId" type="string" />

    <ResponseField name="name" type="string" />

    <ResponseField name="quantity" type="number">
      Note that quantity can be a decimal numeral.
    </ResponseField>

    <ResponseField name="taxRatePercentage" type="number" />

    <ResponseField name="totalGrossAmount" type="number" />

    <ResponseField name="totalNetAmount" type="number" />

    <ResponseField name="unitAmount" type="number" />

    <ResponseField name="unitDiscountPercentage" type="number" />

    <ResponseField name="updatedDate" type="string">
      ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
    </ResponseField>
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml get /accounting/offers/{offerId}/lineItems/{lineItemId}
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/offers/{offerId}/lineItems/{lineItemId}:
    get:
      tags:
        - accounting
      operationId: getOfferLineItem
      parameters:
        - name: offerId
          required: true
          in: path
          schema:
            type: string
        - name: lineItemId
          required: true
          in: path
          schema:
            type: string
        - name: companyId
          required: false
          in: query
          schema:
            type: string
        - name: environmentName
          in: query
          schema:
            type: string
          required: false
        - name: rawData
          required: false
          in: query
          schema:
            type: boolean
        - name: X-API-KEY
          description: API key
          in: header
          schema:
            type: string
          required: true
        - name: X-ACCOUNT-KEY
          description: Account key
          in: header
          schema:
            type: string
          required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponseDto'
                  - properties:
                      data:
                        $ref: '#/components/schemas/OfferLineItemResponseDto'
                        type: object
components:
  schemas:
    BaseResponseDto:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/MetaResponse'
        data:
          oneOf:
            - type: object
            - type: array
    OfferLineItemResponseDto:
      type: object
      properties:
        id:
          type: string
          example: c1f85763-5be6-ee11-a201-6045bde98d28
        accountCode:
          type: string
          example: '8400'
        accountId:
          type: string
          example: a23cc-334rn-finsd-438m
        createdDate:
          type: string
          example: '2021-01-01T00:00:00Z'
        description:
          type: string
          example: SYDNEY Schreibtischstuhl, grün
        itemId:
          type: string
          example: f9f6653e-5be6-ee11-a201-6045bde98d28
        name:
          type: string
          example: GREEN CHAIR
        quantity:
          type: number
          example: 1
        taxCode:
          type: string
          example: CODE.19
        taxRatePercentage:
          type: number
          example: '19'
        taxType:
          type: string
          example: type-19
        type:
          type: string
          enum:
            - COMMENT
            - ACCOUNT
            - ITEM
            - RESOURCE
            - VALUE
            - FIXED_ASSET
            - CHARGE
          example: ITEM
        totalDiscountAmount:
          type: number
          example: 10
        totalDiscountPercentage:
          type: number
          example: 10
        totalGrossAmount:
          type: number
          example: 109
        totalNetAmount:
          type: number
          example: 100
        totalTaxAmount:
          type: number
          example: 19
        unitAmount:
          type: number
          example: 100
        unitDiscountAmount:
          type: number
          example: 10
        unitDiscountPercentage:
          type: number
          example: 10
        unitName:
          type: string
          example: STÜCK
        updatedDate:
          type: string
          example: '2021-01-01T00:00:00Z'
    MetaResponse:
      type: object
      properties:
        warnings:
          type: array
          items:
            type: string
            example: Field not used by target system
        pagination:
          $ref: '#/components/schemas/PaginationResponse'
    PaginationResponse:
      type: object
      properties:
        total:
          type: number
          example: 125
        perPage:
          type: number
          example: 50
        currentPage:
          type: number
          example: 1
        totalPages:
          type: number
          example: 3

````