Tax Service
The tax service provides the bounded context Tax.
It is responsible for managing tax rates and their versions.
Domain Model
Technology Stack
- Language: Kotlin
- Framework: Spring Boot
- GraphQL Library: GraphQL Kotlin
- Database: PostgreSQL
- Schema Management: Flyway
Events
This section lists events that are defined or used by the tax service.
Published Events
tax/tax-rate/created
This event is published when a new tax rate is created.
{
id: string,
name: string,
description: string,
currentVersionId: string
}
tax/tax-rate-version/created
This event is published when a new tax rate version is created. This includes the initial version created when a tax rate is created.
{
id: string,
rate: number,
version: number,
createdAt: string,
taxRateId: string
}