Xero · Schema

ProfitAndLossResponse

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
startDate string Start date of the report
endDate string End date of the report
netProfitLoss number Net profit loss value
revenue object
expense object
View JSON Schema on GitHub

JSON Schema

xero-profitandlossresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProfitAndLossResponse",
  "title": "ProfitAndLossResponse",
  "type": "object",
  "properties": {
    "startDate": {
      "type": "string",
      "description": "Start date of the report",
      "format": "date"
    },
    "endDate": {
      "type": "string",
      "description": "End date of the report",
      "format": "date"
    },
    "netProfitLoss": {
      "type": "number",
      "description": "Net profit loss value",
      "format": "double",
      "x-is-money": true
    },
    "revenue": {
      "$ref": "#/components/schemas/PnlAccountClass"
    },
    "expense": {
      "$ref": "#/components/schemas/PnlAccountClass"
    }
  },
  "additionalProperties": false
}