Cmdlet
New-OfficeInvoice
Creates an editable invoice without serializing or declaring standards compliance.
Syntax
New-OfficeInvoice -Buyer <InvoiceParty> [-Currency <String>] -IssueDate <DateTime> [-Number] <String> -Seller <InvoiceParty> [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Creates an editable invoice without serializing or declaring standards compliance.
$invoice = New-OfficeInvoice -Number INV-001 -IssueDate 2026-10-20 -Seller $seller -Buyer $buyer -Currency EURParameters
- -Buyer InvoiceParty
- Buyer party, created with New-OfficeInvoiceParty or a property hashtable.
- -Currency String
- ISO currency code.
- -IssueDate DateTime
- Explicit issue date.
- -Number String
- Seller-assigned document number.
- -Seller InvoiceParty
- Seller party, created with New-OfficeInvoiceParty or a property hashtable.
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.