HonorFile — Training Guide

A walkthrough of every feature in HonorFile, the Marine Corps League VSO portal, written for Service Officers and National Admins. Each section tells you what the feature is for, how to use it, and — where the demo data supports it — a concrete exercise you can follow along with.


1. Demo Environment Setup (for the person running the demo)

Run once before a demo or training session:

php artisan migrate:fresh
php artisan db:seed --class=DemoSeeder

The seeder prints the demo logins and is safe to re-run at any time — it wipes and recreates only the demo records, so a "dirty" demo database can be reset between sessions with a single command.

Set DEMO_MODE=true in the demo site's .env (it is ignored when APP_ENV=production). Demo mode shows the demo logins on the login page — prospects just click an account to fill in its email and password — and lets those shared accounts skip the mandatory two-factor setup; their password, 2FA and profile settings are locked so one visitor can't lock out the next. To give a prospect access, send them the demo site's URL.

Also install pdftk (brew install pdftk-java on a Mac; pdftk-java on Linux). It fills VA's official fillable PDFs: every generated 21-22 — including the demo POAs the seeder creates — and every form in the VA Forms Library (section 9). Without it the 21-22 falls back to drawing text onto a flat copy of the form, and the Forms Library says it can't generate on this server. If pdftk lives somewhere unusual, set PDFTK_BINARY in .env.

Two background processes keep the automatic features running. For a demo on a laptop, composer run dev already starts the queue worker; start the scheduler alongside it:

php artisan schedule:work

On a server, run php artisan queue:work under a process supervisor and add the scheduler to cron (* * * * * php artisan schedule:run). Without them, nothing breaks, but these stop happening on their own:

Scheduled job What it does
reminders:send-due (every 5 min) Delivers reminders when they come due.
va:sync-submission-statuses (hourly) Checks VA for the status of everything sent through VA's claims intake, in one request.
signatures:expire (hourly) Expires lapsed signature links and tells the requester.
intent-to-file:alert-expiring (daily) Warns the VSO at 90, 30, and 7 days before an ITF expires.
privacy:erase-dormant-records (daily) Warns the VSO 30 days ahead, then permanently erases veteran records with nothing pending at VA and no activity for 3 years. Opening a record keeps it. Run it with --dry-run to count them first.
privacy:close-dormant-accounts (daily) Closes accounts not signed in to for 12 months; erases the personal data of accounts closed 3 years ago.
veterans:prune-handoffs / notifications:prune (daily) Ends 30-day handoff access; clears notifications read more than 30 days ago.

The Check VA status button on a submittal runs the status check on demand, which is handy in a demo. While the portal points at VA's sandbox, Check what VA received on the same page asks VA for the files it split the upload into and compares the count with what was sent. VA does not offer that check in production, so the button is hidden there.

Demo logins

Role Email Password
National Admin admin@mcl-demo.test HonorFileDemo1!
VSO (fully credentialed) vso@mcl-demo.test HonorFileDemo1!
VSO (pending verification) vso2@mcl-demo.test HonorFileDemo1!
Assistant (works under the VSO) assistant@mcl-demo.test HonorFileDemo1!

Two-factor authentication is required for every account, except these shared demo accounts while DEMO_MODE is on.

VA sandbox sign-in (when the VA connection has expired)

VA's sandbox drops a VSO's connection after 7 days without use. When the dashboard's VA Connection card (or a card on the veteran page) shows Expired or Not connected, click Connect and sign in on VA's ID.me page with this sandbox test representative (test user 001, Tamara Ellis — an accredited representative):

ID.me email va.api.user+001-2024@gmail.com
Password SandboxPassword2024!

If ID.me asks for a verification code, the account's authenticator (TOTP) seed is in database/seeders/data/sample.json. These credentials work only against VA's sandbox — never for production.

Demo veterans (all assigned to vso@mcl-demo.test)

