Examples
The following sections provide examples of working with InvoiceItemAdjustment.
Create an InvoiceItemAdjustment
An InvoiceItemAdjustment is used when you want to adjust a line item from an invoice. The line item can be either an InvoiceItem.
To create a $2.00 credit InvoiceItemAdjustment for an invoice line item where the Invoice Number is specified:
To create a $5.00 credit InvoiceItemAdjustment for an taxation line item where the InvoiceId is specified:
Cancel an InvoiceItemAdjustment
You can cancel an InvoiceItemAdjustment programmatically by updating its status to canceled .