ConnectApi.StandaloneCreditMemoInputRequest

Input representation of the details required to create a standalone credit memo.

PropertyTypeDescriptionRequired or OptionalAvailable Version
billToContactIdStringContact related to the credit memo.Optional62.0
billingAccountIdStringID of the account that the credit is issued to.Required62.0
chargesList<ConnectApi.StandaloneCreditMemoChargeInputRequest>Charge lines of the credit memo. Requires at least one charge line.Required62.0
currencyIsoCodeStringISO code currency of the new credit that’s issued.Optional62.0
descriptionStringDescription for the new credit that’s issued.Optional62.0
effectiveDateStringEffective date of the credit memo. If the value isn’t specified, then it’s null.Optional62.0
externalReferenceStringID of the external reference for the credit memo.Optional62.0
externalReferenceDataSourceStringSource of the external reference for the credit memo.Optional62.0
taxEffectiveDateStringEffective date of the credit memo tax. If the value isn’t specified, then it’s null.Optional62.0
taxStrategyConnectApi.StandaloneTaxStrategyEnumSpecifies how tax lines must be created for the standalone credit memos.Required62.0
typeConnectApi.CreditMemoTypeEnumType of credit memo to be created. Valid values are Posted and Draft. Specify Draft as a value in your request to create draft credit memos.Optional62.0

taxStrategy values:

  • Ignore—Specifies that the creation of tax lines must be ignored.
  • Manual Override—Specifies that the provided tax values must be considered for taxes.
  • Calculate—Specifies that tax must be calculated by using the API.