Xero · Example Payload

Xero Createtaxrates Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createtaxrates 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": "createTaxRates",
  "method": "PUT",
  "path": "/TaxRates",
  "summary": "Xero Creates one or more tax rates",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "TaxRates": [
          {
            "Name": "CA State Tax",
            "TaxComponents": [
              {
                "Name": "State Tax",
                "Rate": 2.25
              }
            ]
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "9d2c5e56-fab4-450b-a5ff-d47409508eab",
        "Status": "OK",
        "ProviderName": "Provider Name Example",
        "DateTimeUTC": "/Date(1555086839080)/",
        "TaxRates": [
          {
            "Name": "SDKTax29067",
            "TaxType": "TAX002",
            "ReportTaxType": "INPUT",
            "CanApplyToAssets": true,
            "CanApplyToEquity": true,
            "CanApplyToExpenses": true,
            "CanApplyToLiabilities": true,
            "CanApplyToRevenue": false,
            "DisplayTaxRate": 2.25,
            "EffectiveRate": 2.25,
            "Status": "ACTIVE",
            "TaxComponents": [
              {
                "Name": "State Tax",
                "Rate": 2.25,
                "IsCompound": false,
                "IsNonRecoverable": false
              }
            ]
          }
        ]
      }
    }
  ]
}