/api/v1/accounting/sage200evolution/tax-mappings
auth: jwt (administrator)List all Sage 200 Evolution tax-mappings for the business (`Provider='sage200evolution'`). The path-param `:id` everywhere else in this surface is the Sage `idTaxRate` (the provider tax type).
handlers: Sage200EvolutionTaxMappingsController.list
No parameters.
APIResponseDataList<TaxRateMappingDTO>/api/v1/accounting/sage200evolution/tax-mappings/auto
auth: jwt (administrator)One-off auto-map against the customer's on-premise Sage 200 Evolution database. Opens a direct MSSQL connection using the supplied credentials, runs `SELECT idTaxRate, Code, cFiscalTaxLabel FROM dbo.TaxRate`, and upserts a proposed mapping for every row not already mapped. Distinct from the `auto-map` pattern used by Xero/Sage/MYOB — this endpoint reads the customer's own DB and persists proposals immediately.
handlers: Sage200EvolutionTaxMappingsController.autoMap
| name | required | default | description |
|---|---|---|---|
host bodystring | yes | — | Sage 200 Evolution DB host (customer's on-prem MSSQL server). |
port bodyinteger | yes | — | MSSQL port (1–65535). Coerced from string if needed. |
database bodystring | yes | — | Database name. |
user bodystring | yes | — | SQL login. |
password bodystring | yes | — | SQL password. |
APIResponseDataObject<{ proposed: TaxRateMappingDTO[]; skipped: object[]; alreadyMapped: number }>APIError/api/v1/accounting/sage200evolution/tax-mappings/:id
auth: jwt (administrator)Upsert a single Sage 200 Evolution mapping. `:id` is the Sage `idTaxRate` (provider tax type). Body carries the V-SDC label + optional metadata.
handlers: Sage200EvolutionTaxMappingsController.upsert
| name | required | default | description |
|---|---|---|---|
id pathstring | yes | — | Sage `idTaxRate` — the provider tax type. |
providerTaxName bodystring | null | no | — | Human-readable Sage tax name. |
providerRate bodynumber | null | no | — | Sage tax rate percent. |
vsdcTaxLabel bodystring | yes | — | V-SDC label. |
vsdcRate bodynumber | null | no | — | V-SDC rate percent. |
APIResponseDataObject<TaxRateMappingDTO>APIError/api/v1/accounting/sage200evolution/tax-mappings/:id
auth: jwt (administrator)Soft-delete a Sage 200 Evolution mapping (`IsActive=0`). Idempotent.
handlers: Sage200EvolutionTaxMappingsController.remove
| name | required | default | description |
|---|---|---|---|
id pathstring | yes | — | Sage `idTaxRate`. |
empty/api/v1/accounting/sage200evolution/tax-mappings/:id/restore
auth: jwt (administrator)Re-activate a deactivated Sage 200 Evolution mapping (`IsActive=1`). Note: uses POST (unlike the Xero/Sage/MYOB restore endpoints which use PATCH). Idempotent.
handlers: Sage200EvolutionTaxMappingsController.restore
| name | required | default | description |
|---|---|---|---|
id pathstring | yes | — | Sage `idTaxRate`. |
empty