The Bank Statement Import object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
Default: Pending
Default: false
Default: Bank Transaction
Default: Insert New Records
Default: true
Default: true
Default: false
Default: ,;\t|
Default: false
Default: false
{
"id": "bank-statement-import_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"bank_account": "bank_account_example",
"bank": "bank_example",
"import_file": "import_file_example",
"template_options": "template_options_example",
"status": "Pending",
"template_warnings": "template_warnings_example",
"show_failed_logs": false,
"google_sheets_url": "google_sheets_url_example",
"reference_doctype": "Bank Transaction",
"import_type": "Insert New Records",
"submit_after_import": true,
"mute_emails": true,
"custom_delimiters": false,
"delimiter_options": ",;\\t|",
"use_csv_sniffer": false,
"import_mt940_fromat": false
} /api/accounts/bank-statement-import/{id} Retrieve a bank statement import
Retrieves the details of an existing bank statement import. Supply the unique bank statement import ID that was returned from a previous request.
Path parameters
The identifier of the bank statement import to retrieve.
Returns
Returns the bank statement import object if a valid identifier was provided.
curl https://api.overplane.dev/api/accounts/bank-statement-import/bank-statement-import_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "bank-statement-import_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"bank_account": "bank_account_example",
"bank": "bank_example",
"import_file": "import_file_example",
"template_options": "template_options_example",
"status": "Pending",
"template_warnings": "template_warnings_example",
"show_failed_logs": false,
"google_sheets_url": "google_sheets_url_example",
"reference_doctype": "Bank Transaction",
"import_type": "Insert New Records",
"submit_after_import": true,
"mute_emails": true,
"custom_delimiters": false,
"delimiter_options": ",;\\t|",
"use_csv_sniffer": false,
"import_mt940_fromat": false
} /api/accounts/bank-statement-import List all bank statement imports
Returns a list of bank statement imports. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of bank statement import objects.
curl https://api.overplane.dev/api/accounts/bank-statement-import \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "bank-statement-import_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"bank_account": "bank_account_example",
"bank": "bank_example",
"import_file": "import_file_example",
"template_options": "template_options_example",
"status": "Pending",
"template_warnings": "template_warnings_example",
"show_failed_logs": false,
"google_sheets_url": "google_sheets_url_example",
"reference_doctype": "Bank Transaction",
"import_type": "Insert New Records",
"submit_after_import": true,
"mute_emails": true,
"custom_delimiters": false,
"delimiter_options": ",;\\t|",
"use_csv_sniffer": false,
"import_mt940_fromat": false
}
],
"has_more": false,
"total": 1
} /api/accounts/bank-statement-import Create a bank statement import
Creates a new bank statement import object.
Body parameters
Default: Pending
Default: false
Default: Bank Transaction
Default: Insert New Records
Default: true
Default: true
Default: false
Default: ,;\t|
Default: false
Default: false
Returns
Returns the newly created bank statement import object if the call succeeded.
curl https://api.overplane.dev/api/accounts/bank-statement-import \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"company":"Example Corp","bank_account":"bank_account_example"}' {
"id": "bank-statement-import_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"bank_account": "bank_account_example",
"bank": "bank_example",
"import_file": "import_file_example",
"template_options": "template_options_example",
"status": "Pending",
"template_warnings": "template_warnings_example",
"show_failed_logs": false,
"google_sheets_url": "google_sheets_url_example",
"reference_doctype": "Bank Transaction",
"import_type": "Insert New Records",
"submit_after_import": true,
"mute_emails": true,
"custom_delimiters": false,
"delimiter_options": ",;\\t|",
"use_csv_sniffer": false,
"import_mt940_fromat": false
} /api/accounts/bank-statement-import/{id} Update a bank statement import
Updates the specified bank statement import by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the bank statement import to update.
Body parameters
Default: Pending
Default: false
Default: Bank Transaction
Default: Insert New Records
Default: true
Default: true
Default: false
Default: ,;\t|
Default: false
Default: false
Returns
Returns the updated bank statement import object.
curl https://api.overplane.dev/api/accounts/bank-statement-import/bank-statement-import_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"company":"Example Corp","bank_account":"bank_account_example"}' {
"id": "bank-statement-import_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"bank_account": "bank_account_example",
"bank": "bank_example",
"import_file": "import_file_example",
"template_options": "template_options_example",
"status": "Pending",
"template_warnings": "template_warnings_example",
"show_failed_logs": false,
"google_sheets_url": "google_sheets_url_example",
"reference_doctype": "Bank Transaction",
"import_type": "Insert New Records",
"submit_after_import": true,
"mute_emails": true,
"custom_delimiters": false,
"delimiter_options": ",;\\t|",
"use_csv_sniffer": false,
"import_mt940_fromat": false
} /api/accounts/bank-statement-import/{id} Delete a bank statement import
Permanently deletes a bank statement import. This cannot be undone.
Path parameters
The identifier of the bank statement import to delete.
Returns
Returns a confirmation that the bank statement import has been deleted.
curl https://api.overplane.dev/api/accounts/bank-statement-import/bank-statement-import_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "bank-statement-import_abc123",
"deleted": true
}