An assembly comprising two electrical lines (3, 3'), in particular high-voltage lines, a housing, in particular a battery housing, and an apparatus for leading the electrical lines (3, 3') through the housing, said apparatus comprising an assembly plate which can be attached to a first side of the housing such that two lead-through openings (9, 9') formed in the assembly plate are aligned with two housing openings provided in the housing; and two connectors (11, 11') surrounding the lines (3, 3') on a second side of the housing disposed opposite the first side, wherein each connector (11, 11') has a locking section (13, 13') which can be inserted into one of the lead-through openings (9, 9') and which can be locked to the assembly plate by a subsequent rotation of the connector (11, 11'), wherein each locking section (13, 13') has at least one locking element which can be brought into engagement with the assembly plate, in particular with the side of the assembly plate remote from the housing; each locking element projects radially outwardly at the locking section (13, 13') and a passage is formed in an edge of the assembly plate which surrounds the respective lead-through opening (9, 9') and through which the locking element can be led; and a run-on chamfer for each locking element is provided at the side of the assembly plate remote from the housing, said run-on chamfer starting at the output of the respective passage and extending in the peripheral direction of the respective lead-through opening (9, 9') so that, on the rotation of the respective connector (11, 11') for locking the connector (11, 11') to the assembly plate, the locking element slides up the run-on chamfer and the assembly plate and the connector (11, 11') are drawn together, characterized in that the assembly plate has first coding means (27, 65) in the region of the lead-through openings (9, 9') and the locking sections (13, 13') have second coding means (25, 67), with the respective first and second coding means (25, 27, 65, 67) cooperating with one another such that the locking sections (13, 13') can only be locked to the assembly plate if the first and second coding means (25, 65, 67) are designed complementary to one another (25, 27, 65, 67) and such that the first and second coding means (27, 25, 65, 67) block the insertion of the locking sections (13, 13') into the respective lead-through opening and/or their subsequent rotation if the coding means (25, 27, 65, 67) are not designed complementary to one another; in that each connector (11, 11') has a contacting section in which at least one electrically conductive ferrule (45, 47) for electrically contacting a shield of the respective line (3, 3') is arranged; in that an electrically conductive contact element is provided for electrically connecting the housing to the ferrule (45, 47); in that each contact element has a base body which surrounds the locking section (13, 13') and at which at least one first contact arm is arranged which extends up to the ferrule (45, 47) arranged in the contacting section, with, preferably, the contact arm being led through an opening formed in the flange section; and in that second contact arms are arranged at each base body and come into contact with the second side of the housing when the respective connector (11, 11') is locked to the assembly plate. an assembly plate which can be attached to a first side of the housing such that two lead-through openings (9, 9') formed in the assembly plate are aligned with two housing openings provided in the housing; and two connectors (11, 11') surrounding the lines (3, 3') on a second side of the housing disposed opposite the first side, wherein each connector (11, 11') has a locking section (13, 13') which can be inserted into one of the lead-through openings (9, 9') and which can be locked to the assembly plate by a subsequent rotation of the connector (11, 11'),