Headers
-
Content-Type
string -
Accept
string -
X-PLANNR-ACCOUNT-UUID
string
Body
Required
-
statement_uuid
string Required Payment period statement UUID
-
date
date Required Statement date
-
name
string Optional title to name the bank statement. If null an auto generated name will be created.
-
reference
string Statement reference given by bank
POST
/api/v1/bank-statement
curl \
--request POST 'https://api.plannrcrm.com/api/v1/bank-statement' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"statement_uuid":"81895d94-3ed0-4510-b2fb-bab52ea9e7de","date":"2025-04-02","name":"Natwest Statement #8434","reference":"BAT#8434"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"statement_uuid": "81895d94-3ed0-4510-b2fb-bab52ea9e7de",
"date": "2025-04-02",
"name": "Natwest Statement #8434",
"reference": "BAT#8434"
}
Response examples (201)
{
"date": "2025-04-02",
"name": "Aviva",
"uuid": "2b81f641-8399-4873-8946-07ce1d3edd7e",
"number": 23,
"reference": "SW#8434",
"statement": {
"name": "01/06/2022 - 30/06/2022",
"uuid": "f871cf53-995c-4318-9749-8e28783551df",
"locked": false,
"end_date": "2022-06-01",
"locked_at": "2025-04-02T13:27:58+01:00",
"locked_by": "App\\Http\\Resources\\AccountResource",
"created_at": "2025-04-02T13:27:58+01:00",
"start_date": "2022-06-30",
"updated_at": "2025-04-02T13:27:58+01:00",
"expectations_count": 6,
"total_expectations": {
"amount": "124585",
"currency": "GBP",
"formatted": "£1,245.85"
},
"statement_transactions": "App\\Http\\Resources\\StatementTransactionResource",
"total_bank_transactions": {
"amount": "125599",
"currency": "GBP",
"formatted": "£1,255.99"
},
"statement_transactions_count": 6,
"total_statement_transactions": {
"amount": "125599",
"currency": "GBP",
"formatted": "£1,255.99"
},
"total_expectation_amount_reconciled_to_bank": {
"amount": "125599",
"currency": "GBP",
"formatted": "£1,255.99"
},
"total_expectation_percentage_reconciled_to_bank": {
"amount": "8570",
"currency": "GBP",
"formatted": "£85.70"
}
},
"created_at": "2025-04-02T13:27:58+01:00",
"updated_at": "2025-04-02T13:27:58+01:00",
"total_amount": {
"amount": "345895",
"currency": "GBP",
"formatted": "£3,458.95"
},
"bank_transactions": [
{
"date": "2022-07-15",
"firm": "App\\Http\\Resources\\FirmResource",
"uuid": "6e63d461-4d72-4e84-92cd-fd9b12fc6a01",
"amount": {
"amount": "12399",
"currency": "GBP",
"formatted": "£123.99"
},
"account": "App\\Http\\Resources\\AccountResource",
"filename": "Natwest June 2022 Statement.xlsx",
"metadata": {
"client_name": "Gareth Thompson"
},
"reference": "VitalityLtd",
"statement": "App\\Http\\Resources\\StatementResource",
"created_at": "2025-04-02T13:27:58+01:00",
"updated_at": "2025-04-02T13:27:58+01:00",
"bank_statement": "App\\Http\\Resources\\BankStatementResource"
}
],
"reconciled_amount": {
"amount": "12849",
"currency": "GBP",
"formatted": "£128.49"
},
"reconciled_percentage": 95.68,
"bank_transactions_count": 6
}