Service Layer medium complexity backend
0
Dependencies
0
Dependents
3
Entities
0
Integrations

Description

Manages the mapping between Meander expense types and each organization's chart-of-account codes. Validates that all expense types used in a batch have valid mappings before export, preventing partial or unmapped entries from reaching the accounting system.

Feature: Accounting API

accounting-mapping-service

Responsibilities

  • Store and retrieve expense-type-to-account-code mappings per organization
  • Validate completeness of mappings before export execution
  • Support multiple accounting providers with different account code formats

Interfaces

getMappings(organizationId)
setMapping(organizationId, expenseTypeId, accountCode)
deleteMappings(organizationId, expenseTypeId)
validateMappingsComplete(organizationId, expenseTypeIds)
importMappings(organizationId, mappingsArray)
exportMappings(organizationId)