The current invention comprises a method for producing an immunoglobulin or immunoglobulin fragment with defined glycostructure comprising the following steps: a) providing an affinity chromatography column eluate containing the immunoglobulin or immunoglobulin fragment, b) incubating the affinity chromatography column eluate with (α1,3)galactosidase of plant origin, e.g. from green coffee beans (EC 3.2.1.22), c) applying the incubated affinity chromatography column eluate to a protein A chromatography material and recovering the immunoglobulin or immunoglobulin fragment from the protein A chromatography material and thereby producing an immunoglobulin or immunoglobulin fragment with defined glycostructure.