Xero · Schema

DeductionLine

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
DeductionTypeID string Xero deduction type identifier
CalculationType object
Amount number Deduction type amount
Percentage number The Percentage of the Deduction
NumberOfUnits number Deduction number of units
View JSON Schema on GitHub

JSON Schema

xero-deductionline-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DeductionLine",
  "title": "DeductionLine",
  "type": "object",
  "required": [
    "DeductionTypeID"
  ],
  "properties": {
    "DeductionTypeID": {
      "description": "Xero deduction type identifier",
      "type": "string",
      "format": "uuid",
      "example": "59cd9d04-4521-4cc3-93ac-7841651ff407"
    },
    "CalculationType": {
      "$ref": "#/components/schemas/DeductionTypeCalculationType"
    },
    "Amount": {
      "description": "Deduction type amount",
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "example": 10.0
    },
    "Percentage": {
      "description": "The Percentage of the Deduction",
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "example": 10.0
    },
    "NumberOfUnits": {
      "description": "Deduction number of units",
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "example": 10.0
    }
  }
}