Credit Invoice Input
Input representation of the details of the request to create a credit memo.
This example shows a sample request with the Calculate tax strategy.
This example shows a sample request with the CopyFromInvoiceLine tax strategy.
This example shows a sample request with the ManualOverride and CopyFromInvoiceLine tax strategies.
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
description | String | Description for the credit memo to be created. | Optional | 62.0 |
effectiveDate | String | Date when the credit memo takes effect. | Optional | 62.0 |
invoiceLines | Credit Invoice Line Input[] | List of the invoice lines to be credited. The invoice line IDs must be related to the invoice ID specified in the API request. If invoice lines aren’t specified, the API request results in an error. | Required | 62.0 |
taxEffectiveDate | String | Date when the tax takes effect to recalculate the taxes. | Optional | 62.0 |
taxStrategy | String | Required | 62.0 | |
type | String | Optional | 62.0 |
Supported values:
Ignore—Specifies that the creation of tax lines must be ignored.ManualOverride—Specifies that the provided tax values must be considered for taxes.CopyFromInvoiceLine—Specifies that tax values must be copied from the invoice line.Calculate—Specifies that tax must be calculated by using the API.