< Back
Get-PartnerInvoiceStatement
Post
NAME Get-PartnerInvoiceStatement
SYNOPSIS
Gets an invoice statement using the invoice identifier.
SYNTAX
Get-PartnerInvoiceStatement -InvoiceId <String> [-OutputPath <String>] [-Overwrite] [<CommonParameters>]
DESCRIPTION
Gets an invoice statement using the invoice identifier and writes it to the specified path.
PARAMETERS
-InvoiceId <String>
The invoice id of the statement to retrieve.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OutputPath <String>
The output path of the PDF statement file.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Overwrite [<SwitchParameter>]
A flag indicating whether or to overwrite the file if it exists.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
System.Object
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Get-PartnerInvoiceStatement -InvoiceId G000024135 -OutputPath 'C:\\Invoices\\'
Downloads the invoice statement associated with the invoice with the identifier of G000024135.
RELATED LINKS
Online Version: https://docs.microsoft.com/powershell/m ... eStatement
SYNOPSIS
Gets an invoice statement using the invoice identifier.
SYNTAX
Get-PartnerInvoiceStatement -InvoiceId <String> [-OutputPath <String>] [-Overwrite] [<CommonParameters>]
DESCRIPTION
Gets an invoice statement using the invoice identifier and writes it to the specified path.
PARAMETERS
-InvoiceId <String>
The invoice id of the statement to retrieve.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OutputPath <String>
The output path of the PDF statement file.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Overwrite [<SwitchParameter>]
A flag indicating whether or to overwrite the file if it exists.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
System.Object
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Get-PartnerInvoiceStatement -InvoiceId G000024135 -OutputPath 'C:\\Invoices\\'
Downloads the invoice statement associated with the invoice with the identifier of G000024135.
RELATED LINKS
Online Version: https://docs.microsoft.com/powershell/m ... eStatement