A method for manufacturing an organic optoelectronic device, comprising: - providing a substrate; - disposing a first electrode on the substrate; - disposing a metal pad on the substrate, electrically separated from the first electrode; - disposing at least a first material over the first electrode and at least partially over the metal pad; - applying a beam, wherein the beam ablates the first material in an ablation window, the ablation window including at least a portion of an edge of the metal pad; and - disposing a second electrode over the first material and over the ablation window so that the second electrode is in electrical contact with the at least a portion of an edge of the metal pad, wherein the metal pad has at least one of - a hole which is free of metal-pad material and which is enclosed by metal-pad material, wherein the hole has an elliptical, a triangular, a rectangular, or a squared shape, and the area of the metal pad which is in the area of the ablation window and contacted by the second electrode further includes at least a portion of an edge of the hole, - at least one indentation in an edge, wherein the area of the metal pad which is in the area of the ablation window and contacted by the second electrode further includes at least a portion of an edge of the indentation, and - at least one convexity in an edge, wherein the area of the metal pad which is in the area of the ablation window and contacted by the second electrode further includes at least a portion of an edge of the convexity, and wherein, in case the metal pad has at least one indentation and/or at least one convexity, the metal pad has a rectangular shape with straight edges except where the at least one indentation and/or the at least one convexity is formed. - providing a substrate; - disposing a first electrode on the substrate; - disposing a metal pad on the substrate, electrically separated from the first electrode; - disposing at least a first material over the first electrode and at least partially over the metal pad; - applying a beam, wherein the beam ablates the first material in an ablation window, the ablation window including at least a portion of an edge of the metal pad; and - disposing a second electrode over the first material and over the ablation window so that the second electrode is in electrical contact with the at least a portion of an edge of the metal pad, wherein the metal pad has at least one of - a hole which is free of metal-pad material and which is enclosed by metal-pad material, wherein the hole has an elliptical, a triangular, a rectangular, or a squared shape, and the area of the metal pad which is in the area of the ablation window and contacted by the second electrode further includes at least a portion of an edge of the hole, - at least one indentation in an edge, wherein the area of the metal pad which is in the area of the ablation window and contacted by the second electrode further includes at least a portion of an edge of the indentation, and - at least one convexity in an edge, wherein the area of the metal pad which is in the area of the ablation window and contacted by the second electrode further includes at least a portion of an edge of the convexity, and wherein, in case the metal pad has at least one indentation and/or at least one convexity, the metal pad has a rectangular shape with straight edges except where the at least one indentation and/or the at least one convexity is formed. - a hole which is free of metal-pad material and which is enclosed by metal-pad material, wherein the hole has an elliptical, a triangular, a rectangular, or a squared shape, and the area of the metal pad which is in the area of the ablation window and contacted by the second electrode further includes at least a portion of an edge of the hole, - at least one indentation in an edge, wherein the area of the metal pad which is in the area of the ablation window and contacted by the second electrode further includes at least a portion of an edge of the indentation, and - at least one convexity in an edge, wherein the area of the metal pad which is in the area of the ablation window and contacted by the second electrode further includes at least a portion of an edge of the convexity,