🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Expense Claims & Receipts Setup Guide

Updated 14 min read Gravity Forms Integrations A–Z
On this page
  1. What you need
  2. Install and activate
  3. Who can do what
  4. Settings: currency, rates and policy rules
  5. How the policy rules work
  6. Build the claim form
  7. Totals are always calculated on the server
  8. Approval routing per form
  9. Approve, send back or reject
  10. No double decisions, and approved claims are locked
  11. The claimant’s status page
  12. Record the reimbursement
  13. CSV export, PDF claim report and totals
  14. Notifications and merge tags
  15. Reminders for pending approvals
  16. Receipt storage
  17. How it differs from other ways of handling expenses
  18. Uninstalling
  19. Troubleshooting

The Gravity Forms Expense Claims & Receipts add-on lets staff, volunteers and contractors claim back what they spent on behalf of your organisation through an ordinary Gravity Forms form. Each claim is a list of expense lines with a receipt per line, mileage lines and per-diem lines. The add-on calculates every amount and the total on your server, checks each line against your category rules, routes the claim to the right approver (with an optional second approval for larger claims), lets the claimant follow and correct their claim through a private link, and gives your finance team a record of what was reimbursed, a CSV export, a PDF claim report with receipt thumbnails and totals per person, category and month. This guide covers installing the add-on, the settings, building the form, approval routing, the claimant status page, approving and sending back, the reimbursement record, exports, notifications, reminders and receipt storage.

What you need

You need Gravity Forms 2.9 or newer and WordPress 6.5 or newer on PHP 7.4 or newer. Everything runs inside your WordPress site: there is no outside service, no currency-rate feed and nothing to install on the server. The add-on makes no outside connection beyond checking gravityextra.com for your licence and plugin updates. E-mails are ordinary Gravity Forms notifications and go out through your normal WordPress mail setup.

The add-on never moves money. “Reimbursed” is a marker your finance team sets with a date and a reference after they have paid the claimant in their usual way. Nothing in the add-on connects to a bank, a card or a payment service.

Install and activate

  • Upload the add-on zip in Plugins → Add New → Upload Plugin and activate it.
  • Go to Forms → Settings → Expense Claims, enter your GravityExtra licence key and press Activate License.
  • A new admin menu, Expense claims, opens the approver and finance screens.

Without an active licence the claims screen only shows a note with a link to the licence settings, approver and finance actions are switched off, the Expense lines field shows that claims are not available and the form does not accept a claim, and the status page shows that claims are not available.

Who can do what

The add-on adds two roles and four capabilities. Administrators get all four capabilities when the add-on is activated.

  • Expense approver (capabilities geec_access and geec_approve) sees the claims routed to them and can approve, send back or reject them. An approver never sees claims that are not routed to them.
  • Expense finance (capabilities geec_access and geec_finance) sees every claim, records reimbursements, downloads the CSV and PDF reports and sees the totals. Finance users cannot approve.
  • Administrators (all capabilities, including geec_manage) can act on any claim, but never on a claim they sent themselves, and never give the second approval of a claim they approved at the first level.

Users without these capabilities, such as editors, do not see the menu, and the screens, actions and downloads answer with an “access denied” page. Claimants do not need an account at all: they use the private link from their e-mail.

Settings: currency, rates and policy rules

Open Forms → Settings → Expense Claims after activating the licence. Every table is one entry per line, with the columns separated by a vertical bar.

  • Organisation name — shown on the PDF claim report. Empty means your site title.
  • Base currency — the three-letter code every claim is totalled in, for example USD or EUR. It starts as your Gravity Forms currency.
  • Fixed currency rates — one currency per line with the value of one unit in the base currency, for example EUR | 1.08. Only these currencies (and the base currency) can be chosen on the form. The add-on never looks rates up anywhere; you decide the rate and change it when your organisation does.
  • Categories — one category per line: Name | max per line | max per day | max per claim | receipt required above | warn or block. For example Meals | 60 | 90 | | 25 | warn limits a meal line to 60, all meals on one day to 90, has no limit per claim, needs a receipt above 25 and only warns when a limit is passed. Leave a limit empty for no limit.
  • Distance unit — miles or kilometres for mileage lines.
  • Vehicle rates — one vehicle per line with its rate per mile or kilometre, for example Car | 0.67. Leave the box empty to switch mileage lines off.
  • Per-diem rates — one rate per line with its amount per day, for example Full day | 59 and Half day | 29.50. Leave it empty to switch per-diem lines off.
  • Remind approvers after (days) — once a day, approvers of claims that have waited longer than this get one reminder e-mail.

How the policy rules work

Rules are checked on the server every time a claim is sent, including when a claimant sends a corrected claim. A line above the category’s limit per line, the lines of one category on one day above the daily limit, or all lines of one category above the claim limit are flagged. With warn the claim goes through and the approver sees the flagged lines highlighted with the rule that was passed. With block the claim cannot be sent until the line is corrected, and the claimant sees the reason under the line. A missing receipt where one is required always stops the claim, whatever the category action is: an amount exactly at the threshold does not need a receipt, one cent above it does.

Build the claim form

  • Create a form (or open an existing one) and add the Expense lines field from Advanced Fields.
  • Add the fields you want for the claimant: usually a name field and an e-mail field. If approvers depend on the team, add a drop-down such as “Your manager” whose values are the managers’ e-mail addresses.
  • Place the form on a page as you would any Gravity Forms form.

On the form, every line has a type. Expense lines have a date, category, description, amount, currency and a receipt upload. Mileage lines have a date, description, distance and vehicle type. Per diem lines have a date, description, number of days (in steps of 0.5) and the per-diem rate. Claimants add and remove lines with the buttons, and an estimated total updates as they type. Receipts can be JPG, PNG, GIF, WebP or PDF files of up to 10 MB; the add-on checks the file content, not just its name.

The expense claim form: name, e-mail, manager and six expense lines (train, a lunch in EUR, a hotel night in GBP, mileage by car, a per diem and a team dinner) with receipts and an estimated total of USD 548.09
Claimants add expense, mileage and per-diem lines with a receipt per line.

Totals are always calculated on the server

The estimate in the browser is only there to help the claimant. When the claim is sent, the server reads only the typed values (date, category, description, amount, currency, distance, vehicle, days, rate name) and calculates each line itself: an amount in another currency times your fixed rate, a distance times the vehicle rate, days times the per-diem rate. Each line is rounded once to whole cents and the total is the sum of the lines. Any total, rate or converted amount sent by the browser is ignored, so a changed web page cannot change what is claimed. The Gravity Forms entry keeps a short summary such as “6 lines, total USD 548.09”; the claim itself, with every line, lives in the add-on’s own tables.

Approval routing per form

Open the form’s Settings → Expense Claims tab:

  • Approver — choose one of three ways. A chosen user sends every claim of this form to one approver. Anyone with a role lets every user with the chosen role approve (for example all Expense approvers). The approver e-mail given in a form field uses the value of a field such as “Your manager”; the e-mail must belong to a user who can approve claims, otherwise the claim goes to the chosen user.
  • 2nd approval above and 2nd approver — when the approved total of a claim is above this amount, the claim needs a second approval by this user after the first approver said yes. Leave the amount empty for one level only. An amount exactly at the limit needs one level.
  • Name field and E-mail field — who the claimant is. For logged-in users their account is used when the fields are empty.

The first time you save these settings, the add-on adds starter notifications for every claim event to the form. You can edit their wording and recipients in Settings → Notifications like any other Gravity Forms notification.

Approve, send back or reject

Approvers open Expense claims. The list shows the claims routed to them with the claimant, the date, the total, how many lines were flagged by the policy rules and the status; the Waiting for me filter shows the claims they can decide now. A claim opens with all its lines: the date, category, description, the amount in the base currency, how it was calculated (for example “42.00 EUR x 1.08” or “84.6 mi x 0.67 (Car)”), policy flags and the receipt as a thumbnail or a PDF link.

The approver view of a claim: claimant, totals and the 2nd approval rule, six lines with fixed-rate conversions, mileage and per-diem details, receipt thumbnails, the team dinner flagged over the meals limit, line decisions and comments
Approvers see policy flags and receipts, and decide per line or per claim.
  • Per line — each line has a decision (Approve or Not approved) and an optional comment. Lines marked “Not approved” are left out of the approved total.
  • Approve — approves the claim with the line decisions. If the approved total is above the form’s second-level amount, the claim now waits for the second approver, who gets an e-mail.
  • Send back for correction — needs a comment. The claimant gets an e-mail with your comment and their private link, where they can correct the lines and receipts and send the claim again.
  • Reject — needs a comment. The claimant is told and the claim is closed.

No double decisions, and approved claims are locked

Every change to a claim is applied as one conditional database update that only succeeds while the claim is still in the state and version the person saw. If two approvers press a button at the same moment, or someone double-clicks, or a claimant sends a correction twice from two tabs, exactly one change is applied and the other person sees “This claim was changed by someone else in the meantime”. Once a claim is approved (or rejected) it is locked: the claimant can no longer change it and approvers can no longer send it back.

The claimant’s status page

The first claim creates a page called Expense claim status. Claimants never browse to it directly: every claimant e-mail contains their private link, a link to that page with the claim number and a signature made with a secret key that only your site knows. A link whose claim number or signature was changed is refused with an “access denied” page, and the page is never cached or indexed by search engines.

The page shows the status, who the claim is waiting for, the total, each line with its receipt, the approvers’ decisions and comments, the reimbursement record and the full history. When a claim was sent back, the same page shows the lines in the editor so the claimant can correct them: earlier receipts are kept unless a new file is chosen, and the corrected claim is checked against the rules again before it is sent.

The claimant's private status page: reimbursed with date and reference, approved total, each line with its receipt and decision, the approver comment and the full history
Claimants follow their claim through a private signed link.

Record the reimbursement

When your finance team has paid an approved claim in their usual way, they open the claim and use Record the reimbursement with the date and a reference, for example a batch or transfer number. This only records that the claim was reimbursed outside the site; the add-on makes no payment. The claimant gets the “marked as reimbursed” e-mail with the date and reference, and the claim shows as Reimbursed everywhere. Only finance users and administrators can record a reimbursement, and only for approved claims.

CSV export, PDF claim report and totals

Finance users and administrators see the Totals and export tab. It shows the approved totals per person, per category and per month (by expense date) for approved and reimbursed claims, with lines marked “Not approved” left out. You can limit the range by expense date.

The finance view: CSV downloads and approved totals per person, per category and per month for approved and reimbursed claims
Finance sees totals per person, category and month and exports CSV.
  • CSV — one row per line with the claim, claimant, status, date, type, category, description, quantity and rate for mileage and per diem, the original amount and currency, the fixed rate used, the calculated amount, policy flags, the line decision and comment, and the reimbursement date and reference. One download covers approved and reimbursed claims; a second covers every claim. Cells that start with a formula character get an apostrophe so a spreadsheet does not run them.
  • PDF claim report — the PDF claim report button on a claim gives a printable report with the claimant, status, approvers and dates, every line with its decision, the totals, the comments, the history and thumbnails of the image receipts (PDF receipts are listed by name). The PDF is drawn on your server with a bundled PDF library.

Notifications and merge tags

The add-on adds six notification events to forms with the Expense lines field: Expense claim submitted, awaiting 2nd approval, approved, rejected, sent back and marked as reimbursed. These merge tags work in their subject, message and recipient fields:

  • {expense:total} — the total claimed, for example USD 548.09; {expense:approved_total} — the approved total.
  • {expense:status} — the current status; {expense:reference} — the claim number such as EXP-2026-0001.
  • {expense:approver} and {expense:approver_email} — who the claim is waiting for, or who decided it.
  • {expense:report_url} — the claimant’s private status link; {expense:admin_url} — the claim in the admin.
  • {expense:claimant_name}, {expense:claimant_email}, {expense:comment}, {expense:flags}, {expense:lines}, {expense:reimbursed_on} and {expense:reimbursed_ref}.

Reminders for pending approvals

Once a day the add-on looks for claims that have been waiting for a decision longer than the number of days in the settings. Each approver gets one e-mail listing their waiting claims with a link to each. A claim is not reminded again until the same number of days has passed. Reminders use WordPress’s scheduled events, which run when your site gets visits; if your host offers a real cron job for WordPress, reminders arrive more punctually.

Receipt storage

Receipts are never stored in the public uploads folders of Gravity Forms. They live in wp-content/uploads/gfexpenseclaims-private/, in one folder per claim, under random 24-character names ending in .dat with no original name or extension on disk. The folders contain deny-all .htaccess and web.config files for Apache and IIS and an empty index file. Receipts are only sent through the add-on after a check: approvers, finance users and administrators who may see the claim, or the claimant through the signed link.

Nginx does not read .htaccess files. On nginx, add this rule to your site’s server block and reload nginx:

location ^~ /wp-content/uploads/gfexpenseclaims-private/ { deny all; }

How it differs from other ways of handling expenses

  • The Gravity Forms List field gives you rows of text, but no maths, no receipt per row, no currencies, no policy rules and no approval. Expense lines are typed lines with server-side totals and a receipt per line.
  • The Gravity Forms Repeater field repeats groups of fields, but leaves totals, currency conversion, policy rules and approval to you. Expense lines do all four and store the claim in its own tables.
  • Workflow Pro adds general approval steps to any form. Expense Claims is built for money claims: line decisions, approved totals, a second level above an amount, a claimant correction loop, a reimbursement record and finance exports.
  • Volunteer Hours logs hours that volunteers worked. Expense Claims is for money people spent and want back.
  • Invoice PDF and Invoice PDF Receipts create invoices and receipts that you send to your customers. Expense Claims handles receipts your own people bring in.
  • Our integrations that sync records to outside finance or HR services send data to another platform. Expense Claims keeps the whole claim process inside your WordPress site, with no outside connection; the CSV export is there if your team wants to bring the lines into its own tools.
  • Payment add-ons take payments from customers. Expense Claims never moves money in either direction.

Uninstalling

Use Forms → Settings → Expense Claims → Uninstall (or delete the plugin) to remove the add-on’s tables (claims, lines and history), its settings, the stored receipts, the Expense approver and Expense finance roles, the capabilities and the scheduled events. Gravity Forms forms, entries and notifications and the Expense claim status page are ordinary site content and are left in place. Download the CSV and the PDF reports you want to keep first.

Troubleshooting

  • The claim is not sent and a line shows a message. Read the message under the line: a “block” category limit was passed, a required receipt is missing, or a value is not valid (for example a date in the future or a currency that is not in your rates list).
  • Mileage or per diem is missing from the line type list. Add vehicle rates or per-diem rates in the settings.
  • The claim went to the fallback approver. The e-mail in the approver field does not belong to a user who can approve claims. Give that user the Expense approver role.
  • An approver sees “not allowed to see this claim”. The claim is routed to someone else. Check the form’s approval settings.
  • “This claim was changed by someone else in the meantime”. Somebody acted on the claim after you opened it. Reload the claim to see its current state.
  • No e-mails arrive. Check the starter notifications in the form’s notification settings and test that your site can send Gravity Forms notifications.
  • Receipt thumbnails are missing in the PDF. Images with transparency or interlacing need the PHP GD extension; without it these receipts are listed by name.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr