Xero · Example Payload

Xero Getquote Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Getquote 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": "getQuote",
  "method": "GET",
  "path": "/Quotes/{QuoteID}",
  "summary": "Xero Retrieves a specific quote using a unique quote Id",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "SummarizeErrors": true,
        "Id": "e3626c45-77f1-4ab0-ba9b-3593c7bcd25c",
        "Status": "OK",
        "ProviderName": "provider-name",
        "DateTimeUTC": "/Date(1580607864786)/",
        "Quotes": [
          {
            "QuoteID": "1f90e77a-7b88-4462-874f-1aa675be8fef",
            "QuoteNumber": "QU-0007",
            "Reference": "MyQuote",
            "Terms": "These are my terms",
            "Contact": {
              "ContactID": "4bc3ecb2-8e2a-4267-a171-0e0ce7e5ac2a",
              "Name": "ABC Limited",
              "EmailAddress": "john.smith@gmail.com",
              "FirstName": "John",
              "LastName": "Smith"
            },
            "LineItems": [
              {
                "LineItemID": "09b47d9f-f78d-4bab-b226-957f55bfb1b5",
                "AccountCode": "400",
                "Description": "Half day training - Microsoft Office",
                "UnitAmount": 500.0,
                "LineAmount": 500.0,
                "ItemCode": "Train-MS",
                "Quantity": 1.0,
                "TaxAmount": 0.0,
                "TaxType": "NONE",
                "Tracking": [
                  {
                    "TrackingCategoryID": "9bd3f506-6d91-4625-81f0-0f9147f099f4",
                    "TrackingOptionID": "d30e2a0d-ae6f-4806-88ca-d8ebdba2af73",
                    "Name": "Avengers",
                    "Option": "IronMan"
                  }
                ]
              }
            ],
            "Date": "/Date(1580515200000)/",
            "DateString": "2020-02-01 00:00:00",
            "ExpiryDate": "/Date(1581724800000)/",
            "ExpiryDateString": "2020-02-15 00:00:00",
            "Status": "DRAFT",
            "CurrencyRate": 1.54715,
            "CurrencyCode": "NZD",
            "SubTotal": 500.0,
            "TotalTax": 0.0,
            "Total": 500.0,
            "TotalDiscount": 0.0,
            "Title": "",
            "Summary": "",
            "BrandingThemeID": "324587a9-7eed-46c0-ad64-fa941a1b5b3e",
            "UpdatedDateUTC": "/Date(1580607757040)/",
            "LineAmountTypes": "EXCLUSIVE"
          }
        ]
      }
    }
  ]
}

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