Returns a specified invoice line item. This requires App+User authentication.
Get-PCInvoiceLineItem [-InvoiceId] <String> [-BillingProvider] <String> [-InvoiceLineItemType] <String> [[-ResultSize] <Int32>] [[-Offset] <Int32>] [[-SaToken] <String>] [<CommonParameters>]
The Get-PCInvoiceLineItem cmdlet.
Specifies the invoice id to retrieve.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
Specifies either Azure or Office.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
Specifies either BillingLineItems for invoiced licence-based services or UsageLineItems for invoiced usage-based services.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
Specifies the maximum number of results to return. The default value is 200, the maximum allowed value is 500.
Required? false
Position? 4
Default value 200
Accept pipeline input? false
Accept wildcard characters? false
Specifies an offset
Required? false
Position? 5
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Specifies an authentication token with your Partner Center credentials.
Required? false
Position? 6
Default value $GlobalToken
Accept pipeline input? false
Accept wildcard characters? false
Retrieve a list of Azure usage from invoice D030001IZ6.
PS C:\>Get-PCInvoiceLineItem -InvoceId D030001IZ6 -BillingProvider Azure -InvoiceLineItemType UsageLineItems