Zum Inhalt
HALOWERK

Finopswerk

daily simple interest payment ledger

Originalprincipal/annualbps/datedpayments determine outstanding-principal-onlydailyaccrual,interest-first/principalallocation,unappliedoverpay andconservedendbalances. OWN365day/no-fees/no-capitalization/exactrationalprofile;NOTuniversalcontract/servicer/legal/tax/creditadvice/payoffquote/actualpaymentorrefundcertification. Oneboundedpaymentcapturekeeps2wholehistories.Strictkeys/objectorderirrelevant/paymentarraysordered/canonicaldecimaln-dstringsorbothnull. A schema-valid unknown is a.

POST https://finops.halowerk.com/v1/daily-simple-interest-payment-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
principal_minorintegerJa
annual_rate_bpsintegerJa
end_dayintegerJa
paymentsarrayJa
reportobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "principal_minor": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "annual_rate_bps": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000
    },
    "end_day": {
      "type": "integer",
      "minimum": 0,
      "maximum": 365
    },
    "payments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "day": {
            "type": "integer",
            "minimum": 0,
            "maximum": 365
          },
          "amount_minor_domain": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000
            },
            "minItems": 1,
            "maxItems": 2
          }
        },
        "required": [
          "day",
          "amount_minor_domain"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 4
    },
    "report": {
      "type": "object",
      "properties": {
        "steps": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "accrued",
              "interest_paid",
              "principal_paid",
              "unapplied",
              "principal_after",
              "interest_after"
            ],
            "additionalProperties": {
              "type": "object",
              "properties": {
                "n": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]{0,63})$",
                      "maxLength": 64
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "d": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[1-9][0-9]{0,63}$",
                      "maxLength": 64
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "n",
                "d"
              ],
              "additionalProperties": false
            },
            "propertyNames": {
              "enum": [
                "accrued",
                "interest_paid",
                "principal_paid",
                "unapplied",
                "principal_after",
                "interest_after"
              ]
            }
          },
          "minItems": 1,
          "maxItems": 4
        }
      },
      "required": [
        "steps",
        "final_principal",
        "final_interest",
        "interest_accrued_total",
        "paid_interest_total",
        "paid_principal_total",
        "unapplied_total"
      ],
      "additionalProperties": {
        "type": "object",
        "properties": {
          "n": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,63})$",
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          },
          "d": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]{0,63}$",
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "n",
          "d"
        ],
        "additionalProperties": false
      },
      "propertyNames": {
        "enum": [
          "steps",
          "final_principal",
          "final_interest",
          "interest_accrued_total",
          "paid_interest_total",
          "paid_principal_total",
          "unapplied_total"
        ]
      }
    }
  },
  "required": [
    "principal_minor",
    "annual_rate_bps",
    "end_day",
    "payments",
    "report"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "principal_minor": 1000,
  "annual_rate_bps": 1000,
  "end_day": 90,
  "payments": [
    {
      "day": 0,
      "amount_minor_domain": [
        2000
      ]
    },
    {
      "day": 60,
      "amount_minor_domain": [
        100
      ]
    }
  ],
  "report": {
    "steps": [
      {
        "accrued": {
          "n": "0",
          "d": "1"
        },
        "interest_paid": {
          "n": "0",
          "d": "1"
        },
        "principal_paid": {
          "n": "1000",
          "d": "1"
        },
        "unapplied": {
          "n": "1000",
          "d": "1"
        },
        "principal_after": {
          "n": "0",
          "d": "1"
        },
        "interest_after": {
          "n": "0",
          "d": "1"
        }
      },
      {
        "accrued": {
          "n": "0",
          "d": "1"
        },
        "interest_paid": {
          "n": "0",
          "d": "1"
        },
        "principal_paid": {
          "n": "0",
          "d": "1"
        },
        "unapplied": {
          "n": "100",
          "d": "1"
        },
        "principal_after": {
          "n": "0",
          "d": "1"
        },
        "interest_after": {
          "n": "0",
          "d": "1"
        }
      }
    ],
    "final_principal": {
      "n": "0",
      "d": "1"
    },
    "final_interest": {
      "n": "0",
      "d": "1"
    },
    "interest_accrued_total": {
      "n": "0",
      "d": "1"
    },
    "paid_interest_total": {
      "n": "0",
      "d": "1"
    },
    "paid_principal_total": {
      "n": "1000",
      "d": "1"
    },
    "unapplied_total": {
      "n": "1100",
      "d": "1"
    }
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →