invoiceTemplateCreate

Create an invoice template. The invoiceTemplateCreate 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 invoiceTemplateCreate ($attributes: InvoiceTemplateAttributes!) {
  invoiceTemplateCreate (attributes: $attributes) {
      errors
      invoiceTemplate {
        bankDetails
        enabled
        entityId
        footer
        hideZeroAmounts
        id
        includePaymentLink
        isDefault
        name
        pageSize
        poNumberRequired
        taxNumberLabel
        taxNumberRequired
      }
  }
}

ArgumentsLink to Arguments section

{
  "attributes": {
    "name": "",
    "footer": "",
    "bankDetails": "",
    "enabled": true,
    "isDefault": true,
    "poNumberRequired": true,
    "taxNumberRequired": true,
    "taxNumberLabel": "",
    "includePaymentLink": true,
    "hideZeroAmounts": true,
    "entityId": "456123",
    "pageSize": ""
  }
}
Name Type Description
attributes InvoiceTemplateAttributes  

ResponseLink to Response section

Name Type Description
errors List (String)  
invoiceTemplate InvoiceTemplate