Tank system for a vehicle, - having an extraction device and having a tank, - wherein the extraction device comprises an extraction line (285, 290, 295) and an attachment device, - wherein the tank comprises a tank top side, - wherein the tank top side comprises a fastening wall and a first tank top side section, - wherein the fastening wall and the first tank top side section delimit a tank interior space at a top side, - wherein the tank interior space can be filled with an exhaust-gas aftertreatment liquid, - wherein the fastening wall is arranged obliquely with respect to the first tank top side section, - wherein the fastening wall has a fastening surface and a tank opening, - wherein the attachment device is fastened to the fastening surface, - wherein the extraction line (285, 290, 295) is led through the tank opening, - wherein the tank comprises a tank base having a first tank base section and a second tank base section, - wherein the second tank base section is arranged at a lower level than the first tank base section and is connected to the first tank base section, - wherein the second tank base section is arranged parallel to the first tank top side section, - wherein the extraction line (285, 290, 295) is, at least in sections, arranged obliquely with respect to the second tank base section, characterized in that the first tank base section is arranged obliquely with respect to the second tank base section, - the extraction line (285, 290, 295) opens out above the second tank base section of the tank base and is coupled to the attachment device, - wherein the fastening wall is arranged preferably entirely above the first tank base section. - having an extraction device and having a tank, - wherein the extraction device comprises an extraction line (285, 290, 295) and an attachment device, - wherein the tank comprises a tank top side, - wherein the tank top side comprises a fastening wall and a first tank top side section, - wherein the fastening wall and the first tank top side section delimit a tank interior space at a top side, - wherein the tank interior space can be filled with an exhaust-gas aftertreatment liquid, - wherein the fastening wall is arranged obliquely with respect to the first tank top side section, - wherein the fastening wall has a fastening surface and a tank opening, - wherein the attachment device is fastened to the fastening surface, - wherein the extraction line (285, 290, 295) is led through the tank opening, - wherein the tank comprises a tank base having a first tank base section and a second tank base section, - wherein the second tank base section is arranged at a lower level than the first tank base section and is connected to the first tank base section, - wherein the second tank base section is arranged parallel to the first tank top side section, - wherein the extraction line (285, 290, 295) is, at least in sections, arranged obliquely with respect to the second tank base section, - the extraction line (285, 290, 295) opens out above the second tank base section of the tank base and is coupled to the attachment device, - wherein the fastening wall is arranged preferably entirely above the first tank base section.