Xero · Example Payload

Xero Gettaxrates Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Gettaxrates 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": "getTaxRates",
  "method": "GET",
  "path": "/TaxRates",
  "summary": "Xero Retrieves tax rates",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "455d494d-9706-465b-b584-7086ca406b27",
        "Status": "OK",
        "ProviderName": "Provider Name Example",
        "DateTimeUTC": "/Date(1555086839841)/",
        "TaxRates": [
          {
            "Name": "15% GST on Expenses",
            "TaxType": "INPUT2",
            "ReportTaxType": "INPUT",
            "CanApplyToAssets": true,
            "CanApplyToEquity": true,
            "CanApplyToExpenses": true,
            "CanApplyToLiabilities": true,
            "CanApplyToRevenue": false,
            "DisplayTaxRate": 15.0,
            "EffectiveRate": 15.0,
            "Status": "ACTIVE",
            "TaxComponents": [
              {
                "Name": "GST",
                "Rate": 15.0,
                "IsCompound": false,
                "IsNonRecoverable": false
              }
            ]
          },
          {
            "Name": "15% GST on Income",
            "TaxType": "OUTPUT2",
            "ReportTaxType": "OUTPUT",
            "CanApplyToAssets": true,
            "CanApplyToEquity": true,
            "CanApplyToExpenses": false,
            "CanApplyToLiabilities": true,
            "CanApplyToRevenue": true,
            "DisplayTaxRate": 15.0,
            "EffectiveRate": 15.0,
            "Status": "ACTIVE",
            "TaxComponents": [
              {
                "Name": "GST",
                "Rate": 15.0,
                "IsCompound": false,
                "IsNonRecoverable": false
              }
            ]
          },
          {
            "Name": "GST on Imports",
            "TaxType": "GSTONIMPORTS",
            "ReportTaxType": "GSTONIMPORTS",
            "CanApplyToAssets": false,
            "CanApplyToEquity": false,
            "CanApplyToExpenses": false,
            "CanApplyToLiabilities": true,
            "CanApplyToRevenue": false,
            "DisplayTaxRate": 0.0,
            "EffectiveRate": 0.0,
            "Status": "ACTIVE",
            "TaxComponents": [
              {
                "Name": "GST",
                "Rate": 0.0,
                "IsCompound": false,
                "IsNonRecoverable": false
              }
            ]
          },
          {
            "Name": "No GST",
            "TaxType": "NONE",
            "ReportTaxType": "NONE",
            "CanApplyToAssets": true,
            "CanApplyToEquity": true,
            "CanApplyToExpenses": true,
            "CanApplyToLiabilities": true,
            "CanApplyToRevenue": true,
            "DisplayTaxRate": 0.0,
            "EffectiveRate": 0.0,
            "Status": "ACTIVE",
            "TaxComponents": [
              {
                "Name": "GST",
                "Rate": 0.0,
                "IsCompound": false,
                "IsNonRecoverable": false
              }
            ]
          },
          {
            "Name": "Zero Rated",
            "TaxType": "ZERORATED",
            "ReportTaxType": "OUTPUT",
            "CanApplyToAssets": false,
            "CanApplyToEquity": false,
            "CanApplyToExpenses": false,
            "CanApplyToLiabilities": true,
            "CanApplyToRevenue": true,
            "DisplayTaxRate": 0.0,
            "EffectiveRate": 0.0,
            "Status": "ACTIVE",
            "TaxComponents": [
              {
                "Name": "GST",
                "Rate": 0.0,
                "IsCompound": false,
                "IsNonRecoverable": false
              }
            ]
          }
        ]
      }
    }
  ]
}

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-gettaxrates-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.