HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
Guides
These docs are for v2024.01.01. Click to read the latest docs for v2024.08.01.

BACS allocation result - success

Successful allocation

{
    "eventId": "cad7d116-1bc8-4a34-b631-3644a63f5352",
    "eventType": "SERVICE_COMMERCIAL_BACS_ALLOCATION",
    "tenantId": "8367f08d-ef04-4df8-9bf3-0ad519cf3be7",
    "eventDate": "2023-11-07 10:58:52",
    "data": {
        "accountIdentifier": "27991962-739a-46ff-bbce-365b938c50f3",
        "company": {
            "companyIdentifier": "co20231107100714",
            "companyName": "Thiel - O'Connell",
            "companyType": "INDEPENDENT"
        },
        "invoices": [
            "19545"
        ],
        "payment": {
            "amount": 10,
            "currencyCode": "GBP",
            "paymentDate": "2023-11-10 00:00:00",
            "entryIdentifier": "SD001003",
            "name": "Garden Bar Limited",
            "address": "603 Lueilwitz Squares Langworthberg PC12 3RP"
        },
        "allocation": {
            "status": "ALLOCATED",
            "amount": 10,
            "currencyCode": "GBP",
            "allocationDate": "2023-11-11 10:58:51"
        }
    },
    "sourceId": "947e64e1-678e-42a0-e053-0100007f4dd6",
    "sourceName": "PW_SYSTEM",
    "sourceType": "USER",
    "entityId": "a5d73526-39e7-410a-a1dc-f59f35136a73",
    "entityType": "COMPANY",
    "entityOperation": "O",
    "auditMessage": "BACS payment allocation result"
}

Unsuccessful allocation

{
	"eventType": "SERVICE_COMMERCIAL_BACS_ALLOCATION",
	"tenantId": "8367f08d-ef04-4df8-9bf3-0ad519cf3be7",
	"eventDate": "2023-06-06 11:09:07",
	"data": {
		"payment": [{
			"amount": "0.00",
			"currency": "GBP",
			"paymentDate": "YYYY-MM_DD 00:00:00",
      "entryIdentifier": "000000000"
    }],
		"allocation": [{
			"status": "UNALLOCATED",
    }],
		"sourceId": "95079b7c-eca2-1a78-e053-0100007f3c74",
		"sourceName": "PW_SYSTEM",
		"sourceType": "USER",
		"entityId": "fba6904f-8cbf-4933-84c0-061834f896c5",
		"entityType": "COMPANY",
		"entityOperation": "O",
		"auditMessage": "BACS payment allocation result"
	}
}