mutation legacyCreditNoteCreate ($attributes: LegacyCreditNoteAttributes!) {
legacyCreditNoteCreate (attributes: $attributes) {
creditNote {
accountId
amount
amountApplied
amountUnapplied
createdAt
creditedInvoiceId
currencyId
description
disputeReasonId
entityId
id
isCredit
isLegacy
issuedAt
number
subtotal
taxAmount
updatedAt
uuid
warrenId
}
errors
}
}
{
"attributes": {
"accountId": "456123",
"accountCode": "",
"currencyId": "456123",
"number": "",
"amount": "1.00",
"taxAmount": "1.00",
"subtotal": "1.00",
"baseCurrencyTotal": "1.00",
"issuedAt": "2022-06-01",
"poNumber": "",
"pdfBlobUuid": "456123",
"kind": "CreditNoteKind",
"disputeReasonId": "456123",
"creditedInvoiceId": "456123"
}
}