Skip to main content

TaxCalculationFailed

Published by this service. The tax provider rejected the document. It needs a corrected request.

When​

The provider rejected the document (bad address, unknown tax code, ...). The document is Failed; retrying the same data will not help.

What to do with it​

Show reason and details to the coordinator. Fix the data and resend with the same sourceDocumentId; the failed document is replaced.

Routing​

Exchange pvc.integrations.tax-calculation-failed (fanout). Bind your own queue to it. The JSON envelope's messageType is urn:message:Integrations.Contracts.Events:TaxCalculationFailed.

Fields​

FieldTypeMeaning
documentIdGuidDocument id.
entityIdstringOwning entity.
sourceSystemstringCaller's system.
sourceDocumentIdstringCaller's document id; resend with the same id once corrected.
reasonstringThe provider's reason.
detailsIReadOnlyList<string>Field-level detail from the provider.
occurredAtDateTimeOffsetWhen it was rejected.