diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 719f000c..cb91a628 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -1773,6 +1773,86 @@ }, "description" : "", "x-isObjectArray" : true +}; + defs["Budget"] = { + "title" : "", + "type" : "object", + "properties" : { + "BudgetID" : { + "type" : "string", + "description" : "Xero identifier", + "format" : "uuid" + }, + "Type" : { + "type" : "string", + "description" : "Type of Budget. OVERALL or TRACKING", + "enum" : [ "OVERALL", "TRACKING" ] + }, + "Description" : { + "maxLength" : 255, + "type" : "string", + "description" : "The Budget description" + }, + "UpdatedDateUTC" : { + "type" : "string", + "description" : "UTC timestamp of last update to budget", + "readOnly" : true, + "example" : "/Date(1573755038314)/", + "x-is-msdate-time" : true + }, + "BudgetLines" : { + "$ref" : "#/components/schemas/BudgetLines" + }, + "Tracking" : { + "$ref" : "#/components/schemas/TrackingCategory" + } + }, + "description" : "", + "externalDocs" : { + "url" : "http://developer.xero.com/documentation/api/budgets/" + } +}; + defs["BudgetLines"] = { + "title" : "", + "type" : "object", + "properties" : { + "Period" : { + "type" : "string", + "description" : "Period the amount applies to (e.g. “2019-08”)", + "x-is-msdate" : true + }, + "Amount" : { + "type" : "integer", + "description" : "LineItem Quantity" + }, + "UnitAmount" : { + "type" : "integer", + "description" : "Budgeted amount" + }, + "Notes" : { + "maxLength" : 255, + "type" : "string", + "description" : "Any footnotes associated with this balance" + } + }, + "description" : "", + "externalDocs" : { + "url" : "http://developer.xero.com/documentation/api/budgets/" + } +}; + defs["Budgets"] = { + "title" : "", + "type" : "object", + "properties" : { + "Budgets" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/Budget" + } + } + }, + "description" : "", + "x-isObjectArray" : true }; defs["CISOrgSetting"] = { "title" : "", @@ -3370,6 +3450,12 @@ "type" : "string", "description" : "See Accounts" }, + "AccountID" : { + "type" : "string", + "description" : "The associated account ID related to this line item", + "format" : "uuid", + "example" : "00000000-0000-0000-0000-000000000000" + }, "TaxType" : { "type" : "string", "description" : "The tax type from TaxRates" @@ -4372,6 +4458,13 @@ "$ref" : "#/components/schemas/Allocation" } }, + "Payments" : { + "type" : "array", + "description" : "See Payments", + "items" : { + "$ref" : "#/components/schemas/Payment" + } + }, "AppliedAmount" : { "type" : "number", "description" : "The amount of applied to an invoice", @@ -4998,10 +5091,6 @@ defs["Report"] = { "title" : "", "properties" : { - "ReportID" : { - "type" : "string", - "description" : "See Prepayment Types" - }, "ReportName" : { "type" : "string", "description" : "See Prepayment Types" @@ -5134,7 +5223,7 @@ "properties" : { "ReportID" : { "type" : "string", - "description" : "Report id" + "description" : "ID of the Report" }, "ReportName" : { "type" : "string", @@ -5819,7 +5908,7 @@