Get-PartnerInvoiceLineItem

Gets the line items for the specified invoice.

Syntax

Get-PartnerInvoiceLineItem
   -BillingProvider <BillingProvider>
   [-CurrencyCode <String>]
   -InvoiceId <String>
   -LineItemType <InvoiceLineItemType>
   [<CommonParameters>]

Description

Gets the line items for the specified invoice.

Examples

Example 1

PS C:\> Get-PartnerInvoiceLineItem -BillingProvider Azure -InvoiceId 'D070002ISK' -LineItemType 'BillingLineItems'

Gets the line items for the specified invoice.

Parameters

-BillingProvider

The billing provide for the line items.

Type:BillingProvider
Accepted values:All, Azure, Marketplace, Office, OneTime
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-CurrencyCode

The currency code for the unbilled line items.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InvoiceId

The identifier corresponding to the invoice.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-LineItemType

The type of invoice line items.

Type:InvoiceLineItemType
Accepted values:BillingLineItems, UsageLineItems
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Store.PartnerCenter.PowerShell.Models.Invoices.PSDailyRatedUsageLineItem

Microsoft.Store.PartnerCenter.PowerShell.Models.Invoices.PSDailyUsageLineItem

Microsoft.Store.PartnerCenter.PowerShell.Models.Invoices.PSLicenseBasedLineItem

Microsoft.Store.PartnerCenter.PowerShell.Models.Invoices.PSOneTimeInvoiceLineItem

Microsoft.Store.PartnerCenter.PowerShell.Models.Invoices.PSUsageBasedLineItem