json/v1.0/order.json in sk_api_schema-0.4.3 vs json/v1.0/order.json in sk_api_schema-0.5.0
- old
+ new
@@ -71,9 +71,25 @@
"language":{
"description": "Should be a valid language short-code: de-DE, fr, en-GB; like defined in your account language menu. When the document is emailed or printed, a localized version of a multi-language template(email, pdf) will be used if available. Defaults to the clients language, if empty and a client is assigned.",
"type":"string",
"maxLength": 10
},
+ "currency":{
+ "description": "Currency code as defined by the ISO 4217 standard (3-letter UPCASE: EUR, USD)",
+ "type":"string",
+ "maxLength": 3,
+ "minLength": 3
+ },
+ "exchange_rate":{
+ "description": "The exchange rate from the company currency(eg. EUR) to the document currency(USD). The rate is set on document open with the exchange rate based on the document date. If there is no rate for this day, say on weekends, the closest previous day is taken(Sunday->Friday).",
+ "readonly":true,
+ "type":"number"
+ },
+ "gross_total_exchanged":{
+ "description": "The exchanged gross total.",
+ "readonly":true,
+ "type":"number"
+ },
"archived_pdf":{
"description": "Archived PDF version of the document. Is created when an document is printed and archived. A document can have multiple archived versions. This only returns the most recent one. ",
"readonly":true,
"type":"object",
"properties":{"$ref":"./attachment.json#properties"}