Accounting Export Store
Component Detail
Data Layer
medium complexity
backend
0
Dependencies
0
Dependents
6
Entities
0
Integrations
Description
Persists export batch records including status, timestamps, line item counts, external reference IDs, and error details. Supports querying export history for the admin UI and retry logic.
accounting-export-store
Responsibilities
- Create and update export batch records with status tracking
- Store per-line-item export results and external reference IDs
- Provide queryable export history for admin dashboard and audit
Interfaces
createExportRecord(organizationId, batchDetails)
updateExportStatus(exportId, status, details)
getExportById(exportId)
listExports(organizationId, filters)
getFailedExports(organizationId)
markLineItemExported(reimbursementId, externalRefId)
Related Data Entities (6)
Data entities managed by this component