Acceptance of Delivery

Author: Accord Project

acceptance-of-delivery@0.13.2 Clause ^0.20.10 b16e0004f345923efd4a361605e11e62f08d54d8857e1020dd567b2f50e16c60

This clause allows the receiver of goods to inspect them for a given time period after delivery.

Download Archive Open in Template Studio

Acceptance of Delivery

This clause allows the receiver of goods to inspect them for a given time period after delivery.

Template Text

Acceptance of Delivery.

"Party A" will be deemed to have completed its delivery obligations if in "Party B"'s opinion, the "Widgets" satisfies the Acceptance Criteria, and "Party B" notifies "Party A" in writing that it is accepting the "Widgets".

Inspection and Notice.

"Party B" will have 10 Business Days to inspect and evaluate the "Widgets" on the delivery date before notifying "Party A" that it is either accepting or rejecting the "Widgets".

Acceptance Criteria.

The "Acceptance Criteria" are the specifications the "Widgets" must meet for the "Party A" to comply with its requirements and obligations under this agreement, detailed in "Attachment X", attached to this agreement.

## Acceptance of Delivery.

"Party A" will be deemed to have completed its delivery obligations
if in "Party B"'s opinion, the "Widgets" satisfies the
Acceptance Criteria, and "Party B" notifies "Party A" in writing
that it is accepting the "Widgets".

## Inspection and Notice.

"Party B" will have 10 Business Days to inspect and
evaluate the "Widgets" on the delivery date before notifying
"Party A" that it is either accepting or rejecting the
"Widgets".

## Acceptance Criteria.

The "Acceptance Criteria" are the specifications the "Widgets"
must meet for the "Party A" to comply with its requirements and
obligations under this agreement, detailed in "Attachment X", attached
to this agreement.
Acceptance of Delivery.
----

{{shipper}} will be deemed to have completed its delivery obligations
if in {{receiver}}'s opinion, the {{deliverable}} satisfies the
Acceptance Criteria, and {{receiver}} notifies {{shipper}} in writing
that it is accepting the {{deliverable}}.

Inspection and Notice.
----

{{receiver}} will have {{businessDays}} Business Days to inspect and
evaluate the {{deliverable}} on the delivery date before notifying
{{shipper}} that it is either accepting or rejecting the
{{deliverable}}.

Acceptance Criteria.
----

The "Acceptance Criteria" are the specifications the {{deliverable}}
must meet for the {{shipper}} to comply with its requirements and
obligations under this agreement, detailed in {{attachment}}, attached
to this agreement.
{
    "$class": "org.accordproject.acceptanceofdelivery.AcceptanceOfDeliveryClause",
    "clauseId": "ecbc1b89-50a1-4f6d-b1c4-58dfd23f081a",
    "shipper": "Party A",
    "receiver": "Party B",
    "deliverable": "Widgets",
    "businessDays": 10,
    "attachment": "Attachment X"
}

Template Model

namespace org.accordproject.acceptanceofdelivery

import org.accordproject.cicero.contract.* from https://models.accordproject.org/cicero/contract.cto
import org.accordproject.cicero.runtime.* from https://models.accordproject.org/cicero/runtime.cto
import org.accordproject.organization.Organization from https://models.accordproject.org/organization.cto


/**
 * Sent by the receiver of the goods, indicates when the goods were
 * received, as well as if they passed inspection
 */
transaction InspectDeliverable extends Request {
  o DateTime deliverableReceivedAt
  o Boolean inspectionPassed
}

/**
 * The inspection status
 */
enum InspectionStatus {
  o PASSED_TESTING
  o FAILED_TESTING
  o OUTSIDE_INSPECTION_PERIOD
}

/**
 * The clause response
 */
transaction InspectionResponse extends Response {
  o InspectionStatus status
  --> Organization shipper
  --> Organization receiver
}

/**
 * The template model
 */
asset AcceptanceOfDeliveryClause extends AccordClause {
  /**
   * the shipper of the goods
   */
  --> Organization shipper

  /**
   * the receiver of the goods
   */
  --> Organization receiver

  /**
   * what are we delivering
   */
  o String deliverable

  /**
   * how long does the receiver have to inspect the goods
   */
  o Long businessDays

  /**
   * additional information
   */
  o String attachment
}

Model Dependencies

Template Logic

Find the full logic for this template on on GitHub.

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "cd75ada0-7b6b-11ea-b280-c173749a9e96"
}

Request Types

Type Sample JSON
org.accordproject.acceptanceofdelivery.InspectDeliverable
{
    "$class": "org.accordproject.acceptanceofdelivery.InspectDeliverable",
    "deliverableReceivedAt": "2020-04-10T16:42:32.694-04:00",
    "inspectionPassed": true,
    "transactionId": "cd74ea50-7b6b-11ea-b280-c173749a9e96",
    "timestamp": "2020-04-10T16:42:32.694-04:00"
}

Response Types

Type Sample JSON
org.accordproject.acceptanceofdelivery.InspectionResponse
{
    "$class": "org.accordproject.acceptanceofdelivery.InspectionResponse",
    "status": "PASSED_TESTING",
    "shipper": "resource:org.accordproject.organization.Organization#9863",
    "receiver": "resource:org.accordproject.organization.Organization#4725",
    "transactionId": "cd758690-7b6b-11ea-b280-c173749a9e96",
    "timestamp": "2020-04-10T16:42:32.697-04:00"
}

Events Types

Type Sample JSON
org.accordproject.base.Event
{
    "abstract": "this is an abstract type"
}

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 GitHub.