Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

InvoiceModelValidationResult

Namespace OfficeIMO.Invoicing
Assembly OfficeIMO.Invoicing
Modifiers sealed

Model validation result; this is not an authoritative schema or Schematron compliance certificate.

Inheritance

  • Object
  • InvoiceModelValidationResult

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public Void ThrowIfInvalid() #
Returns: Void

Throws with the diagnostics when the model cannot be emitted safely.

Properties

public IReadOnlyList<InvoiceDiagnostic> Diagnostics { get; } #

At most 999 model and declared-amount diagnostics, followed by a highest-severity summary when further findings are omitted.

public InvoiceCalculation Calculation { get; } #

Calculated totals when arithmetic inputs permit calculation.

public Boolean IsValid { get; } #

True when model validation produced no errors.