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

# Update expense (fields format of expense record)

> Do you want to update an expense using the fields endpoint structure, use this endpoint.



## OpenAPI

````yaml openapi/findity-expense-api.json PUT /expenses/{expenseId}?format=fields
openapi: 3.0.3
info:
  title: Findity Expense API
  description: Findity Expense API
  version: 1.0.0
servers:
  - url: https://stage-api.findity.com/api/v1/expense
  - url: https://api.findity.com/api/v1/expense
security:
  - bearerAuth: []
paths:
  /expenses/{expenseId}?format=fields:
    put:
      tags:
        - Expenses
      summary: Update expense (fields format of expense record)
      description: >-
        Do you want to update an expense using the fields endpoint structure,
        use this endpoint.
      operationId: updateExpenseUsingFieldsFormat
      parameters:
        - $ref: '#/components/parameters/expenseId'
        - $ref: '#/components/parameters/formatFields'
        - $ref: '#/components/parameters/forceSave'
        - in: query
          name: organizationId
          description: The id of the organization
          schema:
            $ref: '#/components/schemas/Uuid'
        - in: query
          name: expenseType
          description: The expense type of the expense
          schema:
            type: string
            enum:
              - CarSpecification
              - FoodBenefitsSpecification
              - ReceiptVerification
              - SubsistenceAllowance
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FieldsResponse'
            examples:
              Receipt verification:
                value:
                  fields:
                    - name: Id
                      property: id
                      controlType: TEXT
                      mandatory: false
                      visible: false
                      value: 99601cd0f6ba438cb16ca17b8edf25a0
                      errorText: null
                      error: null
                      custom: false
                    - name: null
                      property: version
                      controlType: INTEGER
                      mandatory: false
                      visible: false
                      value: 2
                      errorText: null
                      error: null
                      custom: false
                    - name: Receipt
                      property: verification.receiptAttachment
                      controlType: CONTENT_HOLDER
                      mandatory: false
                      visible: true
                      value: receiptAttachmentId
                      errorText: null
                      error: null
                      custom: false
                      data:
                        id: receiptAttachmentId
                        name: name of receiptAttachment
                    - name: Category
                      property: categoryId
                      controlType: LIST
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      requiresUpdate: true
                      scannable: true
                      url: >-
                        /me/organizations/8ab28cb36ccde07d016ccdfb47d00216/expensetypes/ReceiptVerification/categories
                    - name: Expense report
                      property: expenseReportId
                      controlType: LIST
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      url: >-
                        /expensereports?statuses=NORMAL,NEW&organizationId=8ab28cb36ccde07d016ccdfb47d00216
                    - name: Verification number
                      property: verification.verificationNumber
                      controlType: TEXT
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      disabled: true
                    - name: Description
                      property: verification.description
                      controlType: TEXT
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                    - name: Date of purchase
                      property: verification.purchaseDate
                      controlType: DATE
                      mandatory: false
                      visible: true
                      value: '2019-09-30T14:33:26Z'
                      errorText: null
                      error: null
                      custom: false
                      requiresUpdate: true
                      scannable: true
                      allowFutureDate: false
                    - name: Payment method
                      property: verification.paymentTypeId
                      controlType: LIST
                      mandatory: true
                      visible: true
                      value: f433bd56f038486faeee6a5ddd5177f2
                      errorText: null
                      error: null
                      custom: false
                      url: >-
                        /me/organizations/8ab28cb36ccde07d016ccdfb47d00216/paymenttypes
                      data:
                        iconUrl: null
                        id: f433bd56f038486faeee6a5ddd5177f2
                        name: Payment
                        section: null
                    - name: Store
                      property: verification.storeName
                      controlType: TEXT
                      mandatory: false
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: false
                    - name: Amount incl. VAT
                      property: verification.amount
                      controlType: DOUBLE
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      scannable: true
                    - name: Tip
                      property: verification.tip
                      controlType: DOUBLE
                      mandatory: false
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: false
                    - name: VAT
                      property: verification.taxAmount
                      controlType: DOUBLE
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      scannable: true
                    - name: Currency
                      property: verification.currency
                      controlType: LIST
                      mandatory: true
                      visible: true
                      value: SEK
                      errorText: null
                      error: null
                      custom: false
                      requiresUpdate: true
                      scannable: true
                      url: >-
                        /me/organizations/8ab28cb36ccde07d016ccdfb47d00216/currencies
                      data:
                        iconUrl: null
                        id: SEK
                        name: Swedish Krona
                        section: null
                    - name: Exchange rate
                      property: verification.exchangeRate
                      controlType: DOUBLE
                      mandatory: false
                      visible: false
                      value: 1
                      errorText: null
                      error: null
                      custom: false
                    - name: Expense Level (not-changable)
                      property: 8ab28c4f70f773590170f7cda2ea08bc
                      controlType: LIST
                      mandatory: false
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: true
                      url: >-
                        /me/organizations/8ab28cb36ccde07d016ccdfb47d00216/lists/CUSTOM_DIMENSIONS_4f38a4cc3fe242d394058626523044c1_8ab28cb36ccde07d016ccdfb47d00216
                    - name: Employee dim
                      property: 8ab28c4f723887dd01723c5cae82020e
                      controlType: LIST
                      mandatory: false
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: true
                      url: >-
                        /me/organizations/8ab28cb36ccde07d016ccdfb47d00216/lists/CUSTOM_DIMENSIONS_d4c8684b75ff4026b69810c8d912aea4_8ab28cb36ccde07d016ccdfb47d00216
                    - name: Entertainment
                      property: verification.representation
                      controlType: FIELD_GROUP
                      mandatory: false
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      fields:
                        - name: Type
                          property: verification.representation.type
                          controlType: LIST
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          requiresUpdate: true
                        - name: Included liquor/wine/strong beer
                          property: verification.representation.includesLiquor
                          controlType: SWITCH
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                        - name: Attach guest list
                          property: verification.representation.guestListAttached
                          controlType: SWITCH
                          mandatory: false
                          visible: false
                          value: false
                          errorText: null
                          error: null
                          custom: false
                          requiresUpdate: true
                        - name: Guests
                          property: verification.representation.guests
                          controlType: GUEST_LIST
                          mandatory: false
                          visible: false
                          value: []
                          errorText: null
                          error: null
                          custom: false
                        - name: Number of guests
                          property: verification.representation.numberOfGuests
                          controlType: INTEGER
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                        - name: Number of external guests
                          property: verification.representation.numberOfExternalGuests
                          controlType: INTEGER
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                        - name: Place
                          property: verification.representation.place
                          controlType: TEXT
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                        - name: Attached guest list
                          property: verification.representation.guestListAttachment
                          controlType: CONTENT_HOLDER
                          mandatory: true
                          visible: false
                          value: guestListAttachmentId
                          errorText: null
                          error: null
                          custom: false
                          data:
                            id: guestListAttachmentId
                            name: name of guestListAttachment
                      commands:
                        - text: Clear guests
                          confirmationRequired: true
                          confirmation: Are you sure you want to clear guests?
                          command: action=removeGuests
                        - text: Clear representation
                          confirmationRequired: true
                          confirmation: Are you sure you want to clear representation?
                          command: action=removeRepresentation
                    - name: Comment
                      property: verification.comment
                      controlType: MULTI_LINE_TEXT
                      mandatory: false
                      visible: true
                      value: Some comment
                      errorText: null
                      error: null
                      custom: false
                    - name: Card transaction
                      property: verification.cardTransaction
                      controlType: TEXT
                      mandatory: false
                      visible: true
                      value: Some id
                      errorText: null
                      error: null
                      custom: false
                      disabled: true
                    - name: Attachments
                      property: verification.attachments
                      controlType: CONTENT_HOLDER
                      mandatory: false
                      visible: true
                      value:
                        - id1
                        - id2
                      errorText: null
                      error: null
                      custom: false
                      disabled: false
                      data:
                        - id: id1
                          name: name of attachment with id1
                        - id: id2
                          name: name of attachment with id2
              Car specification:
                value:
                  fields:
                    - name: Id
                      property: id
                      controlType: TEXT
                      mandatory: false
                      visible: false
                      value: aba39b91c2c6407190cc69f2b0f5d41a
                      errorText: null
                      error: null
                      custom: false
                    - name: null
                      property: version
                      controlType: INTEGER
                      mandatory: false
                      visible: false
                      value: 2
                      errorText: null
                      error: null
                      custom: false
                    - name: Category
                      property: categoryId
                      controlType: LIST
                      mandatory: false
                      visible: true
                      value: b219079277d14c77a0c85497504cf90b
                      errorText: null
                      error: null
                      custom: false
                      requiresUpdate: true
                      url: >-
                        /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/expensetypes/CarSpecification/categories
                      data:
                        iconUrl: >-
                          https://stage-expense.findity.com/api/resources/8a49a1b359cbfe2a0159d565c056013a
                        id: b219079277d14c77a0c85497504cf90b
                        name: Milersättning
                        section: 5
                    - name: Comment
                      property: verification.comment
                      controlType: MULTI_LINE_TEXT
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                    - name: Expense report
                      property: expenseReportId
                      controlType: LIST
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      url: >-
                        /expensereports?statuses=NORMAL,NEW&organizationId=8ab28c4f6fd37d39016fd6fee0470003
                    - name: Travel date
                      property: verification.travelDate
                      controlType: DATE_TIME
                      mandatory: false
                      visible: true
                      value: '2024-01-05T12:46:11Z'
                      errorText: null
                      error: null
                      custom: false
                      allowFutureDate: false
                    - name: Destination
                      property: verification.destination
                      controlType: TEXT
                      mandatory: false
                      visible: false
                      value: Stockholm, Sweden - Ludvika, Sweden
                      errorText: null
                      error: null
                      custom: false
                    - name: Vehicle type
                      property: verification.carType
                      controlType: LIST
                      mandatory: true
                      visible: true
                      value: PRIVATE_CAR
                      errorText: null
                      error: null
                      custom: false
                      url: >-
                        /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/categories/b219079277d14c77a0c85497504cf90b/cartypes
                      data:
                        iconUrl: null
                        id: PRIVATE_CAR
                        name: Private car
                        section: null
                    - name: Route
                      property: verification.travelRoute
                      controlType: FIELD_GROUP
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      requiresUpdate: true
                      fields:
                        - name: Manually enter distance
                          property: verification.manualDistance
                          controlType: SWITCH
                          mandatory: false
                          visible: true
                          value: false
                          errorText: null
                          error: null
                          custom: false
                          requiresUpdate: true
                        - name: Fleet managemnet trips
                          property: verification.fleetManagementTripIds
                          controlType: LIST
                          mandatory: false
                          visible: true
                          value: null
                          url: >-
                            /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/categories/b219079277d14c77a0c85497504cf90b/fleetmanagementtrips
                          requiresUpdate: true
                          multiSelect: true
                        - name: Route
                          property: verification.route
                          controlType: MILEAGE_ROUTE
                          mandatory: false
                          visible: true
                          value:
                            - latitude: '59.3293481'
                              longitude: '18.0682306'
                              place: Stockholm, Sweden
                            - latitude: '60.1523510'
                              longitude: '15.1919879'
                              place: Ludvika, Sweden
                          errorText: null
                          error: null
                          custom: false
                        - name: Distance
                          property: verification.distance
                          controlType: DOUBLE
                          mandatory: false
                          visible: false
                          value: 434
                          errorText: null
                          error: null
                          custom: false
                        - name: Distance with transport
                          property: verification.distanceInTransport
                          controlType: DOUBLE
                          mandatory: false
                          visible: false
                          value: 0
                          errorText: null
                          error: null
                          custom: false
                        - name: Distance on gravel
                          property: verification.distanceOnGravel
                          controlType: DOUBLE
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                        - name: Distance with caravan
                          property: verification.distanceWithCaravan
                          controlType: DOUBLE
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                        - name: Distance with dog
                          property: verification.distanceWithDog
                          controlType: DOUBLE
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                        - name: Distance with heavy caravan
                          property: verification.distanceWithHeavyCaravan
                          controlType: DOUBLE
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                        - name: Distance with trailer
                          property: verification.distanceWithTrailer
                          controlType: DOUBLE
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                        - name: Road toll
                          property: verification.tollCost
                          controlType: DOUBLE
                          mandatory: false
                          visible: false
                          value: null
                          errorText: null
                          error: null
                          custom: false
                        - name: Number of extra passengers
                          property: verification.numberOfPassengers
                          controlType: INTEGER
                          mandatory: false
                          visible: false
                          value: 0
                          errorText: null
                          error: null
                          custom: false
                        - name: Round trip
                          property: verification.roundTrip
                          controlType: SWITCH
                          mandatory: false
                          visible: true
                          value: true
                          errorText: null
                          error: null
                          custom: false
                          requiresUpdate: true
                        - name: null
                          property: verification.fuelType
                          controlType: TEXT
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          requiresUpdate: true
                        - name: null
                          property: verification.bompeng
                          controlType: TEXT
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          requiresUpdate: true
                        - name: null
                          property: verification.travelTime
                          controlType: TEXT
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          requiresUpdate: true
                        - name: null
                          property: virtual.mileageMap
                          controlType: TEXT
                          mandatory: false
                          visible: false
                          value: >-
                            https://stage-expense.findity.com/api/resources/ff8080818cd9867f018cd9aa1a6c0004
                          errorText: null
                          error: null
                          custom: false
                        - name: null
                          property: virtual.mileageMapChecksum
                          controlType: TEXT
                          mandatory: false
                          visible: false
                          value: e04fddb94af4d9da0b6c6886270ffcf0b90fe866
                          errorText: null
                          error: null
                          custom: false
                        - name: null
                          property: virtual.mileageCoordinatePoints
                          controlType: TEXT
                          mandatory: false
                          visible: false
                          value: >-
                            mwbiJm}gmBcDo@c@tHuBhH~A|JbCvM|BdOeBbYmOnPoQzTkHbv@oPngA}QzKyIgGcMmUsUqv@cHwE{JjJyYvp@wXpZeT`[wXnHoXpKud@th@uh@bq@}bAtkCk[pr@|Nn~AxL~_@lTzRnSdMvF`TgAtWoPfj@e_@x_C}PbfDoNdbAoYjlAwYzc@uSzJwjAzVyf@dYooA~_@sc@t^ce@po@sp@nl@__@`o@gWf|@ko@dmDoHrcAwQln@iv@fkAgi@|v@s[d{@}LlnAgAvnA{Dtp@mTtpAyi@hdBk\~gBeZhsAuh@reAih@l{Aqb@zcAut@fkB_`BdjE_i@pxA{k@|cDuWxeAaLjcB}G~zAsZ`pB_t@l{Bk]fsAy_@vv@y`@bu@eN~|@aSfoEiTxeEcJ~pDkZv~CoJpvBiFxtDyXtoDwCtdCeJloCkSdkDoVjpD_@|y@`Mj`Avp@pfB~DzfAoFlw@qPheDsF|{BfGts@vVhgAxUfkArFl{@qDveCiEteBhA~yArM|wAlh@x{Dre@nkBdSheCyIviEkCrrD~BvvK~[bkCvk@j|Bf]vcBfBhs@mHp|@eWv}CyMzh@{P~Z}PfvAmU~XaDbk@zJfiBta@jxAtUlmCbGlyAyMbZwe@pw@ae@lqA}k@tpAgl@j|@w[bvAcDvX}PvcB}VhkAq[h{@mMt`@qNpp@qd@`_GqQprA_c@jfBif@`_B_Q|j@q`@jw@qTjQsf@dKmh@~Hs`@dQc}@lp@k_@dVei@fOwwApWo^z_@}XfkAuI|oCmNbqA{Tnx@qZpi@eb@p]c{AnQa^jEco@v[oL|KsWd]sUnd@u_@poAk}@xyDqtArvDiX~i@mh@ld@at@b]si@dXg[de@gTbo@eYzb@uXda@ah@zyBocAvqAia@~aAgaAr~A{p@~aBse@p`BcUpn@kb@zoCnAl|@aGhnAgc@fcAs^~r@{e@|Nm_ArjAcc@hm@wf@b}AoFzG`AfIdKlr@l\fl@jt@~wBjSna@yAn[t@vkAa@pjAmK~eA{{@jeDmk@laBqm@pjAiu@jy@ud@hw@soBvsF_vAlrEcf@p]{d@tmAyShU{ZrPgm@le@ic@vXkt@hXkr@bn@aXrc@kLhl@qPdnA}c@b}@{Yb[qVrk@aXtp@aSpP{ZnZiQ|a@c[vaB{D|jAjDlm@nHjrA_DxcAuN|d@w[rk@mJ|l@iGrzAw@lgC}GvcAlLvnBHbtAyJ~p@aQ|XcFd[qQ~_BySbrAoTpw@{AneBbVp|@xJpTlGtj@kJtnAgK`t@h@lO
                          errorText: null
                          error: null
                          custom: false
                      commands:
                        - text: Clear travel route
                          confirmationRequired: true
                          confirmation: Are you sure you want to clear travel route?
                          command: action=removeTravelRoute
                    - name: Cost center
                      property: 8ab28c4e7337c2910173549217a50afc
                      controlType: LIST
                      mandatory: false
                      visible: true
                      value: KST2
                      errorText: null
                      error: null
                      custom: true
                      url: >-
                        /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/lists/CUSTOM_DIMENSIONS_0ddeefef621049ee85ad921ab7f199a6_8ab28c4f6fd37d39016fd6fee0470003
                      data:
                        iconUrl: null
                        id: KST2
                        name: KST 2
                        section: null
                    - name: Life PI
                      property: 8ab28c4e7e4488d2017e488f5eb5037c
                      controlType: LIST
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: true
                      url: >-
                        /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/lists/CUSTOM_DIMENSIONS_5cec3d801370455cae41c9e16d551f45_8ab28c4f6fd37d39016fd6fee0470003
                    - name: Project
                      property: 8ab28c4f7337c45f017354921a4646a0
                      controlType: LIST
                      mandatory: false
                      visible: true
                      value: PRJ2
                      errorText: null
                      error: null
                      custom: true
                      url: >-
                        /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/lists/CUSTOM_DIMENSIONS_2f60063da17241028d85e530a319efb1_8ab28c4f6fd37d39016fd6fee0470003
                      data:
                        iconUrl: null
                        id: PRJ2
                        name: PRJ 2
                        section: null
                    - name: Attachments
                      property: verification.attachments
                      controlType: CONTENT_HOLDER
                      mandatory: false
                      visible: true
                      value:
                        - id1
                        - id2
                      errorText: null
                      error: null
                      custom: false
                      disabled: false
                      data:
                        - id: id1
                          name: name of attachment with id1
                        - id: id2
                          name: name of attachment with id2
              Subsistence allowance/Per diem (domestic):
                value:
                  fields:
                    - name: Id
                      property: id
                      controlType: TEXT
                      mandatory: 'false'
                      visible: 'false'
                      value: 083c9102d158460482fd4e9806e69623
                      errorText: null
                      error: null
                      custom: 'false'
                    - name: null
                      property: version
                      controlType: INTEGER
                      mandatory: 'false'
                      visible: 'false'
                      value: 2
                      errorText: null
                      error: null
                      custom: 'false'
                    - name: null
                      property: rejectionComment
                      controlType: INFORMATION
                      mandatory: 'false'
                      visible: 'false'
                      value: null
                      errorText: null
                      error: null
                      custom: 'false'
                      dismissible: 'false'
                      informationType: ERROR
                    - name: null
                      property: status
                      controlType: TEXT
                      mandatory: 'false'
                      visible: 'false'
                      value: NORMAL
                      errorText: null
                      error: null
                      custom: 'false'
                    - name: null
                      property: reportStatus
                      controlType: TEXT
                      mandatory: 'false'
                      visible: 'false'
                      value: null
                      errorText: null
                      error: null
                      custom: 'false'
                    - name: null
                      property: reportId
                      controlType: TEXT
                      mandatory: 'false'
                      visible: 'false'
                      value: null
                      errorText: null
                      error: null
                      custom: 'false'
                    - name: null
                      property: reportType
                      controlType: TEXT
                      mandatory: 'false'
                      visible: 'false'
                      value: null
                      errorText: null
                      error: null
                      custom: 'false'
                    - name: Category
                      property: categoryId
                      controlType: LIST
                      mandatory: 'false'
                      visible: 'true'
                      value: 2227e3cff2ea431aaed7d4299c29b4b2
                      errorText: null
                      error: null
                      custom: 'false'
                      requiresUpdate: 'true'
                      url: >-
                        /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/expensetypes/SubsistenceAllowance/categories
                      data:
                        iconUrl: >-
                          https://expense.findity.com/api/resources/8ab28c5088104f7401881e96b87e02e0
                        id: 2227e3cff2ea431aaed7d4299c29b4b2
                        name: Domestic SE
                        section: '4'
                    - name: Expense report
                      property: expenseReportId
                      controlType: LIST
                      mandatory: 'false'
                      visible: 'true'
                      value: null
                      errorText: null
                      error: null
                      custom: 'false'
                      url: >-
                        /expensereports?statuses=NORMAL,NEW&organizationId=8ab28c4e8db29412018dbc4d740f04f3
                    - name: Description
                      property: verification.description
                      controlType: TEXT
                      mandatory: 'false'
                      visible: 'true'
                      value: Domesticated
                      errorText: null
                      error: null
                      custom: 'false'
                    - name: Picard text
                      property: 24e2786b7b854cebbd6a73b8b79d98fe
                      controlType: TEXT
                      mandatory: 'false'
                      visible: 'true'
                      value: Text, text, text
                      errorText: null
                      error: null
                      custom: 'true'
                    - name: Picard searchable
                      property: bae8e73c047145c5b969c2a8c4c3fede
                      controlType: LIST
                      mandatory: 'false'
                      visible: 'true'
                      value: S1
                      errorText: null
                      error: null
                      custom: 'true'
                      url: >-
                        /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/lists/CUSTOM_DIMENSIONS_2d3d65637ca64d25823ffd942f8f73c5_8ab28c4e8db29412018dbc4d740f04f3
                      data:
                        iconUrl: null
                        id: S1
                        name: Searchable list value 1
                        section: null
                    - name: Picard list
                      property: ca420d544e064e96abe946933816d17a
                      controlType: LIST
                      mandatory: 'false'
                      visible: 'true'
                      value: L1
                      errorText: null
                      error: null
                      custom: 'true'
                      url: >-
                        /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/lists/CUSTOM_DIMENSIONS_440e454cf72743b4816d578d8108cfac_8ab28c4e8db29412018dbc4d740f04f3
                      data:
                        iconUrl: null
                        id: L1
                        name: List value 1
                        section: null
                    - name: Picard preset list
                      property: f49ec2adf20c49af84748318b8a8600e
                      controlType: LIST
                      mandatory: 'false'
                      visible: 'false'
                      value: Domestic
                      errorText: null
                      error: null
                      custom: 'true'
                      url: >-
                        /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/lists/CUSTOM_DIMENSIONS_27ea1fb73aac4db9be6ddc758f588e1a_8ab28c4e8db29412018dbc4d740f04f3
                      data:
                        iconUrl: null
                        id: Domestic
                        name: Domestic per diem
                        section: null
                    - name: Travel route
                      property: verification.specifications
                      controlType: FIELD_GROUP
                      mandatory: 'false'
                      visible: 'true'
                      value: null
                      errorText: null
                      error: null
                      custom: 'false'
                      requiresUpdate: 'true'
                      fields:
                        - name: Id
                          property: verification.specifications[1].id
                          controlType: TEXT
                          mandatory: 'false'
                          visible: 'false'
                          value: 61158c06b6a54fd389bf1988f2304ad6
                          errorText: null
                          error: null
                          custom: 'false'
                        - name: Destination
                          property: verification.specifications[1].destination
                          controlType: LIST
                          mandatory: 'false'
                          visible: 'false'
                          value: 2b9fbaa2630511e18824b0dd45bff075
                          errorText: null
                          error: null
                          custom: 'false'
                          url: >-
                            /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/expensetypes/SubsistenceAllowance/destinations
                          data:
                            iconUrl: null
                            id: 2b9fbaa2630511e18824b0dd45bff075
                            name: Sweden
                            section: null
                        - name: Travel day
                          property: verification.specifications[1].date1
                          controlType: LOCAL_DATE_TIME
                          mandatory: 'false'
                          visible: 'true'
                          value: 2024-05-01 15:58
                          errorText: null
                          error: null
                          custom: 'false'
                          requiresUpdate: 'true'
                        - name: null
                          property: verification.specifications[1].date2
                          controlType: LOCAL_DATE_TIME
                          mandatory: 'false'
                          visible: 'false'
                          value: null
                          errorText: null
                          error: null
                          custom: 'false'
                        - name: Id
                          property: verification.specifications[2].id
                          controlType: TEXT
                          mandatory: 'false'
                          visible: 'false'
                          value: 9fcfe50caed0433e9a7723944dcd9d94
                          errorText: null
                          error: null
                          custom: 'false'
                        - name: Destination
                          property: verification.specifications[2].destination
                          controlType: LIST
                          mandatory: 'false'
                          visible: 'false'
                          value: 2b9fbaa2630511e18824b0dd45bff075
                          errorText: null
                          error: null
                          custom: 'false'
                          url: >-
                            /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/expensetypes/SubsistenceAllowance/destinations
                          data:
                            iconUrl: null
                            id: 2b9fbaa2630511e18824b0dd45bff075
                            name: Sweden
                            section: null
                        - name: null
                          property: verification.specifications[2].date1
                          controlType: LOCAL_DATE_TIME
                          mandatory: 'false'
                          visible: 'false'
                          value: null
                          errorText: null
                          error: null
                          custom: 'false'
                        - name: Travel ended
                          property: verification.specifications[2].date2
                          controlType: LOCAL_DATE_TIME
                          mandatory: 'false'
                          visible: 'true'
                          value: 2024-05-02 17:58
                          errorText: null
                          error: null
                          custom: 'false'
                          requiresUpdate: 'true'
                      commands: null
                    - name: Food and accommodation
                      property: verification.deductionAndAccommodation
                      controlType: FIELD_GROUP
                      mandatory: 'false'
                      visible: 'true'
                      value: null
                      errorText: null
                      error: null
                      custom: 'false'
                      accessorIconUrl: >-
                        https://expense.findity.com/api/images/icons/more-horizontal.svg
                      accessorText: Food and accommodation
                      fields:
                        - name: null
                          property: >-
                            verification.deductionAndAccommodation.informationLabel
                          controlType: INFORMATION
                          mandatory: 'false'
                          visible: 'true'
                          value: Select the expenses that your company paid for
                          errorText: null
                          error: null
                          custom: 'false'
                          dismissible: 'false'
                          informationType: NORMAL
                        - name: '2024-05-01'
                          property: verification.deductionAndAccommodation[0]
                          controlType: FIELD_GROUP
                          mandatory: 'false'
                          visible: 'true'
                          value: null
                          errorText: null
                          error: null
                          custom: 'false'
                          fields:
                            - name: null
                              property: verification.deduction[0].date
                              controlType: TEXT
                              mandatory: 'false'
                              visible: 'false'
                              value: '2024-05-01'
                              errorText: null
                              error: null
                              custom: 'false'
                            - name: Breakfast
                              property: verification.deduction[0].breakfast
                              controlType: LIST
                              mandatory: 'false'
                              visible: 'true'
                              value: NONE
                              errorText: null
                              error: null
                              custom: 'false'
                              url: >-
                                /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/categories/2227e3cff2ea431aaed7d4299c29b4b2/deductiontypes?type=breakfast
                              data:
                                iconUrl: null
                                id: NONE
                                name: None
                                section: null
                            - name: Lunch
                              property: verification.deduction[0].lunch
                              controlType: LIST
                              mandatory: 'false'
                              visible: 'true'
                              value: FOOD_IN_REPRESENTATION
                              errorText: null
                              error: null
                              custom: 'false'
                              url: >-
                                /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/categories/2227e3cff2ea431aaed7d4299c29b4b2/deductiontypes?type=lunch
                              data:
                                iconUrl: null
                                id: FOOD_IN_REPRESENTATION
                                name: Entertainment (offered/received)
                                section: null
                            - name: Dinner
                              property: verification.deduction[0].dinner
                              controlType: LIST
                              mandatory: 'false'
                              visible: 'true'
                              value: FOOD_BENEFITS
                              errorText: null
                              error: null
                              custom: 'false'
                              url: >-
                                /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/categories/2227e3cff2ea431aaed7d4299c29b4b2/deductiontypes?type=dinner
                              data:
                                iconUrl: null
                                id: FOOD_BENEFITS
                                name: Meal benefits
                                section: null
                            - name: Accommodation
                              property: verification.accommodation[0].accommodation
                              controlType: SWITCH
                              mandatory: 'false'
                              visible: 'true'
                              value: 'false'
                              errorText: null
                              error: null
                              custom: 'false'
                          commands: null
                        - name: '2024-05-02'
                          property: verification.deductionAndAccommodation[1]
                          controlType: FIELD_GROUP
                          mandatory: 'false'
                          visible: 'true'
                          value: null
                          errorText: null
                          error: null
                          custom: 'false'
                          fields:
                            - name: null
                              property: verification.deduction[1].date
                              controlType: TEXT
                              mandatory: 'false'
                              visible: 'false'
                              value: '2024-05-02'
                              errorText: null
                              error: null
                              custom: 'false'
                            - name: Breakfast
                              property: verification.deduction[1].breakfast
                              controlType: LIST
                              mandatory: 'false'
                              visible: 'true'
                              value: BREAKFAST_IN_HOTEL
                              errorText: null
                              error: null
                              custom: 'false'
                              url: >-
                                /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/categories/2227e3cff2ea431aaed7d4299c29b4b2/deductiontypes?type=breakfast
                              data:
                                iconUrl: null
                                id: BREAKFAST_IN_HOTEL
                                name: Included in accommodation
                                section: null
                            - name: Lunch
                              property: verification.deduction[1].lunch
                              controlType: LIST
                              mandatory: 'false'
                              visible: 'true'
                              value: FOOD_IN_TICKET
                              errorText: null
                              error: null
                              custom: 'false'
                              url: >-
                                /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/categories/2227e3cff2ea431aaed7d4299c29b4b2/deductiontypes?type=lunch
                              data:
                                iconUrl: null
                                id: FOOD_IN_TICKET
                                name: Included in ticket price
                                section: null
                            - name: Dinner
                              property: verification.deduction[1].dinner
                              controlType: LIST
                              mandatory: 'false'
                              visible: 'true'
                              value: NONE
                              errorText: null
                              error: null
                              custom: 'false'
                              url: >-
                                /me/organizations/8ab28c4e8db29412018dbc4d740f04f3/categories/2227e3cff2ea431aaed7d4299c29b4b2/deductiontypes?type=dinner
                              data:
                                iconUrl: null
                                id: NONE
                                name: None
                                section: null
                          commands: null
                      summary:
                        - type: property_value
                          value: '2024-05-01'
                          property: Day
                        - type: property_value
                          value: None
                          property: Breakfast
                        - type: property_value
                          value: Entertainment (offered/received)
                          property: Lunch
                        - type: property_value
                          value: Meal benefits
                          property: Dinner
                        - type: property_value
                          value: 'No'
                          property: Accommodation
                        - type: separator
                        - type: property_value
                          value: '2024-05-02'
                          property: Day
                        - type: property_value
                          value: Included in accommodation
                          property: Breakfast
                        - type: property_value
                          value: Included in ticket price
                          property: Lunch
                        - type: property_value
                          value: None
                          property: Dinner
                      commands: null
                  meta:
                    capabilities:
                      canBeAddedToReport: true
                      canBeDeleted: true
                      canBeEdited: true
                      canBeSentIn: false
                      canBeSplit: false
                      canBeMerged: false
                    summary:
                      - type: property_value
                        value: Dimesion User1
                        property: person
                      - type: property_value
                        value: SubsistenceAllowance
                        property: expenseType
                      - type: property_value
                        value: Per diem
                        property: expenseTypeDescription
                      - type: property_value
                        property: amount
                      - type: property_value
                        value: Normal
                        property: status
                  splits: null
              Subsistence allowance/Per diem (international):
                value:
                  fields:
                    - name: Id
                      property: id
                      controlType: TEXT
                      mandatory: false
                      visible: false
                      value: b1643482bb574c109cad51aa25562b10
                      errorText: null
                      error: null
                      custom: false
                    - name: null
                      property: version
                      controlType: INTEGER
                      mandatory: false
                      visible: false
                      value: 2
                      errorText: null
                      error: null
                      custom: false
                    - name: Category
                      property: categoryId
                      controlType: LIST
                      mandatory: false
                      visible: true
                      value: fad615ab023c4972a14877b2cd89efae
                      errorText: null
                      error: null
                      custom: false
                      requiresUpdate: true
                      scannable: true
                      url: >-
                        /me/organizations/8ab28c4e70f724f00170f75d14720032/expensetypes/SubsistenceAllowance/categories
                      data:
                        iconUrl: >-
                          https://expense.findity.com/api/resources/8a49a1b359cbfe2a0159d5637a4400d9
                        id: fad615ab023c4972a14877b2cd89efae
                        name: Utrikes
                        section: 4
                    - name: Expense report
                      property: expenseReportId
                      controlType: LIST
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      url: >-
                        /expensereports?statuses=NORMAL,NEW&organizationId=8ab28c4e70f724f00170f75d14720032
                    - name: Description
                      property: verification.description
                      controlType: TEXT
                      mandatory: false
                      visible: true
                      value: International Allowance
                      errorText: null
                      error: null
                      custom: false
                    - name: Travel route
                      property: verification.specifications
                      controlType: FIELD_GROUP
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      requiresUpdate: true
                      accessorIconUrl: >-
                        https://expense.findity.com/api/images/icons/more-horizontal.svg
                      accessorText: Travel route
                      fields:
                        - name: The journey began in home country
                          property: verification.specifications[0].date1
                          controlType: LOCAL_DATE_TIME
                          mandatory: false
                          visible: true
                          value: 2024-02-01 07:00
                          errorText: null
                          error: null
                          custom: false
                        - name: Aircraft departed or the country was left
                          property: verification.specifications[0].date2
                          controlType: LOCAL_DATE_TIME
                          mandatory: false
                          visible: true
                          value: 2024-02-01 09:00
                          errorText: null
                          error: null
                          custom: false
                        - name: null
                          property: verification.specifications[1]
                          controlType: FIELD_GROUP
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          requiresUpdate: true
                          fields:
                            - name: Destination
                              property: verification.specifications[1].destination
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: 2b9fb1ba630511e18824b0dd45bff075
                              errorText: null
                              error: null
                              custom: false
                              requiresUpdate: true
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/expensetypes/SubsistenceAllowance/destinations
                              data:
                                iconUrl: null
                                id: 2b9fb1ba630511e18824b0dd45bff075
                                name: Finland
                                section: null
                            - name: Arrival in destination country
                              property: verification.specifications[1].date1
                              controlType: LOCAL_DATE_TIME
                              mandatory: false
                              visible: true
                              value: 2024-02-01 15:00
                              errorText: null
                              error: null
                              custom: false
                            - name: Departure from the country of destination
                              property: verification.specifications[1].date2
                              controlType: LOCAL_DATE_TIME
                              mandatory: false
                              visible: true
                              value: 2024-02-04 17:00
                              errorText: null
                              error: null
                              custom: false
                          commands: null
                          deletable: true
                          deleteCommand:
                            command: action=removeStop&atIndex=1
                            confirmation: Are you sure you want to remove this stop?
                            confirmationRequired: true
                            text: Remove stop
                        - name: null
                          property: verification.specifications[2]
                          controlType: FIELD_GROUP
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          requiresUpdate: true
                          fields:
                            - name: Destination
                              property: verification.specifications[2].destination
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: null
                              errorText: null
                              error: null
                              custom: false
                              requiresUpdate: true
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/expensetypes/SubsistenceAllowance/destinations
                            - name: Arrival in destination country
                              property: verification.specifications[2].date1
                              controlType: LOCAL_DATE_TIME
                              mandatory: false
                              visible: true
                              value: null
                              errorText: null
                              error: null
                              custom: false
                            - name: Departure from the country of destination
                              property: verification.specifications[2].date2
                              controlType: LOCAL_DATE_TIME
                              mandatory: false
                              visible: true
                              value: null
                              errorText: null
                              error: null
                              custom: false
                          commands: null
                          deletable: true
                          deleteCommand:
                            command: action=removeStop&atIndex=2
                            confirmation: Are you sure you want to remove this stop?
                            confirmationRequired: true
                            text: Remove stop
                        - name: Add stop
                          property: verification.specifications.addStop
                          controlType: COMMAND
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          requiresUpdate: true
                          commands:
                            - command: action=addStop&afterIndex=2
                              confirmation: null
                              confirmationRequired: false
                              text: null
                        - name: Arrival in home country
                          property: verification.specifications[3].date1
                          controlType: LOCAL_DATE_TIME
                          mandatory: false
                          visible: true
                          value: 2024-02-04 18:59
                          errorText: null
                          error: null
                          custom: false
                        - name: The trip ended, office or home
                          property: verification.specifications[3].date2
                          controlType: LOCAL_DATE_TIME
                          mandatory: false
                          visible: true
                          value: 2024-02-04 21:00
                          errorText: null
                          error: null
                          custom: false
                      summary:
                        - type: property_value
                          value: 2024-02-01 07:00
                          property: The journey began in home country
                        - type: property_value
                          value: 2024-02-01 09:00
                          property: Aircraft departed or the country was left
                        - type: separator
                          value: null
                          property: null
                        - type: property_value
                          value: 2024-02-01 15:00
                          property: Arrival in destination country
                        - type: property_value
                          value: 2024-02-04 17:00
                          property: Departure from the country of destination
                        - type: property_value
                          value: Finland
                          property: Destination
                        - type: separator
                          value: null
                          property: null
                        - type: property_value
                          value: 2024-02-04 18:59
                          property: Arrival in home country
                        - type: property_value
                          value: 2024-02-04 21:00
                          property: The trip ended, office or home
                        - type: separator
                          value: null
                          property: null
                      commands:
                        - command: action=clearAllRoutes
                          confirmation: Are you sure you want to clear all routes?
                          confirmationRequired: true
                          text: Clear travel route
                        - command: null
                          confirmation: null
                          confirmationRequired: false
                          text: Edit travel route
                    - name: Food and accommodation
                      property: verification.deductionAndAccommodation
                      controlType: FIELD_GROUP
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      accessorIconUrl: >-
                        https://expense.findity.com/api/images/icons/more-horizontal.svg
                      accessorText: Food and accommodation
                      fields:
                        - name: Select the expenses that your company paid for
                          property: >-
                            verification.deductionAndAccommodation.informationLabel
                          controlType: INFORMATION
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          dismissible: false
                          informationType: NORMAL
                        - name: '2024-02-01'
                          property: verification.deductionAndAccommodation[0]
                          controlType: FIELD_GROUP
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          fields:
                            - name: Breakfast
                              property: verification.deduction[0].breakfast
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: PAID_YOURSELF
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=breakfast
                            - name: Lunch
                              property: verification.deduction[0].lunch
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: PAID_YOURSELF
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=lunch
                            - name: Dinner
                              property: verification.deduction[0].dinner
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: PAID_YOURSELF
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=dinner
                            - name: Accommodation
                              property: verification.accommodation[0].accommodation
                              controlType: SWITCH
                              mandatory: false
                              visible: true
                              value: true
                              errorText: null
                              error: null
                              custom: false
                          commands: null
                        - name: '2024-02-02'
                          property: verification.deductionAndAccommodation[1]
                          controlType: FIELD_GROUP
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          fields:
                            - name: Breakfast
                              property: verification.deduction[1].breakfast
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: PAID_YOURSELF
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=breakfast
                            - name: Lunch
                              property: verification.deduction[1].lunch
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: FOOD_IN_REPRESENTATION
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=lunch
                            - name: Dinner
                              property: verification.deduction[1].dinner
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: PAID_YOURSELF
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=dinner
                            - name: Accommodation
                              property: verification.accommodation[1].accommodation
                              controlType: SWITCH
                              mandatory: false
                              visible: true
                              value: true
                              errorText: null
                              error: null
                              custom: false
                          commands: null
                        - name: '2024-02-03'
                          property: verification.deductionAndAccommodation[2]
                          controlType: FIELD_GROUP
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          fields:
                            - name: Breakfast
                              property: verification.deduction[2].breakfast
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: BREAKFAST_IN_HOTEL
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=breakfast
                            - name: Lunch
                              property: verification.deduction[2].lunch
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: FOOD_IN_REPRESENTATION
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=lunch
                            - name: Dinner
                              property: verification.deduction[2].dinner
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: FOOD_BENEFITS
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=dinner
                            - name: Accommodation
                              property: verification.accommodation[2].accommodation
                              controlType: SWITCH
                              mandatory: false
                              visible: true
                              value: true
                              errorText: null
                              error: null
                              custom: false
                          commands: null
                        - name: '2024-02-04'
                          property: verification.deductionAndAccommodation[3]
                          controlType: FIELD_GROUP
                          mandatory: false
                          visible: true
                          value: null
                          errorText: null
                          error: null
                          custom: false
                          fields:
                            - name: Breakfast
                              property: verification.deduction[3].breakfast
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: FOOD_IN_TICKET
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=breakfast
                            - name: Lunch
                              property: verification.deduction[3].lunch
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: PAID_YOURSELF
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=lunch
                            - name: Dinner
                              property: verification.deduction[3].dinner
                              controlType: LIST
                              mandatory: false
                              visible: true
                              value: PAID_YOURSELF
                              errorText: null
                              error: null
                              custom: false
                              url: >-
                                /me/organizations/8ab28c4e70f724f00170f75d14720032/categories/fad615ab023c4972a14877b2cd89efae/deductiontypes?type=dinner
                          commands: null
                      summary:
                        - type: property_value
                          value: Paid myself
                          property: Breakfast
                        - type: property_value
                          value: Paid myself
                          property: Lunch
                        - type: property_value
                          value: Paid myself
                          property: Dinner
                        - type: property_value
                          value: 'Yes'
                          property: Accommodation
                        - type: separator
                          value: null
                          property: null
                        - type: property_value
                          value: Paid myself
                          property: Breakfast
                        - type: property_value
                          value: Entertainment (offered/received)
                          property: Lunch
                        - type: property_value
                          value: Paid myself
                          property: Dinner
                        - type: property_value
                          value: 'Yes'
                          property: Accommodation
                        - type: separator
                          value: null
                          property: null
                        - type: property_value
                          value: Included in accommodation
                          property: Breakfast
                        - type: property_value
                          value: Entertainment (offered/received)
                          property: Lunch
                        - type: property_value
                          value: Meal benefits
                          property: Dinner
                        - type: property_value
                          value: 'Yes'
                          property: Accommodation
                        - type: separator
                          value: null
                          property: null
                        - type: property_value
                          value: Included in ticket price
                          property: Breakfast
                        - type: property_value
                          value: Paid myself
                          property: Lunch
                        - type: property_value
                          value: Paid myself
                          property: Dinner
                        - type: property_value
                          value: 'Yes'
                          property: Accommodation
                        - type: separator
                          value: null
                          property: null
                      commands: null
                  meta:
                    capabilities:
                      canBeAddedToReport: true
                      canBeDeleted: true
                      canBeSentIn: false
                      canBeSplit: false
                      canBeMerged: false
                    summary:
                      - type: property_value
                        value: SubsistenceAllowance
                        property: expenseType
                      - type: property_value
                        value: Subsistence allowance
                        property: expenseTypeDescription
                      - type: property_value
                        value: null
                        property: amount
                      - type: property_value
                        value: Normal
                        property: status
                  splits: null
              Food benefits:
                value:
                  fields:
                    - name: Id
                      property: id
                      controlType: TEXT
                      mandatory: false
                      visible: false
                      value: 99601cd0f6ba438cb16ca17b8edf25a0
                      errorText: null
                      error: null
                      custom: false
                    - name: null
                      property: version
                      controlType: INTEGER
                      mandatory: false
                      visible: false
                      value: 2
                      errorText: null
                      error: null
                      custom: false
                    - name: null
                      property: rejectionComment
                      controlType: INFORMATION
                      mandatory: false
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      dismissible: false
                      informationType: ERROR
                    - name: null
                      property: status
                      controlType: TEXT
                      mandatory: false
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: false
                    - name: null
                      property: reportStatus
                      controlType: TEXT
                      mandatory: false
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: false
                    - name: null
                      property: reportId
                      controlType: TEXT
                      mandatory: false
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: false
                    - name: null
                      property: reportType
                      controlType: TEXT
                      mandatory: false
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: false
                    - name: Category
                      property: categoryId
                      controlType: TEXT
                      mandatory: true
                      visible: false
                      value: null
                      errorText: null
                      error: null
                      custom: false
                    - name: Date
                      property: verification.validDate
                      controlType: DATE
                      mandatory: true
                      visible: true
                      value: '2025-04-17T09:35:36Z'
                      errorText: null
                      error: null
                      custom: false
                      allowFutureDate: false
                    - name: Description
                      property: verification.description
                      controlType: TEXT
                      mandatory: false
                      visible: true
                      value: my fancy pancy description
                      errorText: null
                      error: null
                      custom: false
                    - name: null
                      property: verification.mealsGroup
                      controlType: FIELD_GROUP
                      mandatory: true
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      fields:
                        - name: Breakfast
                          property: verification.breakfast
                          controlType: SWITCH
                          mandatory: true
                          visible: true
                          value: true
                          errorText: null
                          error: null
                          custom: false
                        - name: Lunch
                          property: verification.lunch
                          controlType: SWITCH
                          mandatory: true
                          visible: true
                          value: true
                          errorText: null
                          error: null
                          custom: false
                        - name: Dinner
                          property: verification.dinner
                          controlType: SWITCH
                          mandatory: true
                          visible: true
                          value: true
                          errorText: null
                          error: null
                          custom: false
                      commands: null
                      clientCommand: null
                    - name: Expense report
                      property: expenseReportId
                      controlType: LIST
                      mandatory: false
                      visible: true
                      value: null
                      errorText: null
                      error: null
                      custom: false
                      url: >-
                        /expensereports?processStatus=DRAFT&excludeCorporateCards=true&organizationId=ff80818196431a4d0196431a906400a7
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpenseRecord'
              examples:
                Receipt verification:
                  value:
                    receiptVerification:
                      value:
                        organizationId: ff808181963de13701963de1789d00ad
                        version: 2
                        lastUpdated: '2025-04-16T09:15:09Z'
                        dateCreated: '2025-04-16T09:15:09Z'
                        processStatus: DRAFT
                        status: NORMAL
                        expenseDate: '2023-03-21T10:58:14Z'
                        personId: ff808181963de13701963de177e00083
                        id: 5ca0dfa6def943eab46d240d3680c323
                        reimbursementCurrency: SEK
                        categoryId: 9ed4618ae74e4f17b69005f699c104f3
                        verification:
                          amount: 230
                          purchaseDate: '2023-03-21T10:58:14Z'
                          attachments:
                            - name: attachments2
                              isTemporary: false
                              id: ff808181963e296501963e29ac6d00be
                              contentType: image/jpeg
                            - name: attachments1
                              isTemporary: false
                              id: ff808181963e296501963e29ac5e00bc
                              contentType: image/jpeg
                          customFields:
                            - fieldDefinitionId: 2b965c866b634698811dabf45a491089,
                              value: true
                            - fieldDefinitionId: 59ljgfau904t3qio3aw90up34gj9iog4,
                              value: string
                            - fieldDefinitionId: 904t3qio3aw90up34gj9iog45a491089,
                              value: 10
                          description: verification-description
                          type: ReceiptVerification
                          lastUpdated: '2025-04-16T09:15:09Z'
                          dateCreated: '2025-04-16T09:15:09Z'
                          paymentTypeId: ed0d98d4e3834714bbca45f889d4584b
                          exchangeRate: 1
                          verificationNumber: verification-number
                          comment: verification-comment
                          currency: SEK
                          taxAmount: 23
                          receiptAttachment:
                            name: file-name607803656
                            personId: ff808181963de13701963de177e00083
                            isTemporary: false
                            id: ff808181963de13701963de179b900b9
                            contentType: image/png
                    receiptVerification with representation including guest list:
                      value:
                        organizationId: ff808181963e1df601963e2657bf01ec
                        lastUpdated: '2025-04-16T10:30:22Z'
                        dateCreated: '2025-04-16T10:30:22Z'
                        processStatus: DRAFT
                        personId: ff808181963e1df601963e26577201c2
                        id: 043c3ef85bea4e118adabbba4c3d16bf
                        reimbursementCurrency: SEK
                        categoryId: e59971ac44b54f2480d449b0d84caee2
                        status: NORMAL
                        expenseDate: '2023-03-21T10:58:14Z'
                        verification:
                          amount: 230
                          purchaseDate: '2023-03-21T10:58:14Z'
                          attachments:
                            - name: attachments2
                              isTemporary: false
                              id: ff808181963e296501963e29ac6d00be
                              contentType: image/jpeg
                            - name: attachments1
                              isTemporary: false
                              id: ff808181963e296501963e29ac5e00bc
                              contentType: image/jpeg
                          customFields:
                            - fieldDefinitionId: 2b965c866b634698811dabf45a491089,
                              value: true
                          description: verification-description
                          type: ReceiptVerification
                          lastUpdated: '2025-04-16T10:30:22Z'
                          dateCreated: '2025-04-16T10:30:22Z'
                          paymentTypeId: 253b87a3555a4c9bb288338131d2d83b
                          exchangeRate: 1
                          verificationNumber: verification-number
                          comment: verification-comment
                          currency: SEK
                          taxAmount: 23
                          receiptAttachment:
                            name: file-name1011137852
                            personId: ff808181963e1df601963e26577201c2
                            isTemporary: false
                            id: ff808181963e1df601963e26582601f8
                            contentType: image/png
                          representation:
                            includesLiquor: false
                            numberOfExternalGuests: 1
                            guests: []
                            numberOfGuests: 1
                            type: LUNCH
                            guestListAttached: true
                            guestListAttachment:
                              name: file-name386996737
                              personId: ff808181963e1df601963e26577201c2
                              isTemporary: false
                              id: ff808181963e1df601963e26583101f9
                              contentType: application/pdf
                    receiptVerification with representation including attached guests:
                      value:
                        organizationId: ff808181963e1df601963e1f931f014b
                        lastUpdated: '2025-04-16T10:22:59Z'
                        dateCreated: '2025-04-16T10:22:59Z'
                        processStatus: DRAFT
                        personId: ff808181963e1df601963e1f92d30121
                        id: 7c50f82edb7747bdb84f038e535f1e7d
                        reimbursementCurrency: SEK
                        categoryId: ebde877306a94f66a9b0695c7c48a43d
                        status: NORMAL
                        expenseDate: '2023-03-21T10:58:14Z'
                        verification:
                          amount: 230
                          purchaseDate: '2023-03-21T10:58:14Z'
                          attachments:
                            - name: attachments2
                              isTemporary: false
                              id: ff808181963e296501963e29ac6d00be
                              contentType: image/jpeg
                            - name: attachments1
                              isTemporary: false
                              id: ff808181963e296501963e29ac5e00bc
                              contentType: image/jpeg
                          customFields:
                            - fieldDefinitionId: 058d2a973694413db017b9e340f15d2d
                              value: '2023-01-01T01:00:00Z'
                          description: verification-description
                          type: ReceiptVerification
                          lastUpdated: '2025-04-16T10:22:59Z'
                          dateCreated: '2025-04-16T10:22:59Z'
                          paymentTypeId: 1f4d4253c7c740c7ae055d840d25392a
                          exchangeRate: 1
                          verificationNumber: verification-number
                          comment: verification-comment
                          currency: SEK
                          taxAmount: 23
                          receiptAttachment:
                            name: file-name985238297
                            personId: ff808181963e1df601963e1f92d30121
                            isTemporary: false
                            id: ff808181963e1df601963e1f93810157
                            contentType: image/png
                          representation:
                            includesLiquor: false
                            numberOfExternalGuests: 1
                            type: LUNCH
                            guestListAttached: false
                            guests:
                              - name: Person 1
                                company: Company A
                              - name: Person 2
                                company: Company B
                Car specification:
                  value:
                    carSpecification:
                      value:
                        organizationId: ff808181963e39cc01963e3a14250058
                        lastUpdated: '2025-04-16T10:52:48Z'
                        dateCreated: '2025-04-16T10:52:48Z'
                        processStatus: DRAFT
                        personId: ff808181963e39cc01963e3a119f002d
                        id: 67c18882083149599859054bcebb4ca0
                        reimbursementCurrency: SEK
                        categoryId: ec15a0b27286484e8e211447ecbe7fe8
                        status: NORMAL
                        expenseDate: '2023-09-13T11:46:27Z'
                        verification:
                          carType: PRIVATE_CAR
                          travelDate: '2023-09-13T11:46:27Z'
                          manualDistance: false
                          id: 729b4232c8ae4b6b83536195d9941f95
                          roundTrip: false
                          distanceUnit: KM
                          passengers: []
                          distance: 218
                          customFields: []
                          destination: Ludvika, Sverige - Stockholm, Sverige
                          description: Trip to Stockholm
                          type: CarSpecification
                          route:
                            - latitude: '60.1523510'
                              place: Ludvika, Sverige
                              longitude: '15.1919879'
                            - latitude: '59.3293481'
                              place: Stockholm, Sverige
                              longitude: '18.0682306'
                          tripDetails:
                            distanceOnGravel: 2
                            tollCost: 8
                            distanceWithTrailer: 4
                            distanceWithCaravan: 5
                            distanceInTransport: 1
                            distanceWithHeavyCaravan: 6
                            distanceWithDog: 7
                            numberOfPassengers: 3
                    carSpecification with specified passengers:
                      value:
                        organizationId: ff808181963e3f9e01963e44171a0097
                        lastUpdated: '2025-04-16T11:02:52Z'
                        dateCreated: '2025-04-16T11:02:52Z'
                        processStatus: DRAFT
                        personId: ff808181963e3f9e01963e44168a006c
                        id: 3cf0cfc4788e48c8b4ce299b82067734
                        reimbursementCurrency: SEK
                        categoryId: 738a68711bc64a8192970833770a19ba
                        status: NORMAL
                        expenseDate: '2023-09-13T11:46:27Z'
                        verification:
                          roundTrip: false
                          distanceUnit: KM
                          distance: 218
                          customFields: []
                          destination: Ludvika, Sverige - Stockholm, Sverige
                          description: Trip to Stockholm
                          type: CarSpecification
                          carType: PRIVATE_CAR
                          travelDate: '2023-09-13T11:46:27Z'
                          manualDistance: false
                          id: 9731f3e27a35456aa57c08b9893fed72
                          passengers:
                            - distance: 1
                              name: Albert
                            - distance: 2
                              name: Herbert
                            - distance: 3
                              name: Kyle
                            - distance: 4
                              name: Stephen
                          tripDetails:
                            distanceOnGravel: 2
                            tollCost: 8
                            distanceWithTrailer: 4
                            distanceWithCaravan: 5
                            distanceInTransport: 1
                            distanceWithHeavyCaravan: 6
                            distanceWithDog: 7
                            numberOfPassengers: 4
                          route:
                            - latitude: '60.1523510'
                              place: Ludvika, Sverige
                              longitude: '15.1919879'
                            - latitude: '59.3293481'
                              place: Stockholm, Sverige
                              longitude: '18.0682306'
                    carSpecificication with two via points in route:
                      value:
                        organizationId: ff808181963e39cc01963e3c2b160097
                        lastUpdated: '2025-04-16T10:54:13Z'
                        dateCreated: '2025-04-16T10:54:13Z'
                        processStatus: DRAFT
                        personId: ff808181963e39cc01963e3c2a60006c
                        id: 9a02ca26160a4dc4aeaab94393d2c6b2
                        reimbursementCurrency: SEK
                        categoryId: b2da3f3b1d96474da014e52b4681c095
                        status: NORMAL
                        expenseDate: '2023-09-13T11:46:27Z'
                        verification:
                          carType: PRIVATE_CAR
                          travelDate: '2023-09-13T11:46:27Z'
                          manualDistance: false
                          id: e9ce2d1f8dd94439afe52cc56598e226
                          roundTrip: false
                          distanceUnit: KM
                          passengers: []
                          distance: 218
                          customFields: []
                          destination: >-
                            Ludvika, Sverige - Falun - Borlänge - Stockholm,
                            Sverige
                          description: Trip to Stockholm
                          type: CarSpecification
                          route:
                            - latitude: '60.1523510'
                              place: Ludvika, Sverige
                              longitude: '15.1919879'
                            - latitude: '60.609036'
                              place: Falun
                              longitude: '15.629638'
                            - latitude: '60.489796'
                              place: Borlänge
                              longitude: '15.434664'
                            - latitude: '59.3293481'
                              place: Stockholm, Sverige
                              longitude: '18.0682306'
                          tripDetails:
                            distanceOnGravel: 2
                            tollCost: 8
                            distanceWithTrailer: 4
                            distanceWithCaravan: 5
                            distanceInTransport: 1
                            distanceWithHeavyCaravan: 6
                            distanceWithDog: 7
                            numberOfPassengers: 3
                    carSpecification with related fleet Management trip ids:
                      value:
                        organizationId: ff808181963e39cc01963e3d7e2800d6
                        lastUpdated: '2025-04-16T10:55:39Z'
                        dateCreated: '2025-04-16T10:55:39Z'
                        processStatus: DRAFT
                        personId: ff808181963e39cc01963e3d7dcd00ab
                        id: c52b9574c3cb449dad73426239595b4e
                        reimbursementCurrency: SEK
                        categoryId: 36339feeacf240ea9ff6246196377d2e
                        status: NORMAL
                        expenseDate: '2023-09-13T11:46:27Z'
                        verification:
                          travelDate: '2023-09-13T11:46:27Z'
                          manualDistance: false
                          id: d8a8f61fda724003a0ca787a0601fdf1
                          roundTrip: false
                          distanceUnit: KM
                          passengers: []
                          distance: 218
                          customFields: []
                          destination: Ludvika, Sverige - Stockholm, Sverige
                          description: Trip to Stockholm
                          type: CarSpecification
                          route:
                            - latitude: '60.1523510'
                              place: Ludvika, Sverige
                              longitude: '15.1919879'
                            - latitude: '59.3293481'
                              place: Stockholm, Sverige
                              longitude: '18.0682306'
                          carType: PRIVATE_CAR
                          relatedTrips:
                            - fleetManagementTripId: '1'
                            - fleetManagementTripId: '2'
                          tripDetails:
                            distanceOnGravel: 2
                            tollCost: 8
                            distanceWithTrailer: 4
                            distanceWithCaravan: 5
                            distanceInTransport: 1
                            distanceWithHeavyCaravan: 6
                            distanceWithDog: 7
                            numberOfPassengers: 3
                    carSpecification with toll cost data:
                      value:
                        organizationId: ff808181963e3f9e01963e3fde980058
                        lastUpdated: '2025-04-16T10:58:16Z'
                        dateCreated: '2025-04-16T10:58:16Z'
                        processStatus: DRAFT
                        personId: ff808181963e3f9e01963e3fdcaf002d
                        id: 3ef21fc73036472abe2035f8ea88a5ad
                        reimbursementCurrency: SEK
                        categoryId: bfb827510c7041c1a08a820721e7a934
                        status: NORMAL
                        expenseDate: '2023-09-13T11:46:27Z'
                        verification:
                          id: 16df71386a5f4652a02509d1a83d1081
                          roundTrip: false
                          distanceUnit: KM
                          passengers: []
                          tollCostFuelType: HYBRID
                          distance: 218
                          customFields: []
                          destination: Ludvika, Sverige - Stockholm, Sverige
                          description: Trip to Stockholm
                          type: CarSpecification
                          carType: PRIVATE_CAR
                          travelDate: '2023-09-13T11:46:27Z'
                          manualDistance: false
                          route:
                            - latitude: '60.1523510'
                              place: Ludvika, Sverige
                              longitude: '15.1919879'
                            - latitude: '59.3293481'
                              place: Stockholm, Sverige
                              longitude: '18.0682306'
                          tollCostData:
                            price: 100
                            returnPrice: 200
                            type: bompeng
                          tripDetails:
                            distanceOnGravel: 2
                            tollCost: 8
                            distanceWithTrailer: 4
                            distanceWithCaravan: 5
                            distanceInTransport: 1
                            distanceWithHeavyCaravan: 6
                            distanceWithDog: 7
                            numberOfPassengers: 3
                Food benefits specification:
                  value:
                    FoodBenefitsSpecification:
                      value:
                        organizationId: ff808181963e4c0201963e4c467400a7
                        lastUpdated: '2025-04-16T11:11:58Z'
                        dateCreated: '2025-04-16T11:11:58Z'
                        processStatus: DRAFT
                        personId: ff808181963e4c0201963e4c45be007d
                        id: 40c4e461fca947beb70822be9346bffa
                        reimbursementCurrency: SEK
                        status: NORMAL
                        expenseDate: '2025-04-16T11:11:48Z'
                        verification:
                          lastUpdated: '2025-04-16T11:11:58Z'
                          lunch: true
                          dateCreated: '2025-04-16T11:11:58Z'
                          validDate: '2025-04-16T11:11:48Z'
                          description: my fancy pancy description
                          id: 163c78165abf45eab3d52a65b9113e6f
                          type: FoodBenefitsSpecification
                          breakfast: true
                          dinner: true
        '400':
          description: Error
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/FieldsResponse'
                  - $ref: '#/components/schemas/400Error'
              examples:
                Validation error (fields format):
                  value:
                    fields:
                      - name: Id
                        property: id
                        controlType: TEXT
                        mandatory: false
                        visible: false
                        value: null
                        errorText: null
                        error: null
                        custom: false
                      - name: Receipt
                        property: verification.receiptAttachment
                        controlType: CONTENT_HOLDER
                        mandatory: false
                        visible: true
                        value: null
                        errorText: null
                        error: null
                        custom: false
                      - name: Category
                        property: categoryId
                        controlType: LIST
                        mandatory: false
                        visible: true
                        value: null
                        errorText: null
                        error: null
                        custom: false
                        requiresUpdate: true
                        scannable: true
                        url: >-
                          /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/expensetypes/ReceiptVerification/categories
                      - name: Expense report
                        property: expenseReportId
                        controlType: LIST
                        mandatory: false
                        visible: true
                        value: null
                        errorText: null
                        error: null
                        custom: false
                        url: >-
                          /expensereports?statuses=NORMAL,NEW&organizationId=8ab28c4f6fd37d39016fd6fee0470003
                      - name: Description
                        property: verification.description
                        controlType: TEXT
                        mandatory: false
                        visible: true
                        value: Some description
                        errorText: null
                        error: null
                        custom: false
                      - name: Date of purchase
                        property: verification.purchaseDate
                        controlType: DATE
                        mandatory: false
                        visible: true
                        value: '2024-01-08T07:42:06Z'
                        errorText: null
                        error: null
                        custom: false
                        requiresUpdate: true
                        scannable: true
                        allowFutureDate: false
                      - name: Payment method
                        property: verification.paymentTypeId
                        controlType: LIST
                        mandatory: true
                        visible: true
                        value: 034e8c23fa0d43fb8c51ec9741a063c4
                        errorText: null
                        error: null
                        custom: false
                        url: >-
                          /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/paymenttypes
                        data:
                          iconUrl: null
                          id: 034e8c23fa0d43fb8c51ec9741a063c4
                          name: Kasirka
                          section: null
                      - name: Store
                        property: verification.storeName
                        controlType: TEXT
                        mandatory: false
                        visible: true
                        value: null
                        errorText: null
                        error: null
                        custom: false
                      - name: Amount incl. VAT
                        property: verification.amount
                        controlType: DOUBLE
                        mandatory: false
                        visible: true
                        value: 102.15
                        errorText: null
                        error: null
                        custom: false
                        scannable: true
                      - name: Tip
                        property: verification.tip
                        controlType: DOUBLE
                        mandatory: false
                        visible: false
                        value: null
                        errorText: null
                        error: null
                        custom: false
                      - name: VAT
                        property: verification.taxAmount
                        controlType: DOUBLE
                        mandatory: false
                        visible: true
                        value: 150
                        errorText: VAT cannot be greater than total amount or less than 0
                        error: EXPENSE_INVALID_VAT
                        custom: false
                        scannable: true
                      - name: Currency
                        property: verification.currency
                        controlType: LIST
                        mandatory: true
                        visible: true
                        value: SEK
                        errorText: null
                        error: null
                        custom: false
                        requiresUpdate: true
                        scannable: true
                        url: >-
                          /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/currencies
                        data:
                          iconUrl: null
                          id: SEK
                          name: Swedish Krona
                          section: null
                      - name: Exchange rate
                        property: verification.exchangeRate
                        controlType: DOUBLE
                        mandatory: false
                        visible: false
                        value: 1
                        errorText: null
                        error: null
                        custom: false
                      - name: Cost center
                        property: 8ab28c4e7337c2910173549217a30afb
                        controlType: LIST
                        mandatory: false
                        visible: true
                        value: CS_TEST
                        errorText: null
                        error: null
                        custom: true
                        url: >-
                          /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/lists/CUSTOM_DIMENSIONS_0ddeefef621049ee85ad921ab7f199a6_8ab28c4f6fd37d39016fd6fee0470003
                        data:
                          iconUrl: null
                          id: CS_TEST
                          name: Cost Center Test
                          section: null
                      - name: Life PI
                        property: 8ab28c4e7e4488d2017e488f5eb3037b
                        controlType: LIST
                        mandatory: false
                        visible: true
                        value: null
                        errorText: null
                        error: null
                        custom: true
                        url: >-
                          /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/lists/CUSTOM_DIMENSIONS_5cec3d801370455cae41c9e16d551f45_8ab28c4f6fd37d39016fd6fee0470003
                      - name: Project
                        property: 8ab28c4f7337c45f017354921a42469f
                        controlType: LIST
                        mandatory: false
                        visible: true
                        value: null
                        errorText: null
                        error: null
                        custom: true
                        url: >-
                          /me/organizations/8ab28c4f6fd37d39016fd6fee0470003/lists/CUSTOM_DIMENSIONS_2f60063da17241028d85e530a319efb1_8ab28c4f6fd37d39016fd6fee0470003
                      - name: Entertainment
                        property: verification.representation
                        controlType: FIELD_GROUP
                        mandatory: false
                        visible: false
                        value: null
                        errorText: null
                        error: null
                        custom: false
                        fields:
                          - name: Type
                            property: verification.representation.type
                            controlType: LIST
                            mandatory: false
                            visible: false
                            value: null
                            errorText: null
                            error: null
                            custom: false
                            requiresUpdate: true
                          - name: Included liquor/wine/strong beer
                            property: verification.representation.includesLiquor
                            controlType: SWITCH
                            mandatory: false
                            visible: false
                            value: null
                            errorText: null
                            error: null
                            custom: false
                          - name: Attach guest list
                            property: verification.representation.guestListAttached
                            controlType: SWITCH
                            mandatory: false
                            visible: false
                            value: false
                            errorText: null
                            error: null
                            custom: false
                            requiresUpdate: true
                          - name: Guests
                            property: verification.representation.guests
                            controlType: GUEST_LIST
                            mandatory: false
                            visible: false
                            value: []
                            errorText: null
                            error: null
                            custom: false
                          - name: Number of guests
                            property: verification.representation.numberOfGuests
                            controlType: INTEGER
                            mandatory: false
                            visible: false
                            value: null
                            errorText: null
                            error: null
                            custom: false
                          - name: Number of external guests
                            property: verification.representation.numberOfExternalGuests
                            controlType: INTEGER
                            mandatory: false
                            visible: false
                            value: null
                            errorText: null
                            error: null
                            custom: false
                          - name: Place
                            property: verification.representation.place
                            controlType: TEXT
                            mandatory: false
                            visible: false
                            value: null
                            errorText: null
                            error: null
                            custom: false
                          - name: Attached guest list
                            property: verification.representation.guestListAttachment
                            controlType: CONTENT_HOLDER
                            mandatory: true
                            visible: false
                            value: null
                            errorText: null
                            error: null
                            custom: false
                      - name: Comment
                        property: verification.comment
                        controlType: MULTI_LINE_TEXT
                        mandatory: false
                        visible: true
                        value: null
                        errorText: null
                        error: null
                        custom: false
                    meta:
                      capabilities: null
                      summary: null
                    splits: null
                Generic error:
                  value:
                    invalid json body:
                      value:
                        result: error
                        code: INVALID_JSON_BODY
                        description: Failed to parse json body
                    unknown properties:
                      value:
                        result: error
                        code: NO_KNOWN_JSON_PROPERTIES
                        description: No known, or only read-only properties received
                    not owner attachment:
                      value:
                        result: error
                        code: NOT_OWNER
                        description: >-
                          Person '1d39fd4131304667a644ab8e06782a90' not owner of
                          receipt attachment '9f30468cc64d42928a39750c21a77768'
                    invalid guest list:
                      value:
                        result: error
                        code: INVALID_GUEST_LIST
                        description: 'Invalid value: ''null'' for field: ''name'''
                    missing representation type:
                      value:
                        result: error
                        code: REPRESENTATION_MISSING_TYPE
                        description: Representation missing type, type was set to 'SNACKS'
                    invalid verification type:
                      value:
                        result: error
                        code: INVALID_JSON_PROPERTY_VALUE
                        description: >-
                          Missing or invalid type on verification, type was
                          'WrongType'
                    invalid custom field:
                      value:
                        result: error
                        code: INVALID_ID
                        description: >-
                          Invalid custom field definition id, was
                          'd2678c6e51a34a8f8a7d1470006e0667'
                    per diem category not available for user group:
                      description: >
                        Returned only when the organization uses employee
                        groups, the per diem category is restricted to an
                        employee group that the expense owner is not in, and the
                        category is being set or changed. Existing expenses keep
                        working if the user's group changes later.
                      value:
                        result: error
                        code: EMPLOYEE_GROUP_CATEGORY_NOT_AVAILABLE
                        description: >-
                          This per diem category is not available for your user
                          group.
components:
  parameters:
    expenseId:
      in: path
      name: expenseId
      required: true
      description: The id of the expense to retrieve
      schema:
        $ref: '#/components/schemas/Uuid'
      example: da35f675f40e47bcae2fff3c43a94c73
    formatFields:
      in: query
      name: format
      description: Info about the structure passed in the body of request
      required: true
      schema:
        type: string
        description: Parameter should be set to 'fields' value
      example: fields
    forceSave:
      in: query
      name: forceSave
      required: false
      description: >-
        When true, saves the report even if non-blocking validation warnings
        exist; validation errors still abort. Defaults to false.
      schema:
        type: boolean
  schemas:
    Uuid:
      type: string
      pattern: ^[0-9a-fA-F]{32}$
      description: UUID without dashes (32-character hex string)
    FieldsResponse:
      type: object
      description: Fields format of expense record
      properties:
        meta:
          type: object
          readOnly: true
          properties:
            summary:
              $ref: '#/components/schemas/MetaSummarySchema'
            capabilities:
              $ref: '#/components/schemas/Capabilities'
        fields:
          description: >-
            Field-builder array describing the editable properties of the
            resource. Each entry pairs a property name with a value and any
            errors.
          allOf:
            - $ref: '#/components/schemas/FieldsArray'
        validationErrors:
          description: >-
            Response-only. Server-populated array of validation errors that
            apply to the resource as a whole (not tied to a specific field).
          allOf:
            - $ref: '#/components/schemas/ValidationErrorArray'
            - readOnly: true
    ExpenseRecord:
      type: object
      description: ExpenseRecord format
      properties:
        id:
          type: string
          readOnly: true
        status:
          type: string
          enum:
            - NEW
            - NORMAL
            - APPROVAL
            - APPROVED
            - REJECTED
          readOnly: true
        personId:
          $ref: '#/components/schemas/Uuid'
          readOnly: true
        dateCreated:
          type: string
          readOnly: true
        lastUpdated:
          type: string
          readOnly: true
        version:
          type: integer
          format: int64
          description: >-
            Optimistic-lock counter, incremented on every update. On PUT, echo
            back the value from the last GET/PUT response to detect if the
            expense was changed by someone else since it was read; a mismatch
            returns 409. Optional; omit to skip this check.
        expenseDate:
          type: string
          readOnly: true
          description: >-
            Date that the user has selected for the expense. For receipt
            expenses it is purchase date. For mileages it is travel date and for
            per diems it is the first travel date.
        organizationId:
          $ref: '#/components/schemas/Uuid'
        categoryId:
          $ref: '#/components/schemas/Uuid'
        rejectComment:
          type: string
          readOnly: true
        reimbursement:
          type: number
          readOnly: true
        reimbursementCurrency:
          type: string
          readOnly: true
        meta:
          type: object
          readOnly: true
          properties:
            categoryIconUrl:
              type: string
              example: >-
                https://expense.findity.com/api/resources/8a5f867e9b204742a8cc2ca2b6c57358
            person:
              type: object
              properties:
                firstName:
                  type: string
                  example: Anna
                lastName:
                  type: string
                  example: Andersson
                email:
                  type: string
                  example: anna.andersson@example.com
            abbreviation:
              oneOf:
                - $ref: '#/components/schemas/ReceiptVerificationAbbreviation'
                - $ref: '#/components/schemas/CarSpecificationAbbreviation'
                - $ref: '#/components/schemas/SubsistenceAllowanceAbbreviation'
                - $ref: '#/components/schemas/FoodBenefitsSpecificationAbbreviation'
              discriminator:
                propertyName: expenseType
            capabilities:
              $ref: '#/components/schemas/Capabilities'
            cardTransaction:
              $ref: '#/components/schemas/CardTransactionMeta'
        verification:
          description: >-
            The expense-type-specific payload — receipt details, mileage
            details, per-diem details, or food-benefit details. Shape selected
            by the nested `type` discriminator.
          oneOf:
            - $ref: '#/components/schemas/ReceiptVerification'
            - $ref: '#/components/schemas/CarSpecification'
            - $ref: '#/components/schemas/SubsistenceAllowance'
            - $ref: '#/components/schemas/FoodBenefitsSpecification'
          discriminator:
            propertyName: type
        expenseReportId:
          $ref: '#/components/schemas/Uuid'
    400Error:
      type: object
      properties:
        result:
          type: string
        code:
          type: string
        description:
          type: string
    MetaSummarySchema:
      type: array
      description: Contains summarised information about report
      items:
        type: object
        properties:
          property:
            type: string
            description: Name of property
          type:
            type: string
            description: >-
              One of the following types will be provided [property_type,
              header, separator, image]
          value:
            type: string
            description: Value assigned to the property
    Capabilities:
      type: object
      properties:
        canBeAddedToReport:
          type: boolean
          description: Indicates if the expense record can be added to a report
          example: false
        canBeRemovedFromReport:
          type: boolean
          description: Indicates if the expense record can be removed from a report
          example: false
        canBeDeleted:
          type: boolean
          description: Indicates if the expense record can be deleted
          example: true
        canBeSentIn:
          type: boolean
          example: true
          description: true if the expense record can be sent in directly without report
        canBeSplit:
          type: boolean
          description: Indicates if the expense record can be split
          example: false
        canBeEdited:
          type: boolean
          description: Indicates if the expense record can be edited
          example: true
        canBeMerged:
          type: boolean
          description: >-
            Indicates if the expense record can be merged with another expense
            record. Will only be true for expense records that are based on card
            transaction, has not been split and is editable by end user.
          example: false
        canAddBreakfast:
          type: boolean
          description: >-
            ONLY PART OF FoodBenefitsSpecifications! Indicates if breakfast is
            available for meal benefits.
          example: false
        canAddLunch:
          type: boolean
          description: >-
            ONLY PART OF FoodBenefitsSpecifications! Indicates if lunch is
            available for meal benefits.
          example: false
        canAddDinner:
          type: boolean
          description: >-
            ONLY PART OF FoodBenefitsSpecifications! Indicates if dinner is
            available for meal benefits.
          example: false
    FieldsArray:
      type: array
      items:
        type: object
        properties:
          name:
            type: string
            description: >-
              A translated name of the field, can be used to present to to the
              user
          property:
            type: string
            description: >
              Identifier of the field. Contains the path to the property in the
              expense API, for example verification.amount, cardLiability.
              Expense record and expense report fields include a hidden
              (`visible: false`) `version` field (controlType INTEGER) holding
              the optimistic-lock version of the stored object (`null` for a new
              object). Send it back unchanged in the fields of the update
              request; if the object has been modified since it was read, the
              update is rejected with 409 CONCURRENT_MODIFICATION.
          controlType:
            type: string
            enum:
              - TEXT
              - MULTI_LINE_TEXT
              - DOUBLE
              - INTEGER
              - SWITCH
              - DATE
              - DATE_TIME
              - LIST
              - CONTENT_HOLDER
              - GUEST_LIST
              - FIELD_GROUP
              - LOCAL_DATE_TIME
              - INFORMATION
          mandatory:
            type: boolean
            description: The field is required
          visible:
            type: boolean
            description: Only fields with visible = true should be shown
          requiresUpdate:
            type: boolean
            description: >-
              Tells the client that if this field is changed, the client must
              call the API again with the fields data
          url:
            type: string
            description: >-
              If controlType is LIST this property contains an url to the
              selectable values for this field
          custom:
            type: boolean
            description: >-
              Indicates if this is a custom field not part of the standard
              fields
          scannable:
            type: boolean
            description: >-
              Indicates if this field is part of the data extracted by the
              receipt scanning
          qrCodeSupported:
            type: boolean
            description: >
              Set on the `verification.receiptAttachment` (CONTENT_HOLDER) field
              when the organization's booking country uses fiscal QR codes on
              receipts (currently Portugal). When `true`, clients should offer a
              QR-scan step in the receipt capture flow and, on success, send the
              decoded string as the `qrScan` header on `POST /content`. Absent
              when not applicable.
          value:
            type: object
            description: >-
              The value of the field, this is dynamic based on the control type.
              For example if the control type is DOUBLE the value property must
              have a double type. For SubsistenceAllowance and property =
              verification.specification[x].date1 or date2, this value is
              set/delivered in format "yyyy-MM-dd HH:mm" where the date is at
              UTC date time
          data:
            type: object
            description: >-
              When calling the fields-endpoint initially, this may contain a
              list object for fields with control type LIST. This way the client
              does not have to make a call to the list endpoint to fetch the
              value. This has the same structure as the result in the list.
            properties:
              id:
                type: string
                description: Represents the id of the value that is set in this Field
              name:
                type: string
                description: Representable text for chosen list item for set id
              section:
                type: integer
              iconUrl:
                type: string
          allowFutureDate:
            type: boolean
            description: >-
              If controlType is DATE or DATE_TIME or LOCAL_DATE_TIME, this
              property is set. Default value is false. If the value is false,
              then date picker shouldn't allow setting date to value higher than
              today's date.
          error:
            type: string
            description: >-
              A string that represents the error. This property is not empty
              when there is some error related to the specific field.
          errorText:
            type: string
            description: >-
              Human readable description of value returned in error property.
              This property is not empty when there is some error related to the
              specific field.
          disabled:
            type: boolean
            description: >-
              Indicates if property should be enabled or disabled for editing.
              In Approval flow, this property is always set to "true".
          fields:
            type: array
            description: >-
              This property is populated when controlType="FIELD_GROUP" and it
              has the same structure as this array of objects. The list of
              objects represents all fields that are related to the specific
              field group.
          deletable:
            type: boolean
            description: >-
              This property is used for removable fields, for example on the
              FIELD_GROUP for a specification in allowance
          deleteCommand:
            allOf:
              - $ref: '#/components/schemas/FieldsCommandSchema'
          informationType:
            type: string
            enum:
              - normal
              - information
              - warning
              - error
              - success
            description: >-
              This property is set when controlType=INFORMATION and it should
              indicate which type of information the field is
          dismissible:
            type: boolean
            description: >-
              This property is set when controlType=INFORMATION to indicate if
              the information is dismissible or not
          multiSelect:
            type: boolean
            description: >-
              This property is going in combination with controlType=LIST to
              indicate that multiple values can be selected from the list
          listItemType:
            type: string
            description: >-
              This property is set when there is controlType=LIST &
              multiSelect=true to indicate which type of item is list made of
          accessorIconUrl:
            type: string
            description: >-
              This property is set by the URL value for the icon which can
              indicate access to different provided commands. It is usually
              provided within the field of controlType=FIELD_GROUP
          accessorText:
            type: string
            description: >-
              This property represents the text that can be set as replacement
              for all the fields behind the defined FIELD_GROUP. It can be used
              as display for accessor to the list of the fields provided in the
              FIELD_GORUP
          numberOfDecimals:
            type: integer
            description: >-
              The maximum number of decimals this field can present, uses
              current currency. only set for fields with an amount in value.
          summary:
            allOf:
              - $ref: '#/components/schemas/MetaSummarySchema'
          commands:
            type: array
            description: >-
              This property contains the list of possible commands that can be
              performed on the specific field
            items:
              allOf:
                - $ref: '#/components/schemas/FieldsCommandSchema'
    ValidationErrorArray:
      type: array
      description: >-
        the list of errors occurred during the saving or sending the expense
        instance (record or report)
      items:
        type: object
        properties:
          errorMessage:
            type: string
            description: description provided for errorCode
          errorCode:
            type: string
            description: textual code of error
          checkType:
            type: string
            enum:
              - BLOCKER
              - ERROR
              - WARNING
            description: >-
              BLOCKER indicates that expense instance cannot be sent unless the
              issue is corrected, ERROR indicates issue with storing/saving
              expense instances, WARNING indicates there is an issue with the
              expense instance but it allows to user to send the expense
              instance
    ReceiptVerificationAbbreviation:
      type: object
      properties:
        iconUrl:
          type: string
          example: >-
            https://expense.findity.com/api/resources/ba479b6fe32f4d5e87e6dda1e02e850b
        dateDescription:
          type: string
          example: June 2, 2023
          description: Date formatted according to users locale
        sortDescription:
          type: string
          example: June 1, 2023
          description: Description of the value used for sorting
        userDescription:
          type: string
          example: Pens and erasers
        expenseDescription:
          type: string
          example: Office supplies
          description: Description which contains the name of category
        reimbursementDescription:
          type: string
          example: 44.5 SEK
          description: >-
            Reimbursement amount and currency formatted according to users
            locale
        totalReimbursementDescription:
          type: string
          example: 44.5 SEK
          description: >-
            Total reimbursement amount and currency formatted according to users
            locale, only included if requesting meta.splits and the expense is
            the parent
        alert:
          type: boolean
          description: >-
            If the report is rejected or contains expenses that has validation
            errors
        isComplete:
          type: boolean
          description: >-
            If the expense is complete and ready to be sent, can contain
            warnings.
        expenseType:
          type: string
          example: ReceiptVerification
        expenseTypeDescription:
          type: string
          description: description of expenseType property translated to the users language
    CarSpecificationAbbreviation:
      type: object
      properties:
        iconUrl:
          type: string
          example: >-
            https://expense.findity.com/api/resources/ba479b6fe32f4d5e87e6dda1e02e850b
        dateDescription:
          type: string
          example: June 2, 2023
          description: Date formatted according to users locale
        sortDescription:
          type: string
          example: June 1, 2023
          description: Description of the value used for sorting
        userDescription:
          type: string
          example: Trip to Ludvika
        expenseDescription:
          type: string
          example: Mileage - 273.0 km
          description: Description which contains the name of category
        alert:
          type: boolean
          description: >-
            If the report is rejected or contains expenses that has validation
            errors
        isComplete:
          type: boolean
          description: >-
            If the expense is complete and ready to be sent, can contain
            warnings.
        expenseType:
          type: string
          example: CarSpecification
        expenseTypeDescription:
          type: string
          description: >-
            description of expenseType property translated in the specific
            language
    SubsistenceAllowanceAbbreviation:
      type: object
      properties:
        iconUrl:
          type: string
          example: >-
            https://expense.findity.com/api/resources/ba479b6fe32f4d5e87e6dda1e02e850b
        dateDescription:
          type: string
          example: June 2, 2023
          description: Date formatted according to users locale
        sortDescription:
          type: string
          example: June 1, 2023
          description: Description of the value used for sorting
        userDescription:
          type: string
          example: Trip to Stockholm
        expenseDescription:
          type: string
          example: Domestic Subsistence Allowance
          description: Description which contains the name of category
        alert:
          type: boolean
          description: >-
            If the report is rejected or contains expenses that has validation
            errors
        isComplete:
          type: boolean
          description: >-
            If the expense is complete and ready to be sent, can contain
            warnings.
        expenseType:
          type: string
          example: SubsistenceAllowance
        expenseTypeDescription:
          type: string
          description: description of expenseType property translated to the users language
    FoodBenefitsSpecificationAbbreviation:
      type: object
      properties:
        iconUrl:
          type: string
          example: >-
            https://expense.findity.com/api/resources/ba479b6fe32f4d5e87e6dda1e02e850b
        dateDescription:
          type: string
          example: June 2, 2023
          description: Date formatted according to users locale
        sortDescription:
          type: string
          example: June 1, 2023
          description: Description of the value used for sorting
        userDescription:
          type: string
          example: Food benefit
        expenseDescription:
          type: string
          example: Food Benefits Specification
          description: Description which contains the name of category
        alert:
          type: boolean
          description: >-
            If the report is rejected or contains expenses that has validation
            errors
        isComplete:
          type: boolean
          description: >-
            If the expense is complete and ready to be sent, can contain
            warnings.
        expenseType:
          type: string
          example: FoodBenefitsSpecification
        expenseTypeDescription:
          type: string
          description: description of expenseType property translated to the users language
    CardTransactionMeta:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/Uuid'
          example: 4a17f93476ce4bf2832236be26743853
        amount:
          type: number
          format: double
          example: 120
        name:
          type: string
          example: Bank name
        cardNumber:
          type: string
          example: xxxxxxxxxxxx1234
    ReceiptVerification:
      allOf:
        - $ref: '#/components/schemas/Voucher'
        - type: object
          properties:
            type:
              type: string
              enum:
                - ReceiptVerification
            amount:
              type: number
            taxAmount:
              type: number
            tip:
              type: number
              format: double
              minimum: 0
              description: >
                The tip amount for the receipt, expressed as a non-negative
                decimal number in the receipt's currency. This is the canonical
                location for tip. For backwards compatibility the value is also
                mirrored on the deprecated `representation.tip` property.
            exchangeRate:
              type: number
            currency:
              type: string
            description:
              type: string
            purchaseDate:
              type: string
              format: date-time
            dateCreated:
              type: string
            lastUpdated:
              type: string
            storeName:
              type: string
            verificationNumber:
              type: string
            paymentTypeId:
              type: string
            cardTransactionId:
              type: string
            eventType:
              type: string
              enum:
                - AUTHORIZATION_ACCEPTED
                - AUTHORIZATION_REJECTED
                - AUTHORIZATION_REVERSAL
                - CAPTURE
                - REFUND
            receiptAttachment:
              $ref: '#/components/schemas/Content'
            representation:
              $ref: '#/components/schemas/Representation'
            attachments:
              type: array
              items:
                $ref: '#/components/schemas/Content'
            customFields:
              $ref: '#/components/schemas/ArrayOfCustomFields'
            taxRates:
              $ref: '#/components/schemas/ArrayOfTaxRates'
    CarSpecification:
      allOf:
        - $ref: '#/components/schemas/BusinessTrip'
        - type: object
          properties:
            carType:
              $ref: '#/components/schemas/CarTypeEnum'
            destination:
              type: string
              readOnly: true
            manualDistance:
              type: boolean
            tripDetails:
              type: object
              properties:
                distanceInTransport:
                  type: number
                distanceOnGravel:
                  type: number
                numberOfPassengers:
                  type: integer
                distanceWithTrailer:
                  type: number
                distanceWithCaravan:
                  type: number
                distanceWithHeavyCaravan:
                  type: number
                distanceWithDog:
                  type: number
                tollCost:
                  type: number
            relatedTrips:
              type: array
              items:
                type: object
                properties:
                  fleetManagementTripId:
                    $ref: '#/components/schemas/Uuid'
            tollCostFuelType:
              type: string
              enum:
                - PETROL
                - DIESEL
                - ELECTRIC
                - HYBRID
                - HYDROGEN
            tollCostData:
              type: object
              properties:
                returnDiscountedPrice:
                  type: number
                discountedPrice:
                  type: number
                price:
                  type: number
                returnPrice:
                  type: number
            passengers:
              type: array
              items:
                $ref: '#/components/schemas/Passenger'
            attachments:
              type: array
              items:
                $ref: '#/components/schemas/Content'
    SubsistenceAllowance:
      allOf:
        - $ref: '#/components/schemas/Voucher'
        - type: object
          properties:
            type:
              type: string
              enum:
                - SubsistenceAllowance
            amount:
              type: number
            taxAmount:
              type: number
            tip:
              type: number
            exchangeRate:
              type: number
            currency:
              type: string
            description:
              type: string
            purchaseDate:
              type: string
              format: date-time
            dateCreated:
              type: string
            lastUpdated:
              type: string
            storeName:
              type: string
            verificationNumber:
              type: string
            paymentTypeId:
              type: string
            cardTransactionId:
              type: string
            eventType:
              type: string
              enum:
                - AUTHORIZATION_ACCEPTED
                - AUTHORIZATION_REJECTED
                - AUTHORIZATION_REVERSAL
                - CAPTURE
                - REFUND
            receiptAttachment:
              $ref: '#/components/schemas/Content'
            representation:
              $ref: '#/components/schemas/Representation'
            attachments:
              type: array
              items:
                $ref: '#/components/schemas/Content'
            customFields:
              $ref: '#/components/schemas/ArrayOfCustomFields'
    FoodBenefitsSpecification:
      allOf:
        - $ref: '#/components/schemas/Voucher'
        - type: object
          properties:
            type:
              type: string
              enum:
                - FoodBenefitsSpecification
            description:
              type: string
            breakfast:
              type: boolean
            lunch:
              type: boolean
            dinner:
              type: boolean
            customFields:
              $ref: '#/components/schemas/ArrayOfCustomFields'
    FieldsCommandSchema:
      type: object
      description: >-
        This property is used to define the command available on the filed of
        controlType=FIELD_GROUP
      properties:
        text:
          type: string
          description: This property contains the text for the command to be displayed
        confirmationRequired:
          type: boolean
          description: >-
            This property indicates if the client should display a dialog with
            confirmation as result of it
        confirmation:
          type: string
          description: >-
            This property contains the text that should be displayed in case
            that confirmationRequired=true and client decided to perform the
            command/action
        command:
          type: string
          description: >-
            This property contains the command that can be executed by
            performing the PUT request with it on the fields endpoint
    Voucher:
      allOf:
        - $ref: '#/components/schemas/Document'
        - type: object
          properties:
            reimbursement:
              type: number
            comment:
              type: string
    Content:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/Uuid'
        personId:
          $ref: '#/components/schemas/Uuid'
        contentType:
          type: string
        isTemporary:
          type: boolean
        signatureType:
          type: string
          enum:
            - EU
        signatureUrl:
          type: string
        name:
          type: string
        description:
          type: string
        qrScan:
          type: string
          description: >-
            Decoded fiscal QR string as sent in the `qrScan` request header on
            POST. Omitted when the resource has no QR data attached. Currently
            populated for Portuguese receipts.
        scanResult:
          type: object
          readOnly: true
          properties:
            id:
              $ref: '#/components/schemas/Uuid'
            amount:
              type: number
              format: double
            taxAmount:
              type: number
              format: double
            currency:
              type: string
            purchaseDate:
              type: string
            categoryIds:
              type: array
              items:
                $ref: '#/components/schemas/Uuid'
            categoryId:
              $ref: '#/components/schemas/Uuid'
      example:
        id: 62bfaa54dc9341819cd6f4ff4ae39f44
        personId: 063ee3c7fa4b4728b418097299447f9d
        contentType: application/pdf
        isTemporary: true
        signatureType: null
        signatureUrl: null
        name: receipt-photo.jpg
        description: Receipt photo
        qrScan: >-
          A:514482621*B:501878076*C:PT*D:FR*E:N*F:20260508*G:111
          26A/154*H:J6Z9V4MR-154*I1:PT-MA*I7:68.50*I8:15.76*N:15.76*O:84.26*Q:T4Fn*R:116
        scanResult:
          id: a185160800524ac68cbf0a18ad59649b
          amount: 135
          taxAmount: 23
          currency: SEK
          purchaseDate: '2023-04-20'
          categoryIds:
            - 575ba2572de74f38b947a07df93a2909
            - 350dadb020694421aebc1d9473fa64a9
          categoryId: 575ba2572de74f38b947a07df93a2909
    Representation:
      type: object
      properties:
        type:
          type: string
        guestListAttached:
          type: boolean
          default: false
        includesLiquor:
          type: boolean
          default: false
        numberOfGuests:
          type: integer
        numberOfExternalGuests:
          type: integer
        place:
          type: string
        tip:
          type: number
          format: double
          minimum: 0
          deprecated: true
          description: >
            Deprecated. Tip is now a root receipt verification property (`tip`).
            A non-negative decimal number in the receipt's currency. This
            property is kept for backwards compatibility and mirrors the root
            value.
        guestListAttachment:
          $ref: '#/components/schemas/Content'
        guests:
          type: array
          items:
            $ref: '#/components/schemas/Guest'
    ArrayOfCustomFields:
      type: array
      items:
        type: object
        properties:
          fieldDefinitionId:
            $ref: '#/components/schemas/Uuid'
          value:
            $ref: '#/components/schemas/AnyValue'
    ArrayOfTaxRates:
      type: array
      items:
        type: object
        properties:
          taxRateId:
            $ref: '#/components/schemas/Uuid'
          rate:
            type: number
            format: double
          taxAmount:
            type: number
            format: double
    BusinessTrip:
      allOf:
        - $ref: '#/components/schemas/Voucher'
        - type: object
          properties:
            type:
              type: string
              enum:
                - CarSpecification
            distance:
              type: number
            distanceUnit:
              type: string
              enum:
                - KM
                - MILES
              readOnly: true
            travelDate:
              type: string
              format: date-time
            description:
              type: string
            roundTrip:
              type: boolean
            route:
              type: array
              items:
                $ref: '#/components/schemas/PlaceWithCoords'
            customFields:
              $ref: '#/components/schemas/ArrayOfCustomFields'
    CarTypeEnum:
      type: string
      enum:
        - PRIVATE_CAR
        - COMPANY_CAR
        - COMPANY_CAR_DIESEL
        - COMPANY_CAR_OTHER
        - COMPANY_CAR_ELECTRICITY
        - COMPANY_CAR_ELECTRICITY_HOME
        - COMPANY_CAR_ELECTRICITY_PUBLIC
        - COMPANY_CAR_LTE_1400CC_PETROL
        - COMPANY_CAR_LTE_1400CC_LPG
        - COMPANY_CAR_LTE_1600CC_DIESEL
        - COMPANY_CAR_1401_2000CC_PETROL
        - COMPANY_CAR_1401_2000CC_LPG
        - COMPANY_CAR_1601_2000CC_DIESEL
        - COMPANY_CAR_GT_2000CC_PETROL
        - COMPANY_CAR_GT_2000CC_LPG
        - COMPANY_CAR_GT_2000CC_DIESEL
        - MOTOR_CYCLE
        - MOTOR_CYCLE_GT_125CC
        - MOTOR_CYCLE_LTE_125CC
        - MOPED
        - ALL_TERRAIN_VEHICLE
        - SNOW_MOBILE
        - BOAT_WITH_ENGINE
        - BOAT_WITH_ENGINE_GT_50HK
        - BOAT_WITH_ENGINE_LTE_50HK
        - PRIVATE_CAR_OR_MOTOR_CYCLE
        - PRIVATE_CYCLE_OR_MOPED
        - OTHER_VEHICLE
        - MOPED_OR_SCOOTER
        - CYCLE_OR_WALKING
        - PUBLIC_TRANSPORTATION
        - PRIVATE_CAR_3HP_LESS
        - PRIVATE_CAR_4HP
        - PRIVATE_CAR_5HP
        - PRIVATE_CAR_6HP
        - PRIVATE_CAR_7HP_MORE
        - MOTOR_CYCLE_1_2HP
        - MOTOR_CYCLE_3_5HP
        - MOTOR_CYCLE_5HP_MORE
        - PRIVATE_CAR_COMMUTER_HOME
    Passenger:
      type: object
      properties:
        name:
          type: string
        distance:
          type: number
          format: double
    Document:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/Uuid'
          readOnly: true
    Guest:
      type: object
      properties:
        name:
          type: string
        company:
          type: string
    AnyValue:
      description: 'Can be: string, number, integer, date, boolean'
    PlaceWithCoords:
      type: object
      properties:
        place:
          type: string
          example: Ludvika, Sverige
        latitude:
          type: string
          example: '60.1523510'
        longitude:
          type: string
          example: '15.1919879'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````