POST /submissions/audit
POST
Audit Reimbursement Claim Package
Performs an AI-powered compliance audit on a full reimbursement claim package. It cross-references receipts with proof of payment, inspects item descriptions against Florida PEP, UA, or custom handbook guidelines, checks dollar frequency limitations, and scores educational justification statements. Can be run synchronously (`async: false`) or queued asynchronously (`async: true`).
Headers
HTTP Headers| Parameter | Type | Description |
|---|---|---|
Authorizationrequired | string | Bearer token format: Bearer <API_KEY> Example: Bearer pep_live_99281a8b |
X-Tenant-IDoptional | string | B2B Tenant identifier. Example: stepup |
Content-Typerequired | string | application/json |
Query Parameters
URL Query String| Parameter | Type | Description |
|---|---|---|
detailedAnalysisoptional | boolean default: true | When true, includes justification improvement hints and pedagogical alignment details in auditResult. Example: true |
strictHandbookRulesoptional | boolean default: false | Enforces strict statutory handbook limits without administrative variance grace margins. Example: true |
Request Body
application/json| Field | Type | Description |
|---|---|---|
tenantIdoptional | string | Tenant organization identifier. Example: stepup |
programKeyrequired | string | Scholarship program code (e.g., FL_PEP, FL_FES_UA, AZ_ESA). Example: FL_PEP |
vendorrequired | string | Name of the service provider or merchant. Example: Kumon Math Center |
amountrequired | number | Total reimbursement claim amount requested. Example: 180.00 |
asyncoptional | boolean | Whether to enqueue as an asynchronous job (default: false). Example: false |
lineItemsrequired | array<LineItem> | Itemized claims with description, category, and parental justification. |
↳descriptionrequired | string | Line item description. |
↳pricerequired | number | Item unit price. |
↳categoryrequired | string | Primary reimbursement category. |
↳typeoptional | string | Sub-category classification. |
↳justificationrequired | string | Educational justification narrative provided by parent/guardian. |
supportingFilesoptional | array<FileRef> | Credentials, certifications, syllabus or required documentation. |
Responses
4 status codes200 OKAudit completed immediately (synchronous mode).
{
"confidenceScore": 95,
"overallStatus": "pass",
"summary": "This submission meets all core program requirements and is eligible for reimbursement approval.",
"receiptFormat": {
"isValid": true,
"summary": "All required receipt format elements are present (itemized, date, provider).",
"missingFields": []
},
"purchaseLimitations": {
"hasLimitations": false,
"summary": "No purchase frequency caps or dollar limits violated for tutoring under FL_PEP guidelines.",
"limitations": []
},
"supportingDocumentation": {
"hasRequirements": true,
"summary": "All required supporting documentation (Instructor Credentials) is attached and verified.",
"requiredDocuments": [
{
"documentType": "Instructor Credentials",
"isAttached": true,
"status": "attached"
}
]
},
"flags": [],
"justificationAnalysis": [
{
"lineItemIndex": 0,
"strength": "strong",
"reason": "Justification clearly articulates the educational purpose and direct developmental benefit for the student.",
"improvementHints": []
}
],
"disclaimer": "This audit is an AI-powered advisory review. Final reimbursement authority rests with the program scholarship granting organization."
}Interactive Test Console
detailedAnalysis
strictHandbookRules