Returns all invoices or the specified invoice.
Get-PCInvoice [[-InvoiceId] <String>] [-Summary] [[-SaToken] <String>] [<CommonParameters>]
The Get-PCInvoice cmdlet retrieves either a specific invoice or a list of invoices. This cmdlet requires App+User authentication.
Specifies an invoice id to return.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
Specifies whether to retrieve a summary of the invoice.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
Specifies an authentication token with your Partner Center credentials.
Required? false
Position? 2
Default value $GlobalToken
Accept pipeline input? false
Accept wildcard characters? false
This cmdlet requires App+User authentication.
Return all invoices.
PS C:\>Get-PCInvoice
Return the specified invoice
PS C:\>$invoice = Get-PCInvoice -InvoiceId D030001IZ6
Return a summary of the specified invoice
PS C:\>$invoice = Get-PCInvoice -InvoiceId D030001IZ6 -Summary