Skip to main content
PUT
/
finance
/
invoice-template
Update organisation invoice template
curl --request PUT \
  --url https://api.sandbox.flowpayroll.ai/v1/billing/finance/invoice-template \
  --header 'Content-Type: application/json' \
  --header 'X-Auth-Token: <api-key>' \
  --data '
{
  "showSubsectionHeader": true,
  "showSubtotalInSubsection": true,
  "showSubtotalVatInSubsection": true,
  "showQuantitySumInSubsection": true,
  "showBottomSubtotals": true,
  "showVatInBottomSubtotals": true,
  "showQuantitySumInBottomSubtotals": true,
  "lineDescriptionFormula": "<string>",
  "lineDescriptionTagGroupId": "<string>",
  "includeAttachmentsWithOnlineInvoice": true
}
'
{
  "content": {
    "data": {
      "showSubsectionHeader": true,
      "showSubtotalInSubsection": true,
      "showSubtotalVatInSubsection": true,
      "showQuantitySumInSubsection": true,
      "showBottomSubtotals": true,
      "showVatInBottomSubtotals": true,
      "showQuantitySumInBottomSubtotals": true,
      "lineDescriptionFormula": "<string>",
      "lineDescriptionTagGroupId": "<string>",
      "includeAttachmentsWithOnlineInvoice": true
    },
    "metadata": {
      "dateFormat": "<string>",
      "dateTimeFormat": "<string>"
    }
  },
  "metadata": {
    "dateFormat": "<string>",
    "dateTimeFormat": "<string>"
  },
  "errors": [
    {
      "field": "<string>",
      "reasonText": "<string>",
      "reasonId": "<string>",
      "reasonParameters": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ]
    }
  ],
  "message": {
    "text": "<string>",
    "textId": "<string>",
    "textParameters": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.flowpayroll.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Auth-Token
string
header
required

Authentication token for API access

Body

application/json
showSubsectionHeader
boolean
showSubtotalInSubsection
boolean
showSubtotalVatInSubsection
boolean
showQuantitySumInSubsection
boolean
showBottomSubtotals
boolean
showVatInBottomSubtotals
boolean
showQuantitySumInBottomSubtotals
boolean
lineItemSortOrder
enum<string>
Available options:
None,
ByEmployee,
ByPayElementThenEmployee
lineDescriptionFormula
string | null
lineDescriptionTagGroupId
string | null
attachmentStrategy
enum<string>
Available options:
ExcessLost,
MergeOnIntegration
includeAttachmentsWithOnlineInvoice
boolean

Response

OK

content
object
metadata
object
errors
object[] | null
message
object