Xero · Example Payload

Xero Createemployeeopeningbalances Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createemployeeopeningbalances 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": "createEmployeeOpeningBalances",
  "method": "POST",
  "path": "/Employees/{EmployeeID}/OpeningBalances",
  "summary": "Creates opening balances for a specific employee",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": "[{\"periodEndDate\":\"2020-10-01\",\"daysPaid\":3,\"unpaidWeeks\":2,\"grossEarnings\":40.0}]"
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "id": "00000000-0000-0000-0000-000000000000",
        "providerName": "provider-name",
        "dateTimeUTC": "2020-08-28 19:55:36.539949",
        "httpStatusCode": "OK",
        "pagination": null,
        "problem": null,
        "openingBalances": [
          {
            "periodEndDate": "2020-10-01 00:00:00",
            "daysPaid": 3,
            "unpaidWeeks": 2,
            "grossEarnings": 40
          }
        ]
      }
    }
  ]
}