createCreditMemo

Creates a 'Credit memo'

Input fields

input (CreateCreditMemoInput)

Return fields

id (ID!)

ID of the object.

createdOn (DateTime)

Date and time of creation.

updatedOn (DateTime)

Date and time of last update.

ref (String!)

External reference to the CreditMemo. Must be unique.

attributes ([Attribute])

A list of attributes associated with the CreditMemo. This can be used to extend the existing data structure with additional data.

type (String)

Type of the CreditMemo, typically used by the Orchestration Engine to determine the workflow that should be applied.

status (String)

Status of the CreditMemo.

billingAccount (BillingAccount)

BillingAccount associated with the CreditMemo.

invoice (Invoice)

Invoice associated with this CreditMemo.

order (OrderLink)

Reference to an Order associated with the CreditMemo.

returnOrder (ReturnOrderLink)

Reference to a ReturnOrder associated with the CreditMemo.

issueDate (DateTime)

Issue date

currency (CurrencyLink)

Reference to the currency type. Generally, the standard ISO-4217 is used.

defaultTaxType (TaxType)

Default tax type

subTotalAmount (AmountType)

Sub-total amount

totalTax (AmountType)

Total tax

totalAmount (AmountType)

Total amount

totalBalance (AmountType)

Total balance

workflow (WorkflowLink)

The reference to the workflow associated.

workflowRef (String)
Deprecation notice

No longer supported

DEPRECATED, please use the field workflow instead - The reference of the workflow.

workflowVersion (String)
Deprecation notice

No longer supported

DEPRECATED, please use the field workflow instead - The version of the workflow.