{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TotalDetail",
  "title": "TotalDetail",
  "type": "object",
  "properties": {
    "totalPaid": {
      "type": "number",
      "description": "Total paid invoice and cash value within the period.",
      "format": "double",
      "x-is-money": true
    },
    "totalOutstanding": {
      "type": "number",
      "description": "Total outstanding invoice value within the period.",
      "format": "double",
      "x-is-money": true
    },
    "totalCreditedUnApplied": {
      "type": "number",
      "description": "Total unapplied credited value within the period.",
      "format": "double",
      "x-is-money": true
    }
  },
  "additionalProperties": false
}