Skip to main content
This guide covers the approver’s side of the expense flow. Employees submit reports (see Expense reports), Findity routes each report to its approvers according to the organization’s approval setup (see Approval structures), and you’ll build the approver’s view: find the reports waiting for the approver, show the Compliance Agent’s verdict next to each expense, and send the approver’s decision back.

Overview

An approver is a user who reviews expense reports for an organization. When an employee submits a report, Findity puts it in the approval list of each approver on the report’s approval chain: the approval step that report is in. The approver opens the report, checks its expenses, and then either approves the report or rejects one or more expenses with a comment. Where approval guidance is switched on for the organization, the Compliance Agent checks every expense before the approver opens it. It marks each expense Ready for approval or Needs review, with the reasons, such as an invalid receipt photo or an amount far above what the organization usually approves. The guidance is a recommendation: the approver still makes the decision. Bulk approval lets the approver approve several reports in one action, for example all reports marked Ready for approval. In the API, you send the approvals together in one bulk request. The steps follow that job: find the reports, show the guidance, open an expense, decide on one report, then decide on several.

Prerequisites

  1. Approval is set up for the organization, with your approver on it. An organization admin or your provisioning sets this up with the Admin API. See Getting started with the Admin API, Step 6, and Approval structures.
  2. A user access token for the approver. Every request in this guide acts as the approver, so it needs a user-scoped token from the authorization grant flow, not a client_credentials token. See Authentication. Requesting codes for other users needs a permission on your API key that Findity grants.
  3. The approver can approve in the organization. meta.permissions.canApprove is true on the organization returned by GET /me/organizations/{organizationId}?include=meta.permissions.
  4. Approval guidance is switched on for the organization (only needed for Step 2 and Step 3). Findity switches it on per organization; it can’t be switched on through the API. It is off when AI features are switched off for the organization. Without it, everything else in this guide works, and the responses carry no guidance.
Request the approver’s authorization code with their person id as user_id. The user id that the Admin API returns when you create a user is a different id, and the authorization grant rejects it with 400 invalid_request (“invalid user_id”). Read the person id from person.id on the user, as described in Getting started with the Admin API, Step 6.

Key concepts

ConceptDescription
Approval listThe reports waiting for the signed-in approver in one organization. Reports leave the list once the approver has approved or rejected them.
approvalChainIdIdentifies the approval step the approver acts in on a report. It is a short numeric string, such as "220451", not a 32-character id. Every approve or reject call needs it.
approvalInstanceStatusThe status of the approver’s own step on the report: APPROVAL (waiting), APPROVED, AUTO_APPROVED or REJECTED.
Approval guidanceThe Compliance Agent’s verdict on an expense: Ready for approval, Needs review, or not checked yet. It comes as labels, as data in meta.autoApproval, and as a ready-made field in the expense’s approval fields.
ReasonOne check behind a verdict, such as NOT_VALID_RECEIPT, with a description in the approver’s language.
Bulk requestOne POST /bulk call that runs up to 50 calls to the same endpoint, such as several approvals.

API endpoints

