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
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.
Properties
Details
Field-level detail from the provider.
public IReadOnlyList<string> Details { get; init; }
Property Value
DocumentId
Document id.
public Guid DocumentId { get; init; }
Property Value
EntityId
Owning entity.
public string EntityId { get; init; }
Property Value
OccurredAt
When it was rejected.
public DateTimeOffset OccurredAt { get; init; }
Property Value
Reason
The provider's reason.
public string Reason { get; init; }
Property Value
SourceDocumentId
Caller's document id; resend with the same id once corrected.
public string SourceDocumentId { get; init; }
Property Value
SourceSystem
Caller's system.
public string SourceSystem { get; init; }