Please report issues and contribute improvements on GitHub!

Template purchase-order-failure@0.1.1

Contract JavaScript ^0.10.0 462b21976b2474a9c4d0500cf3fa129ada00caf77eb7d506ef889d203f9787fb

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": "a85fb5e2-adca-46de-a0c3-7db1ec224589",
    "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

Request Types

Type Sample JSON
com.docusign.connect.DocuSignEnvelopeInformation
{
    "$class": "com.docusign.connect.DocuSignEnvelopeInformation",
    "envelopeStatus": {
        "$class": "com.docusign.connect.EnvelopeStatus",
        "status": "Completed",
        "envelopeId": "Reprehenderit quis officia do.",
        "created": "2019-03-11T00:38:43.507Z",
        "sent": "2019-03-11T00:38:43.507Z",
        "delivered": "2019-03-11T00:38:43.507Z",
        "signed": "2019-03-11T00:38:43.507Z",
        "completed": "2019-03-11T00:38:43.507Z",
        "email": "Dolore elit ipsum aute."
    },
    "recipients": [
        {
            "$class": "com.docusign.connect.Recipient",
            "status": "Declined",
            "email": "Tempor amet.",
            "userName": "Qui ad non do proident.",
            "sent": "2019-03-11T00:38:43.507Z",
            "delivered": "2019-03-11T00:38:43.507Z",
            "signed": "2019-03-11T00:38:43.507Z",
            "declined": "2019-03-11T00:38:43.507Z",
            "declineReason": "Culpa do culpa quis."
        }
    ],
    "customFields": [
        {
            "$class": "com.docusign.connect.CustomField",
            "name": "Duis cupidatat.",
            "value": "Aliqua officia duis exercitation."
        }
    ],
    "transactionId": "05ecc830-4396-11e9-9ca6-e5beee196432",
    "timestamp": "2019-03-11T00:38:43.507Z"
}

Response Types

Type Sample JSON
com.docusign.clauses.PurchaseOrderFailureResponse
{
    "$class": "com.docusign.clauses.PurchaseOrderFailureResponse",
    "penalty": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 42.725,
        "currencyCode": "SRD"
    },
    "transactionId": "05ed3d60-4396-11e9-9ca6-e5beee196432",
    "timestamp": "2019-03-11T00:38:43.510Z"
}

Events Types

Type Sample JSON
org.accordproject.cicero.runtime.PaymentObligation
{
    "$class": "org.accordproject.cicero.runtime.PaymentObligation",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 2.556,
        "currencyCode": "MOP"
    },
    "description": "Reprehenderit et irure.",
    "contract": "resource:com.docusign.clauses.PurchaseOrderFailure#0722",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#4699",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#3291",
    "deadline": "2019-03-11T00:38:43.510Z",
    "eventId": "05ed3d61-4396-11e9-9ca6-e5beee196432",
    "timestamp": "2019-03-11T00:38:43.510Z"
}