Skip to main content
POST
/
gb
/
organizations
/
{organization_id}
/
payrolls
/
bacs-file
/
validate
Validate a BACS file
curl --request POST \
  --url https://preview.intermezzo.ai/gb/organizations/{organization_id}/payrolls/bacs-file/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "valid": true,
  "paymentCount": 0,
  "totalPence": 0,
  "processingDate": "2023-12-25",
  "originatorRef": "<string>",
  "errors": [
    {
      "line": 123,
      "severity": "error",
      "code": "<string>",
      "message": "<string>"
    }
  ],
  "warnings": [
    {
      "line": 123,
      "severity": "error",
      "code": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Get token from Auth0 and paste it here

Path Parameters

organization_id
required

Body

multipart/form-data
file
file
required

Response

Successful Response

valid
boolean
required
paymentCount
integer
default:0
totalPence
integer
default:0
processingDate
string<date> | null
originatorRef
string | null
errors
BacsValidationIssue · object[]
warnings
BacsValidationIssue · object[]