Class BroVatNotSubjectToTaxRules
- Namespace
- EInvoice.Core.Validation.Rules.EN16931
- Assembly
- EInvoice.Core.dll
BR-O-01..14: VAT rules for category "O" (Not subject to VAT).
public sealed class BroVatNotSubjectToTaxRules : IValidationRule
- Inheritance
-
BroVatNotSubjectToTaxRules
- Implements
- Inherited Members
Properties
RuleId
Rule identifier (e.g. "BR-01", "BR-DE-1").
public string RuleId { get; }
Property Value
Methods
Apply(Invoice)
Apply this rule to the invoice and return any violations.
public IEnumerable<ValidationMessage> Apply(Invoice invoice)
Parameters
invoiceInvoice
Returns
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
invoiceInvoiceindexVatCategoryIndex