invoiceTemplateUpdate
Update an invoice template. The invoiceTemplateUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: billing:write
For a complete list of input attributes see the InvoiceTemplateAttributes type
mutation invoiceTemplateUpdate ($id: ID!, $attributes: InvoiceTemplateAttributes!) {
invoiceTemplateUpdate (id: $id, attributes: $attributes) {
errors
invoiceTemplate {
bankDetails
enabled
entityId
footer
hideZeroAmounts
id
includePaymentLink
isDefault
name
pageSize
poNumberRequired
taxNumberLabel
taxNumberRequired
}
}
}
Arguments
{
"id": "456123",
"attributes": {
"name": "",
"footer": "",
"bankDetails": "",
"enabled": true,
"isDefault": true,
"poNumberRequired": true,
"taxNumberRequired": true,
"taxNumberLabel": "",
"includePaymentLink": true,
"hideZeroAmounts": true,
"entityId": "456123",
"pageSize": ""
}
}
| Name | Type | Description |
|---|---|---|
| id | ID | |
| attributes | InvoiceTemplateAttributes |
Response
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| invoiceTemplate | InvoiceTemplate |