# Create a statement of account Creates a statement of account (_Rechnungsabschluss_) for the account specified in the request URL. Use the information returned in the response to generate your own branded PDF file to present to the customer. This file must include the data set returned by our API including the mandatory disclaimer text. In the request, you must specify a along with an and a . Together, the and determine the statement's beginning and end dates ( and ). For example, if you make a request with an of , a of , and a of , then the API will return a statement of account for the month of March 2022. If the API returns an error related to the start and end dates, then the and could not be translated into dates (e.g., an invalid enum was passed) or the given interval fell outside of the allowed time frame (e.g., in the future). Endpoint: POST /v1/accounts/{account_id}/statement_of_accounts Version: 1.0 ## Path parameters: - `account_id` (string, required) ## Request fields (application/json): - `interval` (string, required) Determines the amount of time that the statement of account should cover. Enum: "MONTHLY", "QUARTERLY", "EVERY_SIX_MONTHS", "ANNUALLY" - `period` (integer, required) Determines the starting period in the year from which to return bookings. Enum: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 - `year` (integer, required) The year for which to create the statement of account. Example: 2022 ## Response 200 fields (application/json): - `id` (string) Unique ID of the statement. Example: "e349cdc6b712035236bed32d7399ab72csoa" - `year` (integer) The year for which the statement was created. Example: 2022 - `interval` (string) The time interval covered by the statement. Enum: "MONTHLY", "QUARTERLY", "EVERY_SIX_MONTHS", "ANNUALLY" - `period` (integer) The period from which the statement begins. Example: 3 - `statement_number` (string) The statement number. Example: "2022-M-03" - `recipient_information` (object) The statement 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" - `interest_accrual_rate` (number) The daily rate at which interest is accrued on the used amount of an overdraft. Example: 12.5 - `overdraft_rate` (integer) The increased interest rate applied when going below the granted overdraft facility. Example: 9 - `interest_accrued` (object) The interest accrued in EURO cents. Example: {"value":10000,"unit":"cents","currency":"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@solarisgroup.com) 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) Unique ID of the statement. Example: "e349cdc6b712035236bed32d7399ab72csoa" - `year` (integer) The year for which the statement was created. Example: 2022 - `interval` (string) The time interval covered by the statement. Enum: "MONTHLY", "QUARTERLY", "EVERY_SIX_MONTHS", "ANNUALLY" - `period` (integer) The period from which the statement begins. Example: 3 - `statement_number` (string) The statement number. Example: "2022-M-03" - `recipient_information` (object) The statement 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" - `interest_accrual_rate` (number) The daily rate at which interest is accrued on the used amount of an overdraft. Example: 12.5 - `overdraft_rate` (integer) The increased interest rate applied when going below the granted overdraft facility. Example: 9 - `interest_accrued` (object) The interest accrued in EURO cents. Example: {"value":10000,"unit":"cents","currency":"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@solarisgroup.com) 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."