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
{
"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
}
]
}
]
}
}
]
}