{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"lines (XML resource)","type":"basic","slug":"lines-xml-resource","excerpt":"Contains the line-items details of the purchase","body":"### Request \n[block:parameters]\n{\n \"data\": {\n \"h-0\": \"Property Name\",\n \"h-1\": \"Type\",\n \"h-2\": \"Required\",\n \"h-3\": \"Description\",\n \"0-0\": \"`quantity`\",\n \"0-1\": \"integer\",\n \"0-2\": \"**Required**\",\n \"0-3\": \"Item quantity being purchased.\",\n \"1-0\": \"`tax-code`\",\n \"1-1\": \"string\",\n \"1-2\": \"Optional\",\n \"1-3\": \"Tax code for the item being purchased. \\nIf not provided, the value defaults to the code for tangible personal property (tpp).\",\n \"4-0\": \"`item-code`\",\n \"4-1\": \"string\",\n \"4-2\": \"**Required**\",\n \"4-3\": \"Unique ID for the line item.\",\n \"3-0\": \"`amount`\",\n \"3-1\": \"decimal\",\n \"3-2\": \"**Required**\",\n \"3-3\": \"The cost of the line item.\",\n \"2-0\": \"`description`\",\n \"2-1\": \"string\",\n \"2-2\": \"Optional\",\n \"2-3\": \"Line item description.\"\n },\n \"cols\": 4,\n \"rows\": 5\n}\n[/block]\n\n### Response\n[block:parameters]\n{\n \"data\": {\n \"h-0\": \"Property Name\",\n \"h-1\": \"Type\",\n \"h-2\": \"Description\",\n \"h-3\": \"Description\",\n \"0-0\": \"`quantity`\",\n \"0-1\": \"integer\",\n \"0-2\": \"Item quantity being purchased.\",\n \"0-3\": \"\",\n \"1-0\": \"`tax-code`\",\n \"1-1\": \"string\",\n \"1-2\": \"Tax code for the item being purchased. \\nIf not provided, the value defaults to the code for tangible personal property (tpp).\",\n \"1-3\": \"\",\n \"4-0\": \"`item-code`\",\n \"4-1\": \"string\",\n \"4-2\": \"Unique ID for the line item.\",\n \"4-3\": \"\",\n \"3-0\": \"`amount`\",\n \"3-1\": \"decimal\",\n \"3-2\": \"The cost of the line item.\",\n \"3-3\": \"\",\n \"2-0\": \"`description`\",\n \"2-1\": \"string\",\n \"2-2\": \"Line item description.\",\n \"2-3\": \"\",\n \"5-0\": \"`tax`\",\n \"5-1\": \"decimal\",\n \"5-2\": \"Tax for the line item.\"\n },\n \"cols\": 3,\n \"rows\": 6\n}\n[/block]","updates":[],"order":10,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"603fec227146110018e1da9f","createdAt":"2020-09-01T19:30:57.037Z","user":"5ea72d649148ff00653f6bbc","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Tax Quotes","slug":"tax-quotes","order":16,"from_sync":false,"reference":false,"_id":"603fec227146110018e1da4e","createdAt":"2020-09-01T15:20:37.817Z","version":"603fec227146110018e1daaf","project":"57336fd5a6a9c40e00e13a0b","__v":0},"version":{"version":"8976-Tools","version_clean":"8976.0.0-Tools","codename":"3.37 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["603fec227146110018e1da3d","603fec227146110018e1da3e","603fec227146110018e1da3f","603fec227146110018e1da40","603fec227146110018e1da41","603fec227146110018e1da42","603fec227146110018e1da43","603fec227146110018e1da44","603fec227146110018e1da45","603fec227146110018e1da46","603fec227146110018e1da47","603fec227146110018e1da48","5b34c737e0dca2000311de6a","603fec227146110018e1da49","603fec227146110018e1da4a","603fec227146110018e1da4b","603fec227146110018e1da4c","603fec227146110018e1da4d","603fec227146110018e1da4e","603fec227146110018e1da4f"],"_id":"603fec227146110018e1daaf","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"6019bc72944282005e966fd4","createdAt":"2018-04-23T15:17:35.680Z","releaseDate":"2018-04-23T15:17:35.680Z"},"project":"57336fd5a6a9c40e00e13a0b","__v":0,"parentDoc":null}
lines (XML resource)
quantity
integer
Required
Item quantity being purchased.
tax-code
string
Optional
Tax code for the item being purchased.
If not provided, the value defaults to the code for tangible personal property (tpp).
description
string
Optional
Line item description.
amount
decimal
Required
The cost of the line item.
item-code
string
Required
Unique ID for the line item.
quantity
integer
Item quantity being purchased.
tax-code
string
Tax code for the item being purchased.
If not provided, the value defaults to the code for tangible personal property (tpp).
description
string
Line item description.
amount
decimal
The cost of the line item.
item-code
string
Unique ID for the line item.
tax
decimal
Tax for the line item.