Please report issues and contribute improvements on GitHub!

Template latedeliveryandpenalty@0.13.1

Contract ^0.12.0 65a438b1b39846898cc9696abf6f646ff5ce4c2c17cad7e5d2485ab02feae4fd

A sample Late Delivery And Penalty clause.

Download Archive Open in Template Studio

Late Delivery And Penalty

A sample Late Delivery And Penalty clause.

Sample

Late Delivery and Penalty. In case of delayed delivery except for Force Majeure cases, "Dan" (the Seller) shall pay to "Steve" (the Buyer) for every 2 days of delay penalty amounting to 10.5% of the total value of the Equipment whose delivery has been delayed. Any fractional part of a days is to be considered a full days. The total amount of penalty shall not however, exceed 55% of the total value of the Equipment involved in late delivery. If the delay is more than 15 days, the Buyer is entitled to terminate this Contract.
                

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.latedeliveryandpenalty.LateDeliveryAndPenaltyContract",
    "contractId": "a17fe949-1765-4fcd-a80d-775882109aff",
    "buyer": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Steve"
    },
    "seller": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Dan"
    },
    "forceMajeure": true,
    "penaltyDuration": {
        "$class": "org.accordproject.time.Duration",
        "amount": 2,
        "unit": "days"
    },
    "penaltyPercentage": 10.5,
    "capPercentage": 55,
    "termination": {
        "$class": "org.accordproject.time.Duration",
        "amount": 15,
        "unit": "days"
    },
    "fractionalPart": "days"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "9951f4b0-60ab-11e9-ba69-a3cec1fc66e2"
}

Request Types

Type Sample JSON
org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest
{
    "$class": "org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest",
    "forceMajeure": false,
    "agreedDelivery": "2019-04-17T00:56:13.945+00:00",
    "deliveredAt": "2019-04-17T00:56:13.945+00:00",
    "goodsValue": 18.572,
    "transactionId": "9951a690-60ab-11e9-ba69-a3cec1fc66e2",
    "timestamp": "2019-04-17T00:56:13.945+00:00"
}

Response Types

Type Sample JSON
org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyResponse
{
    "$class": "org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyResponse",
    "penalty": 133.202,
    "buyerMayTerminate": false,
    "transactionId": "9951cda0-60ab-11e9-ba69-a3cec1fc66e2",
    "timestamp": "2019-04-17T00:56:13.946+00:00"
}

Events Types

Type Sample JSON
org.accordproject.cicero.runtime.PaymentObligation
{
    "$class": "org.accordproject.cicero.runtime.PaymentObligation",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 177.234,
        "currencyCode": "XOF"
    },
    "description": "Nisi do ut pariatur.",
    "contract": "resource:org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyContract#5056",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#3036",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#1801",
    "deadline": "2019-04-17T00:56:13.947+00:00",
    "eventId": "9951f4b1-60ab-11e9-ba69-a3cec1fc66e2",
    "timestamp": "2019-04-17T00:56:13.947+00:00"
}