Cmdlet
Set-OfficeInvoiceLine
Edits selected line fields while retaining other invoice content.
Syntax
Set-OfficeInvoiceLine -Line <InvoiceLine> [-Name <String>] [-PassThru] [-Quantity <Decimal>] [-TaxCategory <String>] [-TaxRate <Decimal>] [-UnitPrice <Decimal>] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Edits selected line fields while retaining other invoice content.
$invoice | Get-OfficeInvoiceLine -Id 1 | Set-OfficeInvoiceLine -Quantity 3Parameters
- -Line InvoiceLine
- Editable invoice line.
- -Name String
- Description.
- -PassThru SwitchParameter
- Return the changed line.
- -Quantity Decimal
- Quantity.
- -TaxCategory String
- VAT category.
- -TaxRate Decimal
- VAT percentage.
- -UnitPrice Decimal
- Net unit price.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.