Carrot scenario payload example

Back to invoice submission scenarios

{
    "pmsSoftwareName": "ACC Test PMS",
    "pmsSoftwareVersion": "1.1",
    "comment": "",
    "contractId": "80",
    "declaration": {
        "declarationDate": "2018-03-02"
    },
    "lines": [
        {
            "claimId": "QQ00018",
            "lineDetails": {
                "billing": {
                    "billingMethod": "units",
                    "hoursClaimed": "",
                    "minutesClaimed": "",
                    "travelClaimed": "",
                    "unitsClaimed": 2
                },
                "purchaseOrderNumber": "",
                "serviceCodes": [
                    "GP1"
                ],
                "serviceDate": "2018-03-02",
                "invoiceComment": "Test invoice for Carrot scenario - Client 1",
                "invoiceAmount": 63.06
            },
            "patient": {
                "dateOfBirth": "1950-06-03",
                "firstName": "Barry",
                "middleName": "",
                "nhi": "",
                "surname": "Banana"
            },
            "provider": {
                "firstName": "ACC",
                "middleName": "",
                "providerId": "PPP###",
                "surname": "TEST PROVIDER",
                "facilityId": ""
            },
            "accidentDate": "2017-11-20"
        },
  {
            "claimId": "ZA00504",
            "lineDetails": {
                "billing": {
                    "billingMethod": "units",
                    "hoursClaimed": "",
                    "minutesClaimed": "",
                    "travelClaimed": "",
                    "unitsClaimed": 1
                },
                "purchaseOrderNumber": "",
                "serviceCodes": [
                    "GP1"
                ],
                "serviceDate": "2018-03-02",
                "invoiceComment": "Test invoice for Carrot scenario - Client 2",
                "invoiceAmount": 31.53
            },
            "patient": {
                "dateOfBirth": "1985-01-01",
                "firstName": "Chip",
                "middleName": "",
                "nhi": "",
                "surname": "Chocolate"
            },
            "provider": {
                "firstName": "ACC",
                "middleName": "",
                "providerId": "PPP###",
                "surname": "TEST PROVIDER",
                "facilityId": ""
            },
            "accidentDate": "2017-09-30"
        }
    ],
 
    "vendor": {
        "vendorGST": "000000000",
        "vendorID": "ZZZ###",
        "vendorName": "TEST VENDOR",
        "vendorPhone": ""
    }
}