Class BrDeCvd01ContractReference

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

BR-DECVD-01: ContractReference (BT-12) must not be empty for CVD invoices.

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