Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

InvoiceReadResult

OfficeIMO.Invoicing

Namespace
OfficeIMO.Invoicing
Assembly
OfficeIMO.Invoicing
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Parsed editable invoice together with source identity and all unmapped business data.

Inheritance

  • object
  • InvoiceReadResult

Usage

Explore 2 API references to this type

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

Returned or exposed by 1

Accepted by parameters 1

Methods

public byte[] GetOriginalBytes() #

Returns the original bytes unchanged, regardless of subsequent model edits.

Returns

byte[]
public byte[] Write(InvoiceXmlOptions options, bool allowUnmappedDataLoss = false) #

Writes the edited model. By default, any unmapped source data blocks rewriting.

Parameters

options OfficeIMO.Invoicing.InvoiceXmlOptions required
allowUnmappedDataLoss bool = false optional

Returns

byte[]

Properties

public Invoice Invoice { get; } #

Editable semantic model. Declared source amounts remain available for comparison.

public InvoiceProfileDeclaration Declaration { get; } #

Source syntax and guideline declaration.

public IReadOnlyList<InvoiceDiagnostic> UnmappedData { get; } #

Elements, attributes or semantic variations that the model could not preserve.

public bool HasCompleteMapping { get; } #

True when the supported model can represent all observed source business data.