{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/amount_summary_detail", "title": "Invoice Amount Summary", "type": "object", "description": "The invoice amount summary of item total, discount, tax total, and shipping.", "properties": { "currency_code": { "$ref": "#/components/schemas/currency_code" }, "value": { "type": "string", "description": "The value, which might be:For the required number of decimal places for a currency code, see [Currency Codes](/docs/integration/direct/rest/currency-codes/).", "maxLength": 32, "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$" }, "breakdown": { "$ref": "#/components/schemas/amount_with_breakdown", "description": "The breakdown of the amount. Breakdown provides details such as total item amount, total tax amount, custom amount, shipping and discounts, if any." } } }