Cmdlet
Add-OfficeInvoiceLine
Adds an invoice line with explicit quantity, price and VAT.
Syntax
Add-OfficeInvoiceLine [-ExemptionReason <String>] [-Id <String>] -Invoice <Invoice> [-Name] <String> [-PassThru] -Quantity <Decimal> [-TaxCategory <String>] [-TaxRate <Decimal>] -UnitPrice <Decimal> [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Adds an invoice line with explicit quantity, price and VAT.
$invoice | Add-OfficeInvoiceLine -Name Consulting -Quantity 1 -UnitPrice 100 -TaxRate 19Parameters
- -ExemptionReason String
- Exemption reason when required by the category.
- -Id String
- Optional stable line identifier; omission uses the next line number.
- -Invoice Invoice
- Editable invoice.
- -Name String
- Line description.
- -PassThru SwitchParameter
- Return the created or changed object.
- -Quantity Decimal
- Quantity.
- -TaxCategory String
- UNCL 5305 VAT category, such as S, Z or E.
- -TaxRate Decimal
- VAT percentage; omission is retained for categories that prohibit a rate.
- -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.