Class UblCrValidationContext
- Namespace
- EInvoice.Core.Validation
- Assembly
- EInvoice.Core.dll
Optional UBL syntax metadata used to opt in to advisory UBL-CR checks. The EN 16931 Invoice model intentionally does not expose raw UBL syntax fields such as UBLExtensions, UBLVersionID, or ProfileExecutionID. Provide these values explicitly when such checks should run.
public sealed record UblCrValidationContext : IEquatable<UblCrValidationContext>
- Inheritance
-
UblCrValidationContext
- Implements
- Inherited Members
Properties
HasUblExtensions
True when the source UBL document contains one or more UBLExtension entries. Null means unknown and causes UBL-CR-001 to be skipped.
public bool? HasUblExtensions { get; init; }
Property Value
- bool?
ProfileExecutionId
Raw ProfileExecutionId from the source UBL syntax, if available. Null means unknown and causes UBL-CR-003 to be skipped.
public string? ProfileExecutionId { get; init; }
Property Value
UblVersionId
Raw UBLVersionID from the source UBL syntax, if available. Null means unknown and causes UBL-CR-002 to be skipped.
public string? UblVersionId { get; init; }