Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficeInvoiceParty

Module PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Invoicing.InvoiceParty

Creates a seller or buyer from ordinary party and address parameters.

Syntax

New-OfficeInvoiceParty [-AddressLine <String>] [-City <String>] -CountryCode <String> [-Name] <String> [-PostCode <String>] [-VatId <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Creates a seller or buyer from ordinary party and address parameters.

$seller = New-OfficeInvoiceParty -Name Example -CountryCode DE -VatId DE123456789

Parameters

-AddressLine String optional
First address line.
-City String optional
City.
-CountryCode String required
ISO two-letter country code.
-Name String requiredposition: 0
Legal party name.
-PostCode String optional
Postal code.
-VatId String optional
VAT registration identifier.

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.