diff --git a/docs/v1/accounting/index.html b/docs/v1/accounting/index.html index 4e9666dd..4a23c415 100644 --- a/docs/v1/accounting/index.html +++ b/docs/v1/accounting/index.html @@ -3535,6 +3535,9 @@ "format" : "double", "x-is-money" : true }, + "Item" : { + "$ref" : "#/components/schemas/LineItemItem" + }, "LineAmount" : { "type" : "number", "description" : "If you wish to omit either of the or you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if a DiscountRate has been used . i.e LineAmount = Quantity * Unit Amount * ((100 – DiscountRate)/100)", @@ -3571,6 +3574,27 @@ "externalDocs" : { "url" : "https://developer.xero.com/documentation/api/invoices#post" } +}; + defs["LineItemItem"] = { + "title" : "", + "properties" : { + "Code" : { + "maxLength" : 30, + "type" : "string", + "description" : "User defined item code (max length = 30)" + }, + "Name" : { + "maxLength" : 50, + "type" : "string", + "description" : "The name of the item (max length = 50)" + }, + "ItemID" : { + "type" : "string", + "description" : "The Xero identifier for an Item", + "format" : "uuid" + } + }, + "description" : "" }; defs["LineItemTracking"] = { "title" : "", @@ -5976,7 +6000,7 @@