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
DocumentTaxDocumentDtoThe committed document.
GlCategoryGlCategorySales tax payable (AR) or use tax accrual (AP).
GlAccountstringThe entity's GL account for that category, if configured.
OccurredAtDateTimeOffsetWhen it was committed.
Properties
Document
The committed document.
public TaxDocumentDto Document { get; init; }
Property Value
GlAccount
The entity's GL account for that category, if configured.
public string? GlAccount { get; init; }
Property Value
GlCategory
Sales tax payable (AR) or use tax accrual (AP).
public GlCategory GlCategory { get; init; }
Property Value
OccurredAt
When it was committed.
public DateTimeOffset OccurredAt { get; init; }