All endpoints use the Expense API base URL. Examples in this guide use the stage environment. Switch to the production host (https://api.findity.com/api/v1/expense) only when you’re ready to go live.
OperationMethodEndpoint
List reports waiting for approvalGET/me/organizations/{organizationId}/approvals
Get an expense’s approval fieldsGET/me/organizations/{organizationId}/approvals/expense/{expenseId}/fields
Approve or reject a reportPUT/me/organizations/{organizationId}/approvals/{expenseReportId}
Approve several reportsPOST/bulk

Required headers

HeaderValue
Content-Typeapplication/json (on PUT and POST)
AuthorizationBearer {access_token} (the approver’s user access token)

Step 1 — Find the reports waiting for the approver

Start by listing the approver’s queue. Each report in it carries the approvalChainId that the approve and reject calls need, and, with the right include values, the guidance for the report and for each expense. GET /me/organizations/{organizationId}/approvals

Query parameters

ParameterTypeDefaultDescription
includestringnoneComma-separated extra sections. For this guide: meta.abbreviation, expenseRecords.meta.abbreviation and expenseRecords.meta.autoApproval.
statusesstringreports waiting for the approverComma-separated approvalInstanceStatus values, such as APPROVED,REJECTED, to list reports the approver has already handled.
maxinteger10Page size, 1 to 1000.
offsetinteger0Number of reports to skip.
The list is paginated: meta.total is the number of matching reports and meta.count the number on this page. Page through with offset until you have meta.total reports.
cURL
This lists the reports waiting for the approver, with display values and labels for each report and each expense, and the Agent’s verdict for each expense. Example response (status 200 OK, one report shown, trimmed to the fields this guide uses)
JSON
Keep each report’s id and approvalChainId: Step 4 and Step 5 need both. meta.requirements.approval.requireNextStepApprovers tells you whether the approver must choose the next step’s approvers when approving (see Step 4).

Step 2 — Show the approval guidance

Show the verdict where the approver decides: in the approval list and next to each expense. The response from Step 1 carries it in two forms. Labels. With meta.abbreviation, a report carries a label whose property is label.autoApproval. An expense carries the same label only when you request both expenseRecords.meta.abbreviation and expenseRecords.meta.autoApproval. Show the label’s text, style it by type, and show the icon from iconUrl to make clear the label comes from the Agent.
Verdicttexttype
Ready for approvalReady for approvalSUCCESS
Ready, and the approver has auto approval switched onAuto-approvedSUCCESS
Needs reviewNeeds reviewWARNING
A report is Ready for approval only when all its expenses are, and Needs review when at least one expense needs review. Reports that auto approval has already approved carry a second label, label.autoApproved, with the text Auto-approved. Verdict data. meta.autoApproval on each expense holds the verdict as data, for sorting, filtering and showing the reasons:
FieldDescription
statusAPPROVED (Ready for approval), REJECTED (Needs review), or PENDING (the Agent hasn’t checked the expense yet; show no guidance).
rejectReasonsPresent when there are reasons. Each entry has a reason code and a description to show as is.
APPROVED and REJECTED in meta.autoApproval.status are the Agent’s recommendation, not the approval decision. Don’t show them as the report’s or the expense’s status.
Label texts and reason descriptions come in the approver’s language: an approver with Swedish as their language gets Behöver granskas instead of Needs review. Build your logic on type, status and reason, never on the text.
The reason codes and their descriptions:
reasonDescription
SIMILAR_REJECTED_ORGSimilar expenses have previously been rejected.
SIMILAR_REJECTED_PERSONSimilar expenses from this employee have previously been rejected.
SIMILAR_REJECTED_GLOBALSimilar expenses in the system have previously been rejected.
POLICY_FAILUREViolates the company’s expense policy. When a specific policy rule is broken, the description quotes it.
NOT_VALID_RECEIPTExpense without valid receipt photo.
DEVIATING_AMOUNT_ORGThe amount deviates from what is usually approved in the organisation.
DEVIATING_AMOUNT_PERSONThe amount deviates from what this employee usually submits.
DEVIATING_AMOUNT_GLOBALThe amount deviates from the global average for this type of expense.
PREDICT_AMOUNT_DEVIATIONThe entered amount deviates greatly from the predicted amount.
WEEKEND_PURCHASE_DATEThe purchase was made during a weekend.
SPECIAL_ITEM_ALCOHOLThe expense seems to contain alcohol.
SPECIAL_ITEM_TOBACCOThe expense seems to contain tobacco.
DUPLICATE_EXPENSE_PERSONThe receipt appears to have already been submitted by this employee.
DUPLICATE_EXPENSE_ORGThe receipt appears to have already been submitted in the organisation.
NO_RECEIPT_MILEAGERecommendation to review all mileage separately.
NO_RECEIPT_PER_DIEMRecommendation to review all per diem separately.
NO_RECEIPT_FOOD_BENEFITRecommendation to review all meal benefits separately.
NO_RECEIPT_FUEL_BENEFITRecommendation to review all fuel benefits separately.
NO_RECEIPT_CONGESTION_BENEFITRecommendation to review all congestion charges separately.
NO_SIMILAR_EXPENSES_FOUNDFound no similar expenses to compare with.
PREVIOUSLY_REJECTEDThe expense has previously been rejected.
SIMILAR_SENT_BACK_BY_ADMIN_ORGSimilar expenses sent back to user from admin in this org.
SIMILAR_EDITED_BY_ADMIN_ORGSimilar expenses edited by admin in this org.
New codes may be added. Show the description of a code your app doesn’t recognize rather than hiding it.

Step 3 — Open an expense for review

When the approver opens an expense, fetch its approval fields: the expense’s details as read-only fields. If approval guidance is switched on, the response includes the guidance as a ready-made field. GET /me/organizations/{organizationId}/approvals/expense/{expenseId}/fields {expenseId} is the id of an expense in expenseRecords from Step 1.
cURL
This returns the fields of the dinner expense from Step 1, with every field disabled. The response object has fields, meta, splits and validationErrors; the guidance is the field in fields whose property is autoApprovalInfo. Example response (status 200 OK, the autoApprovalInfo field only)
JSON
The field appears as a banner only if your approval view renders INFORMATION fields. If it doesn’t, add support for it:
  • Use name as the heading, and style the banner by informationType: SUCCESS for Ready for approval, WARNING for Needs review.
  • Show value with its line breaks. Each reason is on its own line and starts with a bullet.
  • Show the icon from iconUrl.
  • Render nothing when visible is false: the Agent hasn’t checked the expense.
For a Ready for approval expense, value lists the checks that passed. The report’s approval fields (GET /me/organizations/{organizationId}/approvals/expensereports/{expenseReportId}/fields) don’t include this field; it exists only per expense. See Dynamic fields for rendering fields in general.

Step 4 — Approve or reject a report

Send the approver’s decision on one report. Expenses you list in rejectedExpenseRecords are rejected. With nothing in rejectedExpenseRecords, the whole report is approved. PUT /me/organizations/{organizationId}/approvals/{expenseReportId}

Request body

FieldTypeRequiredDescription
approvalChainIdstringYesThe report’s approvalChainId from Step 1.
rejectedExpenseRecordsarrayOptionalExpenses to reject, each with id (an expense id from the report) and an optional rejectComment that the employee sees.
approverCommentstringOptionalComment saved on the approval step and shown in the report’s approval history.
nextStepApproverIdsarray of stringsConditionalPerson ids of the approvers for the next step. Send it only when meta.requirements.approval.requireNextStepApprovers is true on the report; otherwise the call fails with 400 INVALID_PARAMETER (“nextStepApproverIds not allowed”).
Rejecting even one expense sends the whole report back to the employee. The report’s processStatus becomes REJECTED, the rejected expenses get status REJECTED, and the expenses you didn’t list keep status APPROVAL: they are not approved. The employee gets a notification, and each rejectComment is sent to them as a message. Rejecting one part of a split expense rejects all its parts.
Approve the whole report:
cURL
This approves the report “Client visit Gothenburg” and its one expense, with a comment in the approval history. Example response (status 200 OK, trimmed)
JSON
The response is the report after the decision. It doesn’t include approvalChainId or the reimbursement amount. Once the last approval step is done, Findity moves the report on, so its status can already be past APPROVED (for example SENT) when you read it again. Reject the dinner from Step 1 and send the report back:
cURL
This rejects the dinner with a comment. The taxi isn’t approved; it waits in the report until the employee resubmits. Example response (status 200 OK, trimmed)
JSON

Retrying after a timeout

A decision can’t be applied twice. If a call times out and you resend it, the second call fails instead of acting again: on a report that was approved, it returns 400 REPORT_HAS_WRONG_STATUS_CAN_NOT_BE_APPROVED; on a report that was rejected, it returns 403 (“Cannot approve this report”). To find out whether the first call went through, list the approval queue again (Step 1): a report the approver has handled is no longer in it, and statuses=APPROVED,REJECTED shows how it was handled.

Step 5 — Approve several reports at once

To approve several reports in one action, send the approvals in one bulk request. Each entry in requests is the same PUT as in Step 4, for one report. POST /bulk

Request body

cURL
This approves two waiting reports, “Workshop Malmo” and “Team offsite”, and tries the “Client visit Gothenburg” report again, which Step 4 already approved. Example response (status 200 OK, entry bodies trimmed)
JSON
The bulk call answers 200 whenever the batch itself is valid, even when some approvals fail. Each approval runs on its own and nothing is rolled back, so read every entry’s status: here the first two reports were approved and the third was not. A successful entry’s body is the full report, as in Step 4.
A batch holds at most 50 calls. Split a longer list into several bulk requests. A batch that is too long, empty, mixes endpoints, or has a path outside /v1/expense/ is rejected as a whole with 400 INVALID_PARAMETER, and none of its approvals run.

Common integration patterns

Approve everything marked Ready for approval. List the queue with include=meta.abbreviation (Step 1) and pick the reports whose label.autoApproval label has type SUCCESS. Let the approver confirm the selection, then approve them with one bulk request per 50 reports (Step 5). Then list the queue again: reports that failed are still in it. Put the reports that need review first. Sort the approver’s queue so reports with a WARNING guidance label come first, and show each expense’s meta.autoApproval.rejectReasons in the list (Step 1 and Step 2). Approvers then spend their time where the Agent found something. Start the rejection comment from the Agent’s reason. When the approver rejects an expense the Agent flagged, prefill rejectComment with the reason’s description and let the approver edit it before sending (Step 4).

Error handling

Errors come as a JSON object with result, a requestId, a description and, for most errors, a machine-readable code:
JSON
Branch on code and the status, not on description. In a bulk request, each approval’s error comes back in its own entry, with the same status and body as above.

Next steps

Expense reports

Create, submit and track the reports that approvers review.

Dynamic fields

Render the approval fields, including information fields such as the approval guidance.

Approval structures

Set up who approves which reports, in how many steps.

Authentication

Get the approver’s user access token with the authorization grant flow.
Last modified on November 24, 2026