Data Layer medium complexity backend
0
Dependencies
2
Dependents
0
Entities
0
Integrations

Description

Persistent log of every accounting system delivery attempt per organization. Stores request payloads, HTTP response codes, retry counts, error details, and resolution timestamps. Queryable from the admin portal for reconciliation and debugging by finance staff.

Feature: Accounting API

accounting-integration-logs-table

Responsibilities

  • Record every delivery attempt with org ID, provider, timestamp, and outcome
  • Persist request payload snapshot and response body for audit and debugging
  • Track retry count and next-retry timestamp for pending retries

Interfaces

createLog(entry): Promise<number>
updateLog(logId, patch): Promise<void>
queryLogs(orgId, filters): Promise<AccountingLogEntry[]>
getLog(logId): Promise<AccountingLogEntry>

Relationships

Dependents (2)

Components that depend on this component