Table of Contents

Class TaxDocumentCommitted

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

Tax committed (reportable). Invoices and credits both raise this; check Document.Kind. GlCategory/GlAccount tell the ERP sync where the tax posts.

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

Constructors

TaxDocumentCommitted(TaxDocumentDto, GlCategory, string?, DateTimeOffset)

Tax committed (reportable). Invoices and credits both raise this; check Document.Kind. GlCategory/GlAccount tell the ERP sync where the tax posts.

public TaxDocumentCommitted(TaxDocumentDto Document, GlCategory GlCategory, string? GlAccount, DateTimeOffset OccurredAt)

Parameters

Document TaxDocumentDto

The committed document.

GlCategory GlCategory

Sales tax payable (AR) or use tax accrual (AP).

GlAccount string

The entity's GL account for that category, if configured.

OccurredAt DateTimeOffset

When it was committed.

Properties

Document

The committed document.

public TaxDocumentDto Document { get; init; }

Property Value

TaxDocumentDto

GlAccount

The entity's GL account for that category, if configured.

public string? GlAccount { get; init; }

Property Value

string

GlCategory

Sales tax payable (AR) or use tax accrual (AP).

public GlCategory GlCategory { get; init; }

Property Value

GlCategory

OccurredAt

When it was committed.

public DateTimeOffset OccurredAt { get; init; }

Property Value

DateTimeOffset