Variation of the phase of the beam transmitted through a crystalline material as a function of the rocking angle is a well-known dynamical effect in x-ray scattering. Unfortunately, it is not so easy to directly measure these phase variations in a conventional scattering experiment. It was recently suggested that the transmitted phase can be directly measured in ptychography experiments performed on nanocrystal samples. Results of such experiment for different crystal thickness, reflections, and incoming photon energies, in principle, can be fully described in the frame of dynamical theory. However, dynamical theory does not provide a simple analytical expression for the further analysis. Here we develop a quasi-kinematical theory approach that allows one to correctly describe the phase of the transmitted beam for the crystal thickness less than extinction length that is beyond applicability of the conventional kinematical theory.