Xero · Example Payload

Xero Createsuperannuation Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createsuperannuation Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createSuperannuation",
  "method": "POST",
  "path": "/Superannuations",
  "summary": "Creates a new superannuation",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "name": "SidSaver",
        "category": "Other",
        "liabilityAccountId": "568f2e9a-0870-46cc-8678-f83f132ed4e3",
        "expenseAccountId": "e4eb36f6-97e3-4427-a394-dd4e1b355c2e",
        "CalculationTypeNZ": "FixedAmount",
        "standardAmount": 10
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "id": "8905a754-7ce8-40e2-9fa5-f819deb7adce",
        "providerName": "provider-name",
        "dateTimeUTC": "2020-09-11 00:36:31.768043",
        "httpStatusCode": "OK",
        "pagination": null,
        "problem": null,
        "benefit": {
          "id": "8905a754-7ce8-40e2-9fa5-f819deb7adce",
          "name": "SidSaver",
          "category": "Other",
          "liabilityAccountId": "568f2e9a-0870-46cc-8678-f83f132ed4e3",
          "expenseAccountId": "e4eb36f6-97e3-4427-a394-dd4e1b355c2e",
          "standardAmount": 10,
          "percentage": null,
          "calculationTypeNZ": "FixedAmount",
          "currentRecord": true,
          "companyMax": null
        }
      }
    }
  ]
}