Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

InvoiceSerializer

Namespace OfficeIMO.Invoicing
Assembly OfficeIMO.Invoicing
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) #
Returns: IReadOnlyList<InvoiceDiagnostic>

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

Parameters

invoice OfficeIMO.Invoicing.Invoice requiredposition: 0
options OfficeIMO.Invoicing.InvoiceXmlOptions requiredposition: 1
public static Byte[] Write(Invoice invoice, InvoiceXmlOptions options) #
Returns: Byte[]

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

Parameters

invoice OfficeIMO.Invoicing.Invoice requiredposition: 0
options OfficeIMO.Invoicing.InvoiceXmlOptions requiredposition: 1