Table of Contents

Class TaxCalculationFailed

Namespace
Integrations.Contracts.Events
Assembly
Integrations.Contracts.dll

The tax provider rejected the document. It needs a corrected request.

public sealed record TaxCalculationFailed : IEquatable<TaxCalculationFailed>
Inheritance
TaxCalculationFailed
Implements
Inherited Members

Constructors

TaxCalculationFailed(Guid, string, string, string, string, IReadOnlyList<string>, DateTimeOffset)

The tax provider rejected the document. It needs a corrected request.

public TaxCalculationFailed(Guid DocumentId, string EntityId, string SourceSystem, string SourceDocumentId, string Reason, IReadOnlyList<string> Details, DateTimeOffset OccurredAt)

Parameters

DocumentId Guid

Document id.

EntityId string

Owning entity.

SourceSystem string

Caller's system.

SourceDocumentId string

Caller's document id; resend with the same id once corrected.

Reason string

The provider's reason.

Details IReadOnlyList<string>

Field-level detail from the provider.

OccurredAt DateTimeOffset

When it was rejected.

Properties

Details

Field-level detail from the provider.

public IReadOnlyList<string> Details { get; init; }

Property Value

IReadOnlyList<string>

DocumentId

Document id.

public Guid DocumentId { get; init; }

Property Value

Guid

EntityId

Owning entity.

public string EntityId { get; init; }

Property Value

string

OccurredAt

When it was rejected.

public DateTimeOffset OccurredAt { get; init; }

Property Value

DateTimeOffset

Reason

The provider's reason.

public string Reason { get; init; }

Property Value

string

SourceDocumentId

Caller's document id; resend with the same id once corrected.

public string SourceDocumentId { get; init; }

Property Value

string

SourceSystem

Caller's system.

public string SourceSystem { get; init; }

Property Value

string