Installment Sale

installment-sale@0.13.1 Contract ^0.13.0 9b5e95cb487ae20f531b90110864128f362a9fd7498a8b84e2d57ba724aa8aad

This is a clause for a simple installment sale.

Download Archive Open in Template Studio Open in VSCode Web

Installment Sale

A simple clause for a sale paid in installments.


            "Dan" agrees to pay to "Ned" the total sum e10000, in the manner following:

E500 is to be paid at closing, and the remaining balance of E9500 shall be paid as follows:

E500 or more per month on the first day of each and every month, and continuing until the entire balance, including both principal and interest, shall be paid in full -- provided, however, that the entire balance due plus accrued interest and any other amounts due here-under shall be paid in full on or before 24 months.

Monthly payments, which shall start on month 3, include both principal and interest with interest at the rate of 1.5%, computed monthly on the remaining balance from time to time unpaid.


Model Dependencies

Technical Integration

Please refer to the Cicero documentation for details and examples of how to integrate a call to a Cicero template into your application.

View the Latest code for this template on on GitHub.

Sample Instance

    "$class": "org.accordproject.installmentsale.InstallmentSaleContract",
    "contractId": "17de9d5a-cd4e-477f-b8aa-aa6b6dea7ff0",
    "BUYER": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Dan"
    "SELLER": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Ned"
    "INITIAL_DUE": 10000,
    "INTEREST_RATE": 1.5,
    "MIN_PAYMENT": 500,
    "DUE_AT_CLOSING": 500,
    "FIRST_MONTH": 3

State Types

Type Sample JSON
    "$class": "org.accordproject.installmentsale.InstallmentSaleState",
    "status": "Fulfilled",
    "balance_remaining": 13.236,
    "next_payment_month": 14406,
    "total_paid": 96.652,
    "stateId": "2a51e892-b399-11e9-a415-2f2abeed0243"

Request Types

Type Sample JSON
    "$class": "org.accordproject.installmentsale.ClosingPayment",
    "amount": 171.728,
    "transactionId": "2a51c181-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:23.288-04:00"
    "$class": "org.accordproject.installmentsale.Installment",
    "amount": 134.184,
    "transactionId": "2a51c180-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:23.288-04:00"

Response Types

Type Sample JSON
    "$class": "org.accordproject.installmentsale.Balance",
    "balance": 31.619,
    "total_paid": 99.457,
    "transactionId": "2a51e890-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:23.289-04:00"

Events Types

Type Sample JSON
    "$class": "org.accordproject.cicero.runtime.PaymentObligation",
    "amount": {
        "$class": "",
        "doubleValue": 5.162,
        "currencyCode": "FJD"
    "description": "Quis aliquip fugiat anim sunt.",
    "contract": "resource:org.accordproject.installmentsale.InstallmentSaleContract#0577",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#1033",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#3892",
    "deadline": "2019-07-31T09:43:23.291-04:00",
    "eventId": "2a5236b0-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:23.291-04:00"