Class BrDeCvd03AtLeastOneCvdLine
- Namespace
- EInvoice.Core.Validation.Rules.CVD
- Assembly
- EInvoice.Core.dll
BR-DECVD-03: At least one invoice line must have both a CVD-scheme classification and a "cva" attribute.
public sealed class BrDeCvd03AtLeastOneCvdLine : IValidationRule
- Inheritance
-
BrDeCvd03AtLeastOneCvdLine
- 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