Share via


Get-PartnerInvoiceLineItem

Gets the line items for the specified invoice.

Syntax

Default (Default)

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.

Parameter properties

Type:BillingProvider
Default value:None
Accepted values:All, Azure, Marketplace, Office, OneTime
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CurrencyCode

The currency code for the unbilled line items.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InvoiceId

The identifier corresponding to the invoice.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LineItemType

The type of invoice line items.

Parameter properties

Type:InvoiceLineItemType
Default value:None
Accepted values:BillingLineItems, UsageLineItems
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

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