invoiceUpdate
Graphql fields and variables for the invoiceUpdate mutation
Update an invoice
Scope required: billing:write
For a complete list of input attributes see the InvoiceAttributes type
mutation invoiceUpdate ($id: ID!, $attributes: InvoiceAttributes!) {
invoiceUpdate (id: $id, attributes: $attributes) {
errors
invoice {
accountId
amount
amountDue
amountPaid
baseCurrencyId
baseCurrencyTotal
couponApplied
createdAt
credits
currencyId
description
dueAt
hasPaymentMethod
id
isLegacy
issuedAt
kind
netPaymentDays
notes
number
paidAt
payableId
poNumber
portalUrl
quoteId
smallUnitAmountDue
subtotal
taxAmount
taxRate
updatedAt
url
uuid
}
}
}
Arguments
{
"id": "456123",
"attributes": {
"poNumber": "",
"notes": ""
}
}
Name
Type
Description
id
ID
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?