Class BrDeCvd06CvdAttributePairing

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

BR-DECVD-06: Each invoice line must have a 1:1 relationship between CVD-scheme classifications and "cva" attributes.

public sealed class BrDeCvd06CvdAttributePairing : IValidationRule
Inheritance
BrDeCvd06CvdAttributePairing
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>