# Create a bank statement for an account Generates a bank statement for the account specified in the request URL. You must provide a and an . The API will return all bookings with a that falls on and between these two dates. You may set the to a date before the account was opened, but provide this option to your customers in your frontend. This request is idempotent. If you attempt multiple requests with the same and , then the API will return a response with the data produced by the original request. Endpoint: POST /v1/accounts/{account_id}/bank_statements Version: 1.0 ## Path parameters: - `account_id` (string, required) ## Request fields (application/json): - `start_date` (string, required) The starting date from which to return bookings for the account. Example: "2016-05-24" - `end_date` (string, required) The ending date for the bank statement. Must be a later date than the . Example: "2016-05-31" ## Response 200 fields (application/json): - `id` (string) ID of the bank statement. Example: "4463f72f46cc9233c5494146f01b152ccsas" - `recipient_information` (object) The recipient's name and address. - `recipient_information.line_1` (string) First line of the recipient information text. Example: "Mr. Peter Mustermann" - `recipient_information.line_2` (string) Second line of the recipient information text. Example: "Musterstrasse 23" - `recipient_information.line_3` (string) Third line of the recipient information text. Example: "10409 Berlin" - `recipient_information.line_4` (string) Fourth line of the recipient information text. Example: "DE" - `recipient_information.line_5` (string) Fifth line of the recipient information text. - `recipient_information.line_6` (string) Sixth line of the recipient information text. - `issue_date` (string) Date when the statement was issued. Example: "2022-04-01" - `statement_period_start_date` (string) The beginning date of the period covered by the statement. Example: "2022-03-01" - `statement_period_end_date` (string) The end date of the period covered by the statement. Example: "2022-03-31" - `overdraft_facility` (object) Overdraft facility that has been granted to the customer. Example: {"value":10000,"unit":"cents","currency":"EUR"} - `overdraft_facility.value` (integer) The amount value. Example: 10000 - `overdraft_facility.unit` (string) The unit of the given value. Example: "cents" - `overdraft_facility.currency` (string) The currency of the given value. Example: "EUR" - `account_information` (object) Object containing the account's IBAN, BIC, and balance information. - `account_information.iban` (string) IBAN of the account. Example: "DE76110101001100000999" - `account_information.bic` (string) BIC of the account. Example: "SOBKDEBBXXX" - `account_information.balance_start` (object) The account balance at the start of the statement period. Example: {"value":20321,"unit":"cents","currency":"EUR"} - `account_information.balance_end` (object) The account balance at the end of the statement period. Example: {"value":18405,"unit":"cents","currency":"EUR"} - `disclaimer` (string) Solaris' legal disclaimer text, which you must show to the customer. Example: "Sehr geehrte Kundin, sehr geehrter Kunde,\\nbitte prüfen Sie die Buchungen, Berechnungen und den Abschlusssaldo im beiliegenden Kontoauszug, der zugleich einen Rechnungsabschluss darstellt. Rechnungsabschlüsse gelten als genehmigt, sofern Sie innerhalb von sechs Wochen nach Zugang keine Einwendungen erheben. Einwendungen gegen Rechnungsabschlüsse müssen der solarisBank schriftlich oder in Textform (z.B. an support@solarisbank.de) zugehen. Im Falle der Einwendung in Textform genügt zur Fristwahrung die rechtzeitige Absendung. Der angegebene Kontostand berücksichtigt nicht die Wertstellung der einzelnen Buchungen. Dies bedeutet, dass der genannte Betrag nicht dem für die Zinsrechnung maßgeblichen Kontostand entsprechen muss und bei Verfügungen möglicherweise Zinsen für die Inanspruchnahme einer eingeräumten oder geduldeten Kontoüberziehung anfallen können. Gutschriften aus eingereichten Lastschriften und anderen Einzugspapieren erfolgen unter dem Vorbehalt der Einlösung. Guthaben sind als Einlagen nach Maßgabe des Einlagensicherungsgesetzes entschädigungsfähig. Nähere Informationen können dem Informationsbogen für den Einleger entnommen werden, den Sie gemeinsam mit unseren für den Geschäftsverkehr mit Ihnen geltenden Allgemeinen Geschäftsbedingungen und besonderen Bedingungen unter www.solarisbank.de/partner einsehen können.\\nMit freundlichen Grüßen\\nIhre solarisBank" ## Response 201 fields (application/json): - `id` (string) ID of the bank statement. Example: "4463f72f46cc9233c5494146f01b152ccsas" - `recipient_information` (object) The recipient's name and address. - `recipient_information.line_1` (string) First line of the recipient information text. Example: "Mr. Peter Mustermann" - `recipient_information.line_2` (string) Second line of the recipient information text. Example: "Musterstrasse 23" - `recipient_information.line_3` (string) Third line of the recipient information text. Example: "10409 Berlin" - `recipient_information.line_4` (string) Fourth line of the recipient information text. Example: "DE" - `recipient_information.line_5` (string) Fifth line of the recipient information text. - `recipient_information.line_6` (string) Sixth line of the recipient information text. - `issue_date` (string) Date when the statement was issued. Example: "2022-04-01" - `statement_period_start_date` (string) The beginning date of the period covered by the statement. Example: "2022-03-01" - `statement_period_end_date` (string) The end date of the period covered by the statement. Example: "2022-03-31" - `overdraft_facility` (object) Overdraft facility that has been granted to the customer. Example: {"value":10000,"unit":"cents","currency":"EUR"} - `overdraft_facility.value` (integer) The amount value. Example: 10000 - `overdraft_facility.unit` (string) The unit of the given value. Example: "cents" - `overdraft_facility.currency` (string) The currency of the given value. Example: "EUR" - `account_information` (object) Object containing the account's IBAN, BIC, and balance information. - `account_information.iban` (string) IBAN of the account. Example: "DE76110101001100000999" - `account_information.bic` (string) BIC of the account. Example: "SOBKDEBBXXX" - `account_information.balance_start` (object) The account balance at the start of the statement period. Example: {"value":20321,"unit":"cents","currency":"EUR"} - `account_information.balance_end` (object) The account balance at the end of the statement period. Example: {"value":18405,"unit":"cents","currency":"EUR"} - `disclaimer` (string) Solaris' legal disclaimer text, which you must show to the customer. Example: "Sehr geehrte Kundin, sehr geehrter Kunde,\\nbitte prüfen Sie die Buchungen, Berechnungen und den Abschlusssaldo im beiliegenden Kontoauszug, der zugleich einen Rechnungsabschluss darstellt. Rechnungsabschlüsse gelten als genehmigt, sofern Sie innerhalb von sechs Wochen nach Zugang keine Einwendungen erheben. Einwendungen gegen Rechnungsabschlüsse müssen der solarisBank schriftlich oder in Textform (z.B. an support@solarisbank.de) zugehen. Im Falle der Einwendung in Textform genügt zur Fristwahrung die rechtzeitige Absendung. Der angegebene Kontostand berücksichtigt nicht die Wertstellung der einzelnen Buchungen. Dies bedeutet, dass der genannte Betrag nicht dem für die Zinsrechnung maßgeblichen Kontostand entsprechen muss und bei Verfügungen möglicherweise Zinsen für die Inanspruchnahme einer eingeräumten oder geduldeten Kontoüberziehung anfallen können. Gutschriften aus eingereichten Lastschriften und anderen Einzugspapieren erfolgen unter dem Vorbehalt der Einlösung. Guthaben sind als Einlagen nach Maßgabe des Einlagensicherungsgesetzes entschädigungsfähig. Nähere Informationen können dem Informationsbogen für den Einleger entnommen werden, den Sie gemeinsam mit unseren für den Geschäftsverkehr mit Ihnen geltenden Allgemeinen Geschäftsbedingungen und besonderen Bedingungen unter www.solarisbank.de/partner einsehen können.\\nMit freundlichen Grüßen\\nIhre solarisBank" ## Response 400 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "400" - `code` (string) Example: "build_pagination_headers_failure" - `title` (string) Example: "Failed to build pagination headers." - `detail` (string) Example: "Cannot connect to database." ## Response 403 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "403" - `code` (string) Example: "unauthorized_action" - `title` (string) Example: "Unauthorized Action" - `detail` (string) Example: "Unauthorized action is not allowed." ## Response 404 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "404" - `code` (string) Example: "model_not_found" - `title` (string) Example: "Model Not Found" - `detail` (string) Example: "Couldn't find 'Account' for id 'DE24112233445566'." ## Response 500 fields (application/json): - `id` (string) Example: "e8915041-9d8c-4d96-9dd1-04e8522ecdbf" - `status` (string) Example: "500" - `code` (string) Example: "generic_error" - `title` (string) Example: "Generic Error" - `detail` (string) Example: "There was an error."