Xero · Example Payload

Xero Getpayslip Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Getpayslip 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": "getPayslip",
  "method": "GET",
  "path": "/Payslip/{PayslipID}",
  "summary": "Retrieves for a payslip by a unique payslip id",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Status": "OK",
        "ProviderName": "provider-name",
        "DateTimeUTC": "/Date(1573692677622)/",
        "Payslip": {
          "EmployeeID": "cdfb8371-0b21-4b8a-8903-1024df6c391e",
          "PayslipID": "c81e8bcc-56b0-4740-b46b-767753a6ee45",
          "FirstName": "Albus",
          "LastName": "Dumbledore",
          "Tax": 0,
          "NetPay": 1.4,
          "UpdatedDateUTC": "/Date(1573692155000+0000)/",
          "EarningsLines": [
            {
              "EarningsRateID": "ab874dfb-ab09-4c91-954e-43acf6fc23b4",
              "RatePerUnit": 3,
              "NumberOfUnits": 1.8
            }
          ],
          "LeaveEarningsLines": [
            {
              "EarningsRateID": "ab874dfb-ab09-4c91-954e-43acf6fc23b4",
              "RatePerUnit": 0,
              "NumberOfUnits": 0.6,
              "PayOutType": "DEFAULT"
            },
            {
              "EarningsRateID": "ab874dfb-ab09-4c91-954e-43acf6fc23b4",
              "RatePerUnit": 3,
              "NumberOfUnits": 0.6,
              "PayOutType": "CASHED_OUT"
            }
          ],
          "TimesheetEarningsLines": [],
          "DeductionLines": [
            {
              "Amount": 4,
              "CalculationType": "FIXEDAMOUNT",
              "DeductionTypeID": "ed05ea82-e40a-4eb6-9c2e-4b3c03e7e938"
            }
          ],
          "LeaveAccrualLines": [
            {
              "LeaveTypeID": "184ea8f7-d143-46dd-bef3-0c60e1aa6fca",
              "NumberOfUnits": 0.0769,
              "AutoCalculate": true
            }
          ],
          "ReimbursementLines": [
            {
              "ReimbursementTypeID": "aa8cfa40-d872-4be0-8a94-bb7f00962f74",
              "Description": "boo",
              "ExpenseAccount": "850",
              "Amount": 55
            }
          ],
          "SuperannuationLines": [
            {
              "ContributionType": "SGC",
              "CalculationType": "STATUTORY",
              "MinimumMonthlyEarnings": 450,
              "ExpenseAccountCode": "478",
              "LiabilityAccountCode": "826",
              "PaymentDateForThisPeriod": "/Date(1580169600000+0000)/",
              "Amount": 0
            }
          ],
          "TaxLines": [
            {
              "PayslipTaxLineID": "c129696e-36ef-4677-a54c-96095787ca20",
              "TaxTypeName": "PAYG Tax",
              "Description": "No tax file number (Australian resident)",
              "Amount": 0,
              "LiabilityAccount": "825"
            }
          ]
        }
      }
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/xero-getpayslip-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.