# Download an annual account statement for a credit line Downloads an account statement for a credit line for a specific year as a PDF. Endpoint: GET /v1/persons/{person_id}/credit_lines/{credit_line_id}/annual_account_statement Version: 1.0 ## Path parameters: - `person_id` (string, required) The person ID of the customer who has the credit line. - `credit_line_id` (string, required) The unique credit line ID, generated after a credit line is created. ## Query parameters: - `year` (integer, required) The year for which the annual statement is issued. ## Response 400 fields (application/json): - `code` (string) Example: "build_pagination_headers_failure" - `detail` (string) Example: "Cannot connect to database." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "400" - `title` (string) Example: "Failed to build pagination headers." ## Response 403 fields (application/json): - `code` (string) Example: "unauthorized_action" - `detail` (string) Example: "Unauthorized action is not allowed." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "403" - `title` (string) Example: "Unauthorized Action" ## Response 404 fields (application/json): - `code` (string) Example: "model_not_found" - `detail` (string) Example: "Couldn't find 'Account' for id 'DE24112233445566'." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "404" - `title` (string) Example: "Model Not Found"