Sha256: 40cd7482b88a1fd662fad2c4cfe702e772c2fd946b46ecb37240cb4e81e12b60

Contents?: true

Size: 1.67 KB

Versions: 24

Compression:

Stored size: 1.67 KB

Contents

{ "type":"object",
  "title": "sub_total_item",
  "name": "sub_total_item",
  "description": "A sub-total item shows a sum of the previous line items, e.g. to distinguish hardware and service costs on a document.",
  "properties":{
    "id":{
      "description":"Unique identifier - UUID",
      "identity":true,
      "readonly":true,
      "type":"string",
      "maxLength": 22,
      "minLength":22
    },
    "position":{
      "description": "Required since items are sorted by position.",
      "type":"integer",
      "required":true
    },
    "name":{
      "description": "Title of the sub-total e.g. Hardware total",
      "type":"string",
      "maxLength": 50
    },
    "type":{
      "description": "The item type: SubTotalItem. Must be set when creating new items via document.items array",
      "type":"string",
      "maxLength": 20
    },
    "net_total":{
      "description": "Net sub-total",
      "type":"number",
      "readonly":true
    },
    "gross_total":{
      "description": "Gross sub-total",
      "type":"number",
      "readonly":true
    },
   "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"
    },
    "_destroy":{
      "description": "When set an existing item will be deleted. This switch is used for items passed-in nested inside their parent object(a document), which is default as long as there is no line item endpoint available.",
      "type":"boolean"
    }
  },
  "links":[]
}

Version data entries

24 entries across 23 versions & 1 rubygems

Version Path
sk_api_schema-0.11.0 json/v1.0/sub_total_item.json
sk_api_schema-0.10.6 json/v2.0/sub_total_item.json
sk_api_schema-0.10.6 json/v1.0/sub_total_item.json
sk_api_schema-0.10.5 json/v1.0/sub_total_item.json
sk_api_schema-0.10.4 json/v1.0/sub_total_item.json
sk_api_schema-0.10.3 json/v1.0/sub_total_item.json
sk_api_schema-0.10.2 json/v1.0/sub_total_item.json
sk_api_schema-0.10.1 json/v1.0/sub_total_item.json
sk_api_schema-0.10.0 json/v1.0/sub_total_item.json
sk_api_schema-0.9.5 json/v1.0/sub_total_item.json
sk_api_schema-0.9.4 json/v1.0/sub_total_item.json
sk_api_schema-0.9.3 json/v1.0/sub_total_item.json
sk_api_schema-0.9.2 json/v1.0/sub_total_item.json
sk_api_schema-0.9.1 json/v1.0/sub_total_item.json
sk_api_schema-0.9.0 json/v1.0/sub_total_item.json
sk_api_schema-0.8.8 json/v1.0/sub_total_item.json
sk_api_schema-0.8.7 json/v1.0/sub_total_item.json
sk_api_schema-0.8.6 json/v1.0/sub_total_item.json
sk_api_schema-0.8.5 json/v1.0/sub_total_item.json
sk_api_schema-0.8.4 json/v1.0/sub_total_item.json