Veteran What they demonstrate
Robert Anders The full workflow: signed POA, submitted Intent to File (shown in his header's ITF countdown and VA Standing card), and a Claims draft that is ready to submit (disabilities, evidence, and signed 526EZ all attached). His record is the fullest: a Marine Corps Gulf War service period with deployment, Combat Action Ribbon and Gulf War exposure, a spouse (Linda, a VA dependent) and caregiver under Family & Contacts, and a reminder due in two days. SSN 796-13-0115 is the duplicate-detection demo.
Maria Delgado A brand-new intake with minimal data and no ICN — shows the warnings and prompts a new record produces.
James Whitfield A POA already submitted to VA and a Higher-Level Review draft contesting the sleep apnea denial in his recorded VA decision (30% combined, partially granted — note the review-deadline countdown), plus a Veterans Pension draft (21P-527EZ). Flagged as an extreme financial hardship special case with special instructions (hard of hearing), and his phone-filed ITF expires within a month, so he tops the dashboard's Priority cases and Intent to File deadlines cards.
Curtis Boyd A Supplemental Claim draft with a contested issue and a nexus letter attached as new evidence — open the Forms library and pick the 20-0995 to see the issue pre-filled.
Ella Fitzpatrick An Evidence Only submittal ready to send.
Harold Jensen Died recently. Burial Benefits and Survivor Benefits drafts for his widow, Ruth — open the Forms library, pick the 21P-530EZ or 21P-534EZ and choose Ruth as the claimant.
Walter Reyes A POA out for signature — a live, pending e-signature request for demonstrating the email link, QR code, and public signing page.

VA API integrations during a demo

Buttons that call the VA ("Check VA Status," "Find Facilities," "Verify Address," "Check current revision," and Submit to VA) require VA sandbox credentials in .env. Without them, the app degrades gracefully — you get a clear red toast explaining what's missing rather than an error page, which is itself worth showing a client. To demo live VA calls, configure:

See docs/va-api-setup.md in the repository for the full step-by-step checklist of what remains to enable live VA sandbox calls, and section 14 below for how to exercise the app against VA's sandbox test data once credentials are in place.


2. Roles and What They See

VSO (Service Officer) — works veterans they are assigned to. They intake veterans, log every contact, prepare POAs and submittals, and send them to the VA. A VSO cannot see another VSO's veterans.

National Admin — sees all veterans, and has an extra Admin → VSO Verifications area where they approve or reject VSO accreditation documents and continuing-education records. When an admin adds a veteran, an Assignment section on the intake form lets them assign the veteran to any active VSO (who becomes the primary assignee and sees the veteran in their list) — or leave the record unassigned. Admins can also reassign later: every veteran profile shows an admin-only Assignment card that transfers the veteran to a different VSO (or unassigns them). The previous VSO keeps access during a 30-day handoff period — the card shows who is in handoff and until when — after which their access lapses automatically. An End handoff now button next to the notice revokes that access immediately (e.g. when a VSO leaves the organization). Every change is recorded in the veteran's contact history, including the handoff end date.

Assistant — unaccredited support staff who enter data for the VSOs they work under. A National Admin creates the account under Admin → Manage Assistants and chooses one or more supervising VSOs. An assistant sees and works on only those VSOs' veterans: they can add and edit veterans, upload documents, log contacts, fill in library forms and prepare submittals as drafts. They cannot send anything to VA, connect to VA or run VA lookups, create or sign a 21-22, or ask a veteran for a signature — the VSO does those. A veteran an assistant adds is assigned to the supervising VSO they choose. If a supervising VSO is suspended or their accreditation lapses, the assistant loses access to that VSO's veterans until the VSO is back in good standing or the admin attaches the assistant to someone else.

Try it: Log in as assistant@mcl-demo.test — Jordan Pike works under Sam Gutierrez, so Sam's demo veterans appear. Open one: you can edit the record, upload a document and log a contact, but there is no New 21-22 button and a submittal can't be sent to VA.

Try it: Log in as vso2@mcl-demo.test — the veteran list is empty, because Rita has no assigned veterans. Log in as vso@mcl-demo.test and all six demo veterans appear.

Additional permissions

National Admins can grant a VSO extra responsibilities under Manage VSOs → Edit (National Admins have all of them automatically):

Permission Lets the VSO...
Reporter See organization-wide reports instead of only their own veterans.
Assignment manager See every veteran and assign or reassign them between VSOs. They can view any record but only edit veterans assigned to them.
Notification administrator Receive notifications for veterans with no active VSO (otherwise these go to every National Admin).

Accredited VSOs file with VA directly — there is no separate approval step.


3. Dashboard and VA Account Connection

After login, the dashboard shows a VA Connection card. Some VA endpoints (direct POA submission, Intent to File, claim status) require the individual VSO to connect their own VA account — a one-time "Connect VA Account" click that sends them through VA's sign-in and returns here. The card shows the connection state and token expiry.

You do not need a VA connection for day-to-day record keeping — only for the actions that talk to the VA directly. Every screen that needs a connection tells you so and offers the Connect button in place.

There are three separate connections, one per VA API product, and each is offered where it's used: Benefits Claims on the dashboard card, Veteran Verification on the veteran page's VA Verification card, and Decision Reviews on Supplemental Claim / Higher-Level Review submittal pages.

Each of those places also offers a Disconnect button once connected. It revokes the tokens with VA (not just locally) and the card returns to its Connect prompt — use it when switching VA sign-ins or ending a session on a shared machine. Note that VA also expires an unused connection on its own: refresh tokens idle for 7 days in the sandbox (42 in production) die, and the VSO just reconnects.

Reminders and notifications


4. Veteran Intake

Veterans → Add Veteran.

Fill in identity, service, and contact details. Only first and last name are required, but complete records make everything downstream easier. Two data points matter more than they look:

Guided intake

Saving a new veteran opens the Guided intake, which lists the four steps to a first claim and what each still needs: Veteran details, the 21-22, the Intent to File, and the Claim. Missing details can be filled in right there. The same steps appear across the top of each form, with a button to the next one, and Continue intake on the veteran's page brings you back until a claim is filed.

Duplicate detection

As you type a name, SSN, date of birth, email, or phone, the portal checks for existing veterans that plausibly match and shows a "We found potential matches" panel. Click Use this record → to jump to the existing veteran instead of creating a twin, or Continue without using any matches if it's genuinely a different person. SSNs are matched even though they're stored encrypted.

Try it: Add a veteran and enter SSN 796-13-0115. Robert Anders appears as a potential match immediately.

Data hygiene

Names typed in ALL CAPS (e.g. JON SNOW) are automatically stored as title case (Jon Snow); mixed-case names like McDonald are left alone. The same applies to contact-log subjects.


5. The Veteran Profile Page

Open any veteran from the list. This page is the hub for everything about one veteran, split into tabs: Overview, Claims, Service & family, Documents, and History. The badges and Log contact stay at the top of every tab.

Try it: Open Robert Anders — every card is populated.


6. Logging Communications

Every interaction with a veteran should be logged. This is the same discipline national service offices require: a complete contact record protects both the veteran and the service officer.

On a veteran's page, click Log contact. From anywhere else, use Log contact in the sidebar and pick the veteran; you stay on the page you were on. Record:

Download PDF, above the contact history, prints the whole history for the veteran's file or a handover. The download is recorded in the case history.

Try it: Robert Anders' contact history shows a realistic thread: intake interview (files reviewed) → phone follow-up → email receiving evidence.


7. Documents and E-Signatures

Uploading documents

On the veteran page, Upload document stores any number of files at once (DD-214, medical records, buddy statements...), each with a label and a category — guessed from the file name, e.g. dd-214.pdf → DD-214. Filter the list by category. Edit a document to relabel or recategorize it and to tag family members it concerns (a marriage certificate to the spouse). Decision letters, generated 21-22s, and uploaded 526EZs are categorized automatically. The uploader or a National Admin can Delete a document unless a submittal or 21-22 uses it. If a file was uploaded to the wrong record, Move to another veteran refiles it, as long as it isn't signed, generated or in use.

On a submittal, Add Evidence can upload a new file or attach one already in the veteran's documents, and for a claim you can mark which claimed conditions it supports.

Requesting signatures

Any document (and any POA) can be routed for a legally traceable e-signature. Click Request signature on a document row and choose:

The signer opens a public page (no login needed) and confirms their date of birth. For an emailed link they then enter a 6-digit code the portal emails to the same address (it works for 10 minutes); an in-person QR request skips the code because the signer is with you. If the signer's phone won't scan the QR code, click Can't scan? Get a code: they go to the short address shown, type the 6-digit code, and land on the same signing page. The code works once, for 10 minutes. They then draw their signature, confirm consent, and type their name. The portal records the signature image, a SHA-256 hash, timestamp, IP, and user agent. Links expire after 14 days.

Try it: Walter Reyes has a POA out for signature — the seeder prints his public signing link (his DOB for the verification gate is 1971-09-08). Open it in a private window or on a phone and sign it live. To show the request-creation side, use Request signature on any of his documents and pick Show QR code now — the QR appears immediately for the signer to scan.


8. The 21-22 Power of Attorney

The 21-22 appoints the Marine Corps League as the veteran's representative. Almost everything else (Intent to File, Claims) expects one, so this is usually the first form you prepare for a new veteran.

Veteran page → Claims tab → VA Forms → New 21-22:

  1. Create the draft — confirm the claimant (the veteran, or a surviving spouse/dependent), and record any limitations of consent (drug abuse, alcoholism, HIV, sickle cell) the claimant wants withheld.
  2. Generate PDF — the portal fills the official fillable 21-22 (JUL 2023 revision) field by field and flattens it, so every value sits in its box exactly as if typed into VA's own form; the download is submission-ready. The VA Form Revision check on the same page confirms the bundled template still matches VA's current official revision — never send a stale form.
  3. Collect signatures — sign in-app, or send signature requests (section 7). The PDF regenerates automatically as each signature lands — drawn signatures are placed into the Section V signature boxes with their dates — and its status walks Draft → Ready to Sign → Partially Signed → Signed.
  4. Submit to VA — choose the path:
    • Benefits Intake API — uploads the signed PDF. Works for any veteran.
    • Benefits Claims direct submit — sends structured data; VA renders the form on their side. Requires the veteran's ICN and your VA account connection.

The page records the VA submission ID and response for the audit trail.

Try it: Robert Anders has a fully signed 21-22 ready for the Submit to VA modal; James Whitfield's shows the post-submission state with a VA submission ID.


9. VA Forms Library

Veteran page → Claims tab → VA Forms → Forms library. Official VA PDFs, filled in from the veteran's record — name, SSN, date of birth, file and service numbers, address, phone, email, spouse and children, and the claimant when it isn't the veteran. You answer only what the record can't supply, then Generate PDF: the portal fills VA's own fillable form and flattens it (as Benefits Intake requires), files it under the veteran's documents as a Signed VA form category document, and remembers your answers for next time. Each generated copy has Request signature beside it; attach the signed copy to a submittal as its primary form or as evidence.

Form Use it for
21-0966 Intent to File A paper ITF, for when you have no VA connection.
21-4138 Statement in Support of Claim The veteran's statement in their own words (wrapped to the form's lines across two pages).
21-10210 Lay/Witness Statement What a relative, friend or fellow service member has seen for themselves. Use one for each person; the signature request goes to the witness.
21-4142 Authorization to Disclose Private medical records release, including up to 5 providers on the attached 21-4142a pages.
21-4142a Medical Provider Release Extra provider sheet beyond the 5 on the 21-4142.
20-0995 Supplemental Claim Contested issues pre-filled from the veteran's Supplemental Claim submittal, plus evidence sources.
10182 Board Appeal Contested issues pre-filled from the veteran's Board Appeal submittal. The Board wants an ink signature, so print it, have it signed, and upload the signed copy.
21-0781 Mental Health Statement The traumatic events behind a PTSD or other mental health claim. Every part is optional but the type of event; go at the veteran's pace.
21-686c Add Dependents Spouse and up to 6 children from Family & Contacts.
20-10207 Priority Processing Request Asks VA to move a claim ahead. The reasons come from special cases, age, POW status, awards and housing. Both the veteran and you sign it.
21-8940 Unemployability (TDIU) For a veteran who can't work because of service-connected conditions, pre-filled from recorded VA decisions. Have their last five years of work ready.
21-4192 Employment Information Goes with the 21-8940. Print one for each recent employer to complete and sign.
21-2680 Aid and Attendance or Housebound For someone who needs daily help or can't leave home. Have it signed, then print it for their doctor to complete.
21-0779 Nursing Home Information For someone in a nursing home who is asking for Aid and Attendance. Print it for the nursing home to complete and sign.
21P-527EZ Veterans Pension For a wartime veteran with limited income who is 65 or older, or can't work. Have their income, assets and medical costs ready. Bank details are left for them to write in.
21P-534EZ Survivor Benefits DIC, Survivors Pension or accrued benefits for a spouse or child. Add the person claiming under Family & Contacts first, with the marriage date for a spouse. Bank details are left for them to write in.
21P-0969 Income and Asset Statement Goes with a pension or survivor claim when the family has more than $75,000 in assets, gave assets away, or has five or more sources of income.
21P-4165 Farm Income Goes with the 21P-0969 for a family that owns a farm. Have two years of income and expenses ready; the totals are worked out for you. VA wants an ink signature.
21P-4185 Property or Business Income The same, for a business or rental property. VA wants an ink signature.
21P-530EZ Burial Benefits Help with burial, plot and transportation costs. Choose who is claiming — a survivor, the estate's executor or a funeral home, added under Family & Contacts first. Bank details are left for them to write in.
10-10EZ Application for Health Benefits Enrolls the veteran in VA health care. Next of kin, insurance and service questions are asked; the toxic exposure and financial sections are left for the veteran to write in. It doesn't go through the claims intake — print it, have it signed in ink, and mail it or hand it in at a VA medical center.

The "Filled from the record" panel flags gaps (no SSN, no address) — fix them on the veteran page and regenerate. The 21-22 keeps its own two-signature workflow under VA Forms.


10. Submittals — Sending Work to the VA

Veteran page → Claims tab → Claims & submittals → New Submittal. A submittal is a package sent to the VA. The type picker offers nine, mirroring how national service offices categorize the work:

Type Use when...
Intent to File You need to lock in an effective date while the full claim is prepared. Always paired with a POA.
Claims Filing a new disability compensation claim (21-526EZ).
Supplemental Claim Contesting a prior decision with new and relevant evidence (20-0995).
Higher-Level Review Asking a senior reviewer to re-examine a decision without new evidence (20-0996).
Board Appeal Asking a Veterans Law Judge to decide, with or without new evidence or a hearing (10182).
Veterans Pension A veteran with limited income is asking for monthly payments (21P-527EZ).
Survivor Benefits A spouse or child is claiming DIC, Survivors Pension or accrued benefits (21P-534EZ). Include a 21-22 signed by the person claiming.
Burial Benefits A survivor, executor or funeral home is asking for help with burial costs (21P-530EZ).
Evidence Only Sending supporting documents for a claim that's already pending.

Common behaviors across all types:

10.1 Intent to File

Choose disability compensation, Veterans Pension or survivor benefits, select the 21-22 (it must be signed by both parties before submission), create the draft, and submit. VA doesn't receive the 21-22 this way, so send that from its own page. For survivor benefits, choose who is claiming. They must be under Family & Contacts with their SSN, and the 21-22 must be theirs. This goes to VA as a structured API call — no PDF involved — and records the VA confirmation ID. The ITF's effective and expiration dates come back from VA and appear on the veteran's VA Standing card. The dashboard's Intent to File deadlines card lists every ITF expiring within 90 days — the claim must be filed before then to keep the effective date.

If the veteran already had an active ITF, VA keeps honoring that one. The portal tells you so and shows the original's dates, not a fresh year.

Try it: Robert Anders has a submitted ITF showing the end state.

10.2 Claims (21-526EZ)

The richest submittal type. After creating the draft:

  1. Primary Form — upload the signed 21-526EZ. The VA Form Revision check confirms you're using VA's latest version of the form.
  2. Disabilities Claimed — add each condition with a basis of New, Increase, or Secondary (secondary requires naming the existing service-connected condition), an optional diagnostic code, and an exposure/event explanation. Inside the Add Disability modal, Check VA Ratings pulls the veteran's current ratings from VA so you can tell at a glance whether a condition is New or an Increase. As you type the condition, the portal suggests VA's own condition names (from VA's Benefits Reference Data list); picking one records VA's classification code and marks the condition with a green check. You can always keep your own wording instead — suggestions appear only when the Benefits Reference Data API key is configured.
  3. Evidence — attach supporting documents, each labeled with what it is.
  4. Submit to VA — the portal bundles the 526EZ, the POA, and all evidence into a single Benefits Intake upload.

Try it: Robert Anders' Claims draft has all three sections filled in and the Submit button live — walk each card, delete and re-add a disability, then show the readiness warnings reappear if you remove the primary form.

10.3 Supplemental Claim / Higher-Level Review / Board Appeal

All three center on Contested Issues — the prior VA decisions being challenged. Add each issue by hand (issue text + decision date). Supplemental Claims should also carry the new evidence in the Evidence section. Add the signed form (20-0995, 20-0996 or 10182) and the portal sends the package to VA electronically; Board Appeals go to the Board.

Try it: James Whitfield (HLR) and Curtis Boyd (Supplemental Claim, with a nexus letter attached) each have a draft one issue deep.

10.4 Evidence Only

Attach one or more labeled documents and submit — the portal sends them through Benefits Intake against the veteran's pending claim. If a POA is included it leads the package; otherwise the first evidence document does.

Try it: Ella Fitzpatrick's draft is ready to send.

10.5 Recording VA decisions

When the decision letter arrives, open the submittal (or the veteran page for a claim filed elsewhere) and choose Record decision. Enter the benefit, the overall outcome, the letter date, effective date, combined rating, and monthly amount, then one line per condition VA decided — from a submittal these are pre-filled with the conditions you claimed or contested. Attach the letter PDF and it's filed under the veteran's documents.

If anything was denied or only partially granted, the portal notes the one-year decision review deadline and reminds the veteran's VSO 60 days before it closes. The latest combined rating shows in the veteran's header.

10.6 Appeals and reviews at VA

VA offers its Appeals Status service only to its own internal applications, so the portal cannot look up appeals at VA. Track appeal deadlines with reminders, and record decisions as they arrive so the review deadline is reminded automatically.


11. Reports

Sidebar → Reports. Pick a report, set the date range, and (National Admins) optionally narrow to one VSO; Download CSV exports every row for Excel. VSOs see only their own veterans and activity.

Report Shows
Activity & workload Per VSO: primary caseload, contacts logged, submittals started, filings with VA, decisions recorded.
Contact detail Every contact logged in the period: veteran, type, where, claim folder, subject and who logged it. Notes are left out.
Claim folders Every claim folder opened in the period: status, days open, what is filed in it and when it was last worked on.
Submissions to VA Every submittal and 21-22 filed in the period with VA's latest status.
Decisions Decisions dated in the period, with counts granted and monthly benefits won.
Duplicate claims The same form filed for the same veteran within 90 days of an earlier one.
Intents to File — expiring / expired Active ITFs closing in the period; ITFs that lapsed unclaimed.

12. VSO Credentialing and the Admin Queue

VSOs maintain their own credentials under the VSO menu:

Both start as Pending and must be verified by a National Admin:

Admin → VSO Verifications (admin login) lists every pending accreditation and CE record with the uploaded documentation, and Approve / Reject actions (rejections require a reason the VSO will see).

Managing VSO accounts

Admin → Manage VSOs is the roster itself: search every VSO account with its org location, verified accreditation, assigned-veteran count, and status. From here an admin can:

Other National Admins, below the roster, is where one admin lets another back in with Reset two-factor. Nobody can reset their own, so keep at least two National Admins.

Try it: Log in as admin@mcl-demo.test — Rita Calloway (vso2@mcl-demo.test) has one pending accreditation and one pending CE record sitting in the queue. Approve or reject them, then log in as Rita to see the result.


13. Suggested 15-Minute Demo Script

  1. Log in as vso@mcl-demo.test. Tour the dashboard: Intent to File deadlines, Priority cases, Upcoming reminders, and the notification bell in the sidebar.
  2. Duplicate detection — start adding a veteran with SSN 796-13-0115; show the match panel; cancel out.
  3. Robert Anders — tour the profile hub: the header badges (POA on file, ITF days left), Profile with multiple contact points, Military Service, Family & Contacts, contact history, and documents filtered by category.
  4. The Claims draft — walk the disabilities, evidence (and which conditions each piece supports), and primary form cards; show the readiness checklist and the disabled/enabled Submit button.
  5. Forms library — from Robert's page open VA Forms → Forms library, choose the 21-4138, type two sentences, and Generate PDF. Download it to show VA's own form, filled and flattened.
  6. James Whitfield — the special-instructions banner and hardship flag, then VA Decisions: the partially granted decision and the review deadline it set a reminder for. Open his Higher-Level Review.
  7. Walter Reyes — create a signature request on one of his documents with Show QR code now, scan it with a phone, and sign live. (Or open the pre-seeded signing link the seeder printed — DOB gate is 1971-09-08.) Show the "Document signed" notification arrive.
  8. Switch to admin@mcl-demo.test — approve Rita's pending accreditation, open Reports (Activity & workload, Decisions → monthly benefits won, Download CSV), and the Audit log.
  9. Close on the VA integration story: every VA touchpoint (status checks, POA and ITF lookups, service history, facilities, form revisions, submissions) is a live API call with graceful fallbacks, ready for production keys.

14. Testing Against the VA Sandbox

VA publishes a set of Benefits Claims API test users — fictional but sandbox-recognized identities — via a private link ("slink") in the sandbox welcome email. That data lives in this app at database/seeders/data/sample.json (52 users, gitignored because it includes sandbox ID.me / Login.gov sign-in credentials). Everything below assumes the credentials from docs/va-api-setup.md are configured in .env.

VA resets sandbox test data periodically, and anything you write (POAs, ITFs, claims) should not be expected to persist. If calls that worked yesterday start failing, re-check the test-users page — identities and POA assignments do change.

Two ways to get sandbox-valid veterans

  1. The demo veterans already work. Three of the six demo veterans carry real sandbox identities, so their VA buttons make honest sandbox calls:

    Demo veteran Sandbox identity ICN
    Robert Anders Test user 001 (Tamara Ellis) 1012667145V762142
    James Whitfield Test user 003 (Ralph Lee) 1012667169V030190
    Curtis Boyd Test user 004 (Jesse Gray) 1012666073V986297

    The other three (Maria Delgado, Ella Fitzpatrick, Walter Reyes) have no ICN on purpose — they demonstrate the app's prompts and graceful degradation when VA identifiers are missing.

  2. Seed all 52 test users as veterans when you want the full roster:

    php artisan db:seed --class=Database\\Seeders\\VaSandboxTestUserSeeder
    

    Each seeded record is tagged VA sandbox test user #NNN in its notes and carries the real name, DOB, SSN, and ICN from sample.json.

Signing in to VA as a representative

The "Connect VA Account" flows end at VA's sandbox ID.me / Login.gov page. Two test users are accredited representatives and should be used for those sign-ins:

Their sign-in emails, passwords, and TOTP seeds are in sample.json (idMe / loginGov keys). Use one of them for the Connect VA Account flow.

To switch representatives (say, from Tamara to John), click Disconnect on the relevant connection card first — it revokes the old tokens with VA — then Connect again with the other sign-in. And remember the sandbox expires refresh tokens after 7 idle days: if the Connect card has quietly gone back to "Not connected" since last week, that's why — just reconnect.

POA codes in the sandbox

VA's sandbox recognizes these representative POA codes:

A 21-22 is filed under the organization's POA code from VA_ORGANIZATION_POA_CODES. For the sandbox set it to 095,074: the demo VSOs' accreditation numbers are seeded as those codes so each files under their own — VA rejects codes it doesn't recognize.

Gotcha — POA rotates in the sandbox. VA reassigns each test veteran's power of attorney throughout the day. If a Benefits Claims call returns 401 Unauthorized, the representative you signed in as has lost POA for that veteran. Fix it in-app: submit that veteran's 21-22 (which POSTs /forms/2122 with our 095 code) and retry.

Worked examples

Each example uses a demo veteran and can be run start-to-finish in the UI.

A. API-key calls (no VA sign-in needed) — open Robert Anders: Find Facilities (uses his Columbus, OH address) and Check current revision on the 21-22 page.

B. Submit a POA (21-22) — on Robert Anders, open his signed 21-22 and click Submit to VA. The payload carries poaCode 095 and his sandbox ICN, so VA accepts it. This is also the fix for any POA-rotation 401s (see gotcha above).

C. Intent to File — on Robert Anders, create an Intent to File submittal and submit. Requires the Benefits Claims connection (signed in as Tamara or John) and an accepted POA (example B).

D. Higher-Level Review — James Whitfield has an HLR draft with a contested issue. Add the signed 20-0996 and submit it; his ICN (1012667169V030190 / test user 003) is sandbox-valid.

E. Supplemental Claim — Curtis Boyd has a Supplemental Claim draft with new evidence attached (test user 004).

F. Veteran Verification — on any of the three mapped veterans, use the VA Verification card's Check VA Status to pull status, service history, and disability rating for the sandbox identity.

G. Benefits Intake — submit Ella Fitzpatrick's Evidence Only submittal. Benefits Intake is API-key based and does not validate the veteran against MPI, which is why her fictional identity still works.