Skip to main content
  • For: treasurers and Gift Aid officers
  • You get: a Gift Aid tab with the year’s totals and a Claim lines tab with every line, to check against the HMRC schedule
  • Time: about ten minutes
  • Scopes: gift-aid:read, and gift-aid.people:read for donor names and postcodes
A Gift Aid claim is only as good as its lines. This recipe puts a tax year’s claim in a Google Sheet, so a second person can check it before it goes to HMRC. The totals come from the same calculation as the Export Gift Aid Report option on the Finance page in Scoutworks, so they match it to the penny.

1. Try the requests

A UK tax year is written YYYY-YY: 2025-26 runs from 6 April 2025 to 5 April 2026. Paste these into a terminal to see the demo group’s figures:
The summary splits the claim three ways:
  • declaration: donations from people who signed a Gift Aid declaration. These go on the HMRC schedule with the donor’s name and postcode.
  • gasds: small cash donations under the Gift Aid Small Donations Scheme. HMRC needs only the total.
  • manual: donations the treasurer marked as eligible by hand.

2. Add the script

In your Google Sheet, choose Extensions → Apps Script. Delete what is there, paste the script below and choose Save.
Code.gs

3. Add your key and run it

Choose Project Settings (the cog), then Script Properties → Add script property. Property: SCOUTWORKS_API_KEY. Value: the sandbox key to try it, or your own key. Then choose giftAidCheck and press Run.

4. Check it against the HMRC schedule

In Scoutworks, open Finance, choose Export Gift Aid Report for the same dates, and download the HMRC schedule. Then check:
  1. The totals match. The Declaration donations on the Gift Aid tab equal the schedule’s total. The Small donations total is the figure for the GASDS part of the claim.
  2. Every declaration line has a donor and a postcode. HMRC rejects a line without them. The Check column flags any that are missing. It needs gift-aid.people:read: without it, every donor column is empty and nothing is flagged.
  3. Nothing is left out by mistake. If Left out because not yet reconciled is more than 0, some eligible donations are still waiting in the reconciliation inbox. They join the claim once reconciled. Reconcile them in Scoutworks and run the check again.

5. Switch to your group

Change api-demo.scoutworks.app to api.scoutworks.app, set TAX_YEAR, and replace the sandbox key with your own. The key needs gift-aid:read. Add gift-aid.people:read for the donor columns: without it they are empty, but the totals still work.
With gift-aid.people:read, the Claim lines tab holds donors’ names and home addresses. Share it only with the person checking the claim, and delete it once the claim is sent.

If something goes wrong

  • 400 invalid_request: TAX_YEAR must look like 2025-26.
  • The toast says there are too many donations for one claim: the summary’s truncated is true, because the year holds more than 5,000 donations of one kind. The figures are then too low. Contact us before you claim.
See Errors for every code.