invoiceTemplateUpdate

Graphql fields and variables for the invoiceTemplateUpdate mutation

Update an invoice template

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

Response

Name
Type
Description

errors

List (String)

invoiceTemplate

Last updated

Was this helpful?