Update expense (fields format of expense record)
Do you want to update an expense using the fields endpoint structure, use this endpoint.
curl --request PUT \
--url 'https://stage-api.findity.com/api/v1/expense/expenses/{expenseId}?format=fields' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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"
}
]
}
]
}
'{
"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"
}
]
}
}
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The id of the expense to retrieve UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$Query Parameters
Info about the structure passed in the body of request Parameter should be set to 'fields' value
When true, saves the report even if non-blocking validation warnings exist; validation errors still abort. Defaults to false.
The id of the organization UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$The expense type of the expense
CarSpecification, FoodBenefitsSpecification, ReceiptVerification, SubsistenceAllowance Body
Fields format of expense record
Field-builder array describing the editable properties of the resource. Each entry pairs a property name with a value and any errors.
Hide child attributes
Hide child attributes
A translated name of the field, can be used to present to to the user
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.
TEXT, MULTI_LINE_TEXT, DOUBLE, INTEGER, SWITCH, DATE, DATE_TIME, LIST, CONTENT_HOLDER, GUEST_LIST, FIELD_GROUP, LOCAL_DATE_TIME, INFORMATION The field is required
Only fields with visible = true should be shown
Tells the client that if this field is changed, the client must call the API again with the fields data
If controlType is LIST this property contains an url to the selectable values for this field
Indicates if this is a custom field not part of the standard fields
Indicates if this field is part of the data extracted by the receipt scanning
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.
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
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.
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.
A string that represents the error. This property is not empty when there is some error related to the specific field.
Human readable description of value returned in error property. This property is not empty when there is some error related to the specific field.
Indicates if property should be enabled or disabled for editing. In Approval flow, this property is always set to "true".
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.
This property is used for removable fields, for example on the FIELD_GROUP for a specification in allowance
This property is used to define the command available on the filed of controlType=FIELD_GROUP
Hide child attributes
Hide child attributes
This property contains the text for the command to be displayed
This property indicates if the client should display a dialog with confirmation as result of it
This property contains the text that should be displayed in case that confirmationRequired=true and client decided to perform the command/action
This property contains the command that can be executed by performing the PUT request with it on the fields endpoint
This property is set when controlType=INFORMATION and it should indicate which type of information the field is
normal, information, warning, error, success This property is set when controlType=INFORMATION to indicate if the information is dismissible or not
This property is going in combination with controlType=LIST to indicate that multiple values can be selected from the list
This property is set when there is controlType=LIST & multiSelect=true to indicate which type of item is list made of
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
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
The maximum number of decimals this field can present, uses current currency. only set for fields with an amount in value.
This property contains the list of possible commands that can be performed on the specific field
Hide child attributes
Hide child attributes
This property contains the text for the command to be displayed
This property indicates if the client should display a dialog with confirmation as result of it
This property contains the text that should be displayed in case that confirmationRequired=true and client decided to perform the command/action
This property contains the command that can be executed by performing the PUT request with it on the fields endpoint
Response-only. Server-populated array of validation errors that apply to the resource as a whole (not tied to a specific field).
Hide child attributes
Hide child attributes
description provided for errorCode
textual code of error
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
BLOCKER, ERROR, WARNING Response
OK
ExpenseRecord format
NEW, NORMAL, APPROVAL, APPROVED, REJECTED UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$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.
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.
UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$Hide child attributes
Hide child attributes
"https://expense.findity.com/api/resources/8a5f867e9b204742a8cc2ca2b6c57358"
- Option 1
- Option 2
- Option 3
- Option 4
Hide child attributes
Hide child attributes
"https://expense.findity.com/api/resources/ba479b6fe32f4d5e87e6dda1e02e850b"
Date formatted according to users locale
"June 2, 2023"
Description of the value used for sorting
"June 1, 2023"
"Pens and erasers"
Description which contains the name of category
"Office supplies"
Reimbursement amount and currency formatted according to users locale
"44.5 SEK"
Total reimbursement amount and currency formatted according to users locale, only included if requesting meta.splits and the expense is the parent
"44.5 SEK"
If the report is rejected or contains expenses that has validation errors
If the expense is complete and ready to be sent, can contain warnings.
"ReceiptVerification"
description of expenseType property translated to the users language
Hide child attributes
Hide child attributes
Indicates if the expense record can be added to a report
false
Indicates if the expense record can be removed from a report
false
Indicates if the expense record can be deleted
true
true if the expense record can be sent in directly without report
true
Indicates if the expense record can be split
false
Indicates if the expense record can be edited
true
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.
false
ONLY PART OF FoodBenefitsSpecifications! Indicates if breakfast is available for meal benefits.
false
ONLY PART OF FoodBenefitsSpecifications! Indicates if lunch is available for meal benefits.
false
ONLY PART OF FoodBenefitsSpecifications! Indicates if dinner is available for meal benefits.
false
Hide child attributes
Hide child attributes
UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$"4a17f93476ce4bf2832236be26743853"
120
"Bank name"
"xxxxxxxxxxxx1234"
The expense-type-specific payload — receipt details, mileage details, per-diem details, or food-benefit details. Shape selected by the nested type discriminator.
- Option 1
- Option 2
- Option 3
- Option 4
Hide child attributes
Hide child attributes
UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$ReceiptVerification 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.
x >= 0AUTHORIZATION_ACCEPTED, AUTHORIZATION_REJECTED, AUTHORIZATION_REVERSAL, CAPTURE, REFUND Hide child attributes
Hide child attributes
UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$EU 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.
Hide child attributes
Hide child attributes
UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}${
"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"
}
}
Hide child attributes
Hide child attributes
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.
x >= 0Hide child attributes
Hide child attributes
UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$EU 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.
Hide child attributes
Hide child attributes
UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}${
"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"
}
}
Hide child attributes
Hide child attributes
UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$EU 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.
Hide child attributes
Hide child attributes
UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$UUID without dashes (32-character hex string)
^[0-9a-fA-F]{32}$curl --request PUT \
--url 'https://stage-api.findity.com/api/v1/expense/expenses/{expenseId}?format=fields' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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"
}
]
}
]
}
'{
"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"
}
]
}
}
}
}
}
