Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
85 lines (56 loc) · 1.53 KB

Get-PCInvoice.md

File metadata and controls

85 lines (56 loc) · 1.53 KB

Get-PCInvoice

Returns all invoices or the specified invoice.

SYNTAX

Get-PCInvoice [[-InvoiceId] <String>] [-Summary] [[-SaToken] <String>] [<CommonParameters>]

DESCRIPTION

The Get-PCInvoice cmdlet retrieves either a specific invoice or a list of invoices. This cmdlet requires App+User authentication.

PARAMETERS

-InvoiceId <String>

Specifies an invoice id to return.

Required?                    false
Position?                    1
Default value
Accept pipeline input?       false
Accept wildcard characters?  false

-Summary <SwitchParameter>

Specifies whether to retrieve a summary of the invoice.

Required?                    false
Position?                    named
Default value                False
Accept pipeline input?       false
Accept wildcard characters?  false

-SaToken <String>

Specifies an authentication token with your Partner Center credentials.

Required?                    false
Position?                    2
Default value                $GlobalToken
Accept pipeline input?       false
Accept wildcard characters?  false

INPUTS

OUTPUTS

NOTES

This cmdlet requires App+User authentication.

EXAMPLES

EXAMPLE 1

Return all invoices.

PS C:\>Get-PCInvoice

EXAMPLE 2

Return the specified invoice

PS C:\>$invoice = Get-PCInvoice -InvoiceId D030001IZ6

EXAMPLE 3

Return a summary of the specified invoice

PS C:\>$invoice = Get-PCInvoice -InvoiceId D030001IZ6 -Summary