Mini Late Delivery And Penalty

Author: Accord Project

minilatedeliveryandpenalty@0.12.0 Clause ^0.26.0 1b091cc57935a6034c2495c601be0b9d710cbbc1083fac06d70ab80eb4db1ff2

A simplified late delivery and penalty clause.

Download Archive Download Compiled Archive Open in Template Playground Open in VSCode Web

A Late Delivery And Penalty (Mini)

A Late Delivery And Penalty clause (Mini).

Template Text

Late Delivery and Penalty.

In case of delayed delivery of Goods, "Steve Seller" shall pay to "Betty Buyer" a penalty amounting to 10.5% of the total value of the Goods for every 2 days of delay. If the delay is more than 15 days, the Buyer is entitled to terminate this Contract.

Late Delivery and Penalty.

In case of delayed delivery of Goods, "Steve Seller" shall pay to
"Betty Buyer" a penalty amounting to 10.5% of the total
value of the Goods for every 2 days of delay. If the
delay is more than 15 days, the Buyer is entitled to
terminate this Contract.
Late Delivery and Penalty.

In case of delayed delivery of Goods, {{seller}} shall pay to
{{buyer}} a penalty amounting to {{penaltyPercentage}}% of the total
value of the Goods for every {{penaltyDuration}} of delay. If the
delay is more than {{maximumDelay}}, the Buyer is entitled to
terminate this Contract.
{
  "$class": "org.accordproject.minilatedeliveryandpenalty@0.1.0.TemplateModel",
  "buyer": "resource:org.accordproject.party.Party#Betty%20Buyer",
  "seller": "resource:org.accordproject.party.Party#Steve%20Seller",
  "penaltyDuration": {
    "$class": "org.accordproject.time@0.3.0.Duration",
    "amount": 2,
    "unit": "days"
  },
  "penaltyPercentage": 10.5,
  "maximumDelay": {
    "$class": "org.accordproject.time@0.3.0.Duration",
    "amount": 15,
    "unit": "days"
  },
  "clauseId": "462ec0cc-06f8-45ba-afae-5f9d9f9e7cb7",
  "$identifier": "462ec0cc-06f8-45ba-afae-5f9d9f9e7cb7"
}

Template Model

namespace org.accordproject.minilatedeliveryandpenalty@0.1.0

import org.accordproject.contract@0.2.0.Clause from https://models.accordproject.org/accordproject/contract@0.2.0.cto
import org.accordproject.runtime@0.2.0.{Request,Response} from https://models.accordproject.org/accordproject/runtime@0.2.0.cto
import org.accordproject.time@0.3.0.{Duration,TemporalUnit} from https://models.accordproject.org/time@0.3.0.cto

transaction LateRequest extends Request {
  o DateTime agreedDelivery
  o DateTime deliveredAt
  o Double goodsValue
}

transaction LateResponse extends Response {
  o Double penalty
  o Boolean buyerMayTerminate
}

@template
asset TemplateModel extends Clause {
  o String buyer
  o String seller
  o Duration penaltyDuration
  o Double penaltyPercentage
  o Duration maximumDelay
}

Model Dependencies

Template Logic

Find the full logic for this template on on GitHub.

State Types

Type Sample JSON
org.accordproject.runtime@0.2.0.State
{
    "$class": "org.accordproject.runtime@0.2.0.State",
    "$identifier": "7b86b380-50a4-11f1-a498-6b6dff021a96"
}

Request Types

Type Sample JSON
org.accordproject.minilatedeliveryandpenalty@0.1.0.LateRequest
{
    "$class": "org.accordproject.minilatedeliveryandpenalty@0.1.0.LateRequest",
    "agreedDelivery": "2026-05-15T21:24:40.248Z",
    "deliveredAt": "2026-05-15T21:24:40.248Z",
    "goodsValue": 220.876,
    "$timestamp": "2026-05-15T21:24:40.248Z"
}
org.accordproject.runtime@0.2.0.Request
{
    "$class": "org.accordproject.runtime@0.2.0.Request",
    "$timestamp": "2026-05-15T21:24:40.248Z"
}

Response Types

Type Sample JSON
org.accordproject.minilatedeliveryandpenalty@0.1.0.LateResponse
{
    "$class": "org.accordproject.minilatedeliveryandpenalty@0.1.0.LateResponse",
    "penalty": 216.748,
    "buyerMayTerminate": true,
    "$timestamp": "2026-05-15T21:24:40.248Z"
}
org.accordproject.runtime@0.2.0.Response
{
    "$class": "org.accordproject.runtime@0.2.0.Response",
    "$timestamp": "2026-05-15T21:24:40.248Z"
}

Events Types

Type Sample JSON

Technical Integration

Please refer to the Accord Project documentation for how to use a template or integrate it within your application.

View the Latest code for this template on GitHub.