Skip to main content

Service card: Integrations

PurposeTax (AvaTax) and exchange rates (Bank of Canada) for every PVC Connect application
OwnsTax documents, tax-code mappings, entity tax configuration, rates and locks, certificate requests, party sync state
Does not ownCustomers and vendors (PVC Connect is the source; this service keeps a synced copy), GL postings, Sage
ExposesREST /api/v1 (reference), events on RabbitMQ (catalog)
Consumes7 messages from PVC Connect (catalog)
Depends onPostgres (required), RabbitMQ, Avalara AvaTax, Bank of Canada Valet
Runs asintegrations-api and integrations-worker Deployments (one image)
Health/health/live, /health/ready (database only), /health/providers (AvaTax), /health/bus (RabbitMQ)
TelemetryOpenTelemetry traces and metrics (OTEL_EXPORTER_OTLP_ENDPOINT), Serilog JSON logs, meter Integrations
DocsHandbook (here), API reference, .NET reference, runbook
RepositoryJDoyleB/AvaTax

Scheduled jobs (Worker)​

JobEveryDoes
fx-daily-import1 hImports the FX source's rates, re-reading 10 days so late publications land
tax-pending-recalculation2 minFinishes PendingTax documents (exponential back-off per document)
party-sync-retry10 minSends pending customers and vendors
certificate-watch1 hRe-checks outstanding resale requests and announces expiring exemption certificates
tax-reconciliationdaily, 03:00 business timeCompares the last 3 days of committed documents with AvaTax
deferred-message-redelivery30 sSends parked messages that are due back to their queue (ADR 0008)

Every Worker replica polls the jobs; job_runs and a Postgres advisory lock make each run happen once. See their status with GET /api/v1/admin/jobs and run one now with POST /api/v1/admin/jobs/{name}/run.