...
| Field | Formats | Purpose |
|---|---|---|
sender | TotalIn, International | Original sender info for forwarded payments |
discountCode | BGMax, TotalIn | Early payment discount indicator |
bankReference | Various | Bank's internal reference number |
accountStatementRef | ISO20022 | Bank statement identifier (header-level) |
Example Schema
Core fields always present, format-specific data isolated in extensions.
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"file": {
"uniqueId": "a1b2c3d4e5f6...",
"timestamp": "2024-01-15T10:30:00Z",
"format": "ISO20022_CAMT054",
"provider": "Nordea"
},
"headers": [
{
"paymentDate": "2024-01-15",
"currency": "SEK",
"receivingAccount": "5555-1234567",
"transactionCount": 2,
"totalAmount": 14000.00,
"transactions": [
{
"transactionId": "TXN-2024-001",
"amount": 10500.00,
"references": [{ "reference": "7340012345678", "amount": 10500.00 }],
"messages": ["Invoice 12345"],
"payer": {
"id": "SE5501011234",
"name": "Acme Corporation AB",
"address": "Storgatan 1, Stockholm",
"country": "SE",
"bankAccount": "1234-5678901"
},
"extensions": {
"discountCode": "0"
}
},
{
"transactionId": "TXN-2024-002",
"amount": 3500.00,
"references": [
{ "reference": "9912345678901", "amount": 2000.00 },
{ "reference": "9912345678902", "amount": 1500.00 }
],
"messages": [],
"payer": {
"id": "SE6601025678",
"name": null,
"address": null,
"country": null,
"bankAccount": null
},
"extensions": {}
}
],
"extensions": {
"accountStatementRef": "STMT-2024-001"
}
}
]
} |
...
Outgoing Payments (Zynergy → Bank)
...