json/v1.0/recurring.json in sk_api_schema-0.8.8 vs json/v1.0/recurring.json in sk_api_schema-0.9.0
- old
+ new
@@ -161,9 +161,24 @@
"net_total_base":{
"description": "Net total, 6 decimal places incl. discount",
"readonly":true,
"type":"number"
},
+ "cost_total":{
+ "description": "Cost total of all line items, 2 decimals places in document currency.",
+ "readonly":true,
+ "type":"number"
+ },
+ "gross_margin_total":{
+ "description": "Total gross margin across all line items. Calculated from net_total-cost_total.",
+ "readonly":true,
+ "type":"number"
+ },
+ "gross_margin_pct":{
+ "description": "Percentage of gross profit to cost of items sold. Calculated from gross_margin_total/net_total*100",
+ "readonly":true,
+ "type":"number"
+ },
"pdf_template_id":{
"description": "The PDF template used for printing the invoice when auto sending. Required when auto_send'ing is enabled.",
"type":"string",
"maxLength": 22,
"minLength":22