Please report issues and contribute improvements on GitHub!

Template purchase-order-failure@0.2.0

Contract Ergo ^0.10.2 6ae730431f1988d4fa51e626e810e152f7ebc74a2242560f901ced3c589f4620

Issues credits for late purchase orders

Download Archive Open in Template Studio

Purchase Order Failure

This clause emits a payment obligations for purchase orders that are received late.

Sample

In the event that a Purchase Order Failure causes any Product to be delivered more than 1 days after the delivery date for such Product specified in the applicable Purchase Order therefore, "Buyer Corp" shall be entitled to receive a 5.0% discount on the Actual Price for such late delivered Product which would otherwise have been payable pursuant to "Article 5". In the event that a Purchase Order Failure causes any Product to be delivered more than 2 days after the delivery date for such Product specified in the applicable Purchase Order therefore, "Buyer Corp" shall be entitled to receive a 10% discount on the Actual Price for such late delivered Product which would otherwise have been payable pursuant to "Article 5". In the event that a Purchase Order Failure causes any Product to be delivered more than 10 days, after the delivery date for such Product specified in the applicable Purchase Order therefore, "Buyer Corp" shall be entitled to receive a 50% discount on the Actual Price for such late delivered Product which would otherwise have been payable pursuant to "Article 5". Any discount amount owing to "Buyer Corp" pursuant to this "Section 3.5(c)" shall be paid by paying "Buyer Corp" such amount via electronc money transfer.
                

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": "com.docusign.clauses.PurchaseOrderFailure",
    "contractId": "a2a013cd-e85e-415c-8e8f-6448cd123a1f",
    "buyer": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Buyer Corp"
    },
    "lateOne": {
        "$class": "org.accordproject.time.Duration",
        "amount": 1,
        "unit": "days"
    },
    "lateTwo": {
        "$class": "org.accordproject.time.Duration",
        "amount": 2,
        "unit": "days"
    },
    "lateThree": {
        "$class": "org.accordproject.time.Duration",
        "amount": 10,
        "unit": "days"
    },
    "lateOnePercent": 5,
    "lateTwoPercent": 10,
    "lateThreePercent": 50,
    "article": "Article 5",
    "thisSection": "Section 3.5(c)"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "80f72331-439c-11e9-a71d-1d102662ba91"
}

Request Types

Type Sample JSON
com.docusign.connect.DocuSignEnvelopeInformation
{
    "$class": "com.docusign.connect.DocuSignEnvelopeInformation",
    "envelopeStatus": {
        "$class": "com.docusign.connect.EnvelopeStatus",
        "status": "Delivered",
        "envelopeId": "Reprehenderit cillum.",
        "created": "2019-03-11T01:25:06.912Z",
        "sent": "2019-03-11T01:25:06.912Z",
        "delivered": "2019-03-11T01:25:06.912Z",
        "signed": "2019-03-11T01:25:06.912Z",
        "completed": "2019-03-11T01:25:06.912Z",
        "email": "Non pariatur."
    },
    "recipients": [
        {
            "$class": "com.docusign.connect.Recipient",
            "status": "Delivered",
            "email": "Dolor aliqua consequat.",
            "userName": "Sit.",
            "sent": "2019-03-11T01:25:06.912Z",
            "delivered": "2019-03-11T01:25:06.912Z",
            "signed": "2019-03-11T01:25:06.912Z",
            "declined": "2019-03-11T01:25:06.912Z",
            "declineReason": "Proident."
        }
    ],
    "customFields": [
        {
            "$class": "com.docusign.connect.CustomField",
            "name": "Quis aute mollit esse minim.",
            "value": "Ex aute est sunt."
        }
    ],
    "transactionId": "80f686f0-439c-11e9-a71d-1d102662ba91",
    "timestamp": "2019-03-11T01:25:06.912Z"
}

Response Types

Type Sample JSON
com.docusign.clauses.PurchaseOrderFailureResponse
{
    "$class": "com.docusign.clauses.PurchaseOrderFailureResponse",
    "penalty": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 145.694,
        "currencyCode": "GHS"
    },
    "transactionId": "80f72330-439c-11e9-a71d-1d102662ba91",
    "timestamp": "2019-03-11T01:25:06.915Z"
}

Events Types

Type Sample JSON
org.accordproject.cicero.runtime.PaymentObligation
{
    "$class": "org.accordproject.cicero.runtime.PaymentObligation",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 246.613,
        "currencyCode": "CHE"
    },
    "description": "Magna aliquip officia fugiat quis.",
    "contract": "resource:com.docusign.clauses.PurchaseOrderFailure#7855",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#1738",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#7759",
    "deadline": "2019-03-11T01:25:06.916Z",
    "eventId": "80f74a40-439c-11e9-a71d-1d102662ba91",
    "timestamp": "2019-03-11T01:25:06.916Z"
}