Class BreExemptVatRules

Namespace
EInvoice.Core.Validation.Rules.EN16931
Assembly
EInvoice.Core.dll

BR-E: VAT exempt category family checks.

public sealed class BreExemptVatRules : IValidationRule
Inheritance
BreExemptVatRules
Implements
Inherited Members

Properties

RuleId

Rule identifier (e.g. "BR-01", "BR-DE-1").

public string RuleId { get; }

Property Value

string

Methods

Apply(Invoice)

Apply this rule to the invoice and return any violations.

public IEnumerable<ValidationMessage> Apply(Invoice invoice)

Parameters

invoice Invoice

Returns

IEnumerable<ValidationMessage>

Apply(Invoice, VatCategoryIndex)

Apply this rule using a pre-built category index for improved performance. The default implementation ignores the index and delegates to Apply(Invoice). Override in rules that benefit from pre-indexed data.

public IEnumerable<ValidationMessage> Apply(Invoice invoice, VatCategoryIndex index)

Parameters

invoice Invoice
index VatCategoryIndex

Returns

IEnumerable<ValidationMessage>