Sha256: 061f5f12538a70038403ef575a600c3250b1f7ae0aae342acd81b1bf28a1cbac
Contents?: true
Size: 1.85 KB
Versions: 4
Compression:
Stored size: 1.85 KB
Contents
{ "type":"object", "title": "line_item", "description": "A line item for a document", "properties":{ "id":{ "description": "uuid of the item.", "identity":true, "readonly":true, "type":"string" }, "position":{ "description": "Required since items are sorted by position.", "type":"integer", "required":true }, "name":{ "description": "The name of an item", "type":"string" }, "description":{ "description": "Item description", "type":"string" }, "price_single":{ "description": "Net price of a single item", "type":"number" }, "tax":{ "description": "Tax percent for a single item.", "type":"number" }, "discount":{ "description": "Discount in percent applied to the items net total", "type":"number" }, "quantity_unit":{ "description": "Quantity unit: kg, days, month.", "type":"string" }, "quantity":{ "description": "Quantity of the item. Must be > 0", "type":"number", "exclusiveMinimum":0, "required":true }, "product_id":{ "description": "An item can reference a product. This makes it easier to track a products turnover and the documents it is used on. Also ee use_product", "type":"string" }, "use_product":{ "description": "If set and product_id is present, the products name, description, quantity, unit, price are copied if the according item fields are missing.", "type":"boolean" }, "created_at":{ "description": "Date the object was created in SK. Never changes afterwards", "format":"date-time", "readonly":true, "type":"string" }, "updated_at":{ "description": "Date the object was edited in SK.", "format":"date-time", "readonly":true, "type":"string" } } }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sk_api_schema-0.0.18 | json/v1.0/line_item.json |
sk_api_schema-0.0.17 | json/v1.0/line_item.json |
sk_api_schema-0.0.16 | json/v1.0/line_item.json |
sk_api_schema-0.0.15 | json/v1.0/line_item.json |