Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

InvoiceSerializer

OfficeIMO.Invoicing

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

Native deterministic CII/UBL serialization over the semantic invoice model.

Inheritance

  • object
  • InvoiceSerializer

Methods

public static IReadOnlyList<InvoiceDiagnostic> InspectTarget(Invoice invoice, InvoiceXmlOptions options) #

Validates the model and reports unsupported target mappings without writing or silently discarding information.

Parameters

invoice OfficeIMO.Invoicing.Invoice required
options OfficeIMO.Invoicing.InvoiceXmlOptions required

Returns

IReadOnlyList<InvoiceDiagnostic>
public static byte[] Write(Invoice invoice, InvoiceXmlOptions options) #

Validates the model and writes UTF-8 XML without a BOM. Identical models and options produce identical bytes.

Parameters

invoice OfficeIMO.Invoicing.Invoice required
options OfficeIMO.Invoicing.InvoiceXmlOptions required

Returns

byte[]