Cmdlet
Export-OfficeInvoicePdf
Creates a visible PDF and embedded invoice XML from the same captured model.
Syntax
Export-OfficeInvoicePdf [-Force] -Invoice <Invoice> [-PassThru] [-Path] <String> [-PdfOptions <PdfOptions>] [-Profile <InvoiceProfile>] [-SpecificationRelease <InvoiceSpecificationRelease>] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Creates a visible PDF and embedded invoice XML from the same captured model.
$invoice | Export-OfficeInvoicePdf -Path ./invoice.pdfParameters
- -Force SwitchParameter
- Replace an existing destination.
- -Invoice Invoice
- Editable invoice.
- -PassThru SwitchParameter
- Return the saved file.
- -Path String
- Destination PDF filename.
- -PdfOptions PdfOptions
- Optional existing PDF rendering options.
- -Profile InvoiceProfile
- Embedded invoice profile.
- Possible values:
Minimum,BasicWithoutLines,Basic,En16931,Extended,XRechnung,PeppolBis,ExtendedCtcFr - -SpecificationRelease InvoiceSpecificationRelease
- Exact supported CII specification for the embedded invoice.
- Possible values:
En16931_1_3_16,FacturX_1_09_2_Zugferd_2_5_2,XRechnung_3_0_2_2026_08_31,PeppolBis_3_0_21
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.