Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficeInvoice

Module PSWriteOffice
Inputs
System.String
Outputs
OfficeIMO.Invoicing.Invoice

Reads CII or UBL while retaining unmapped-source evidence for later saves.

Syntax

Get-OfficeInvoice [-AsResult] [-Path] <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Reads CII or UBL while retaining unmapped-source evidence for later saves.

Get-Item ./invoice.xml | Get-OfficeInvoice

Parameters

-AsResult SwitchParameter optional
Return the source declaration and unmapped-data diagnostics around the editable model.
-Path String requiredposition: 0pipeline: True (ByValue, ByPropertyName)aliases: FilePath, FullName, LiteralPath
Literal invoice XML path.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.