Xero · Schema

Schedule

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
Period integer Integer used with the unit e.g. 1 (every 1 week), 2 (every 2 months)
Unit string One of the following - WEEKLY or MONTHLY
DueDate integer Integer used with due date type e.g 20 (of following month), 31 (of current month)
DueDateType string the payment terms
StartDate string Date the first invoice of the current version of the repeating schedule was generated (changes when repeating invoice is edited)
NextScheduledDate string The calendar date of the next invoice in the schedule to be generated
EndDate string Invoice end date – only returned if the template has an end date set
View JSON Schema on GitHub

JSON Schema

xero-schedule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Schedule",
  "title": "Schedule",
  "externalDocs": {
    "url": "http://developer.xero.com/documentation/api/repeating-invoices/"
  },
  "properties": {
    "Period": {
      "description": "Integer used with the unit e.g. 1 (every 1 week), 2 (every 2 months)",
      "type": "integer"
    },
    "Unit": {
      "description": "One of the following - WEEKLY or MONTHLY",
      "type": "string",
      "enum": [
        "WEEKLY",
        "MONTHLY"
      ]
    },
    "DueDate": {
      "description": "Integer used with due date type e.g 20 (of following month), 31 (of current month)",
      "type": "integer"
    },
    "DueDateType": {
      "description": "the payment terms",
      "type": "string",
      "enum": [
        "DAYSAFTERBILLDATE",
        "DAYSAFTERBILLMONTH",
        "DAYSAFTERINVOICEDATE",
        "DAYSAFTERINVOICEMONTH",
        "OFCURRENTMONTH",
        "OFFOLLOWINGMONTH"
      ]
    },
    "StartDate": {
      "description": "Date the first invoice of the current version of the repeating schedule was generated (changes when repeating invoice is edited)",
      "type": "string",
      "x-is-msdate": true
    },
    "NextScheduledDate": {
      "description": "The calendar date of the next invoice in the schedule to be generated",
      "type": "string",
      "x-is-msdate": true
    },
    "EndDate": {
      "description": "Invoice end date \u2013 only returned if the template has an end date set",
      "type": "string",
      "x-is-msdate": true
    }
  },
  "type": "object"
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/xero-schedule"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.