# API: SEPA: Get statement details

# getStatementDetails

Get statement details. Method only available for installations with enabled SEPA Direct Debit plugin

# Required parameters

Parameter Description
id Statement ID

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getStatementDetails&id=ID

# PHP Samples

# Response

{
    "success": true,
    "statement": {
        "id": "1",
        "name": "BANKFILEID00001NTR00001",
        "date": "2009-10-30 20:01:45",
        "status": "Pending",
        "creditor_id": "2",
        "type": "CAMT.054",
        "creditor": {
            "id": "2",
            "name": "Test 54",
            "payee_id": "FI7433010001222090",
            "iban": "FI7433010001222090",
            "bic": "",
            "notice_time": "14",
            "processing_time_first": "6",
            "processing_time_recurring": "3",
            "status": "Active",
            "monthdays": "1,15",
            "currencies": "pain.008.002.02",
            "lclinstrm": "CORE",
            "only_recurring": "0",
            "preferred_brand": "0",
            "ignore_create_batch": "0"
        },
        "rows": [
            {
                "id": "1",
                "bank_statement_id": "1",
                "transaction_name": "",
                "created_transaction_id": "0",
                "status": "Unmatched",
                "date": "2009-10-29",
                "iban": "",
                "from": "PAYERS NAME1",
                "subject": "3900",
                "amount": "1900.00",
                "matched_currency_id": "1",
                "matched_client_id": "0",
                "matched_invoice_id": "0",
                "matched_batch_id": "0"
            },
            {
                "id": "6",
                "bank_statement_id": "1",
                "transaction_name": "EndToEndIdAT-41-002",
                "created_transaction_id": "0",
                "status": "Unmatched",
                "date": "2009-10-29",
                "iban": "",
                "from": "AT-02 DEBTOR NAME 02",
                "subject": "RFB\/557742358",
                "amount": "500.00",
                "matched_currency_id": "1",
                "matched_client_id": "0",
                "matched_invoice_id": "0",
                "matched_batch_id": "0"
            },
            {
                "id": "8",
                "bank_statement_id": "1",
                "transaction_name": "",
                "created_transaction_id": "0",
                "status": "Unmatched",
                "date": "2009-10-29",
                "iban": "",
                "from": "Creditor Company",
                "subject": "Invoices 123 and 321",
                "amount": "-1000.01",
                "matched_currency_id": "1",
                "matched_client_id": "0",
                "matched_invoice_id": "0",
                "matched_batch_id": "0"
            }
        ]
    },
    "call": "getStatementDetails",
    "server_time": 1594798755
}
Last Updated: 9/6/2023, 1:47:11 PM