creditNoteRemoveCharge
Remove a charge line from a draft credit note. The creditNoteRemoveCharge mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: billing:write
mutation creditNoteRemoveCharge ($creditNoteItemId: ID!) {
creditNoteRemoveCharge (creditNoteItemId: $creditNoteItemId) {
creditNote {
accountId
amount
amountApplied
amountUnapplied
createdAt
creditedInvoiceId
currencyId
description
disputeId
disputeReasonId
entityId
id
isCredit
isLegacy
issuedAt
number
subtotal
taxAmount
updatedAt
uuid
warrenId
}
errors
}
}
Arguments
{
"creditNoteItemId": "456123"
}
| Name | Type | Description |
|---|---|---|
| creditNoteItemId | ID |
Response
| Name | Type | Description |
|---|---|---|
| creditNote | CreditNote | |
| errors | List (String) |