In accordance with the general principles resulting from the act on tax on goods and services, the tax obligation arises upon the delivery of goods or the performance of a service. Of course, the Act provides for a number of detailed solutions as regards the moment of the tax obligation. One such exception also applies to the advance payment.
Source prawo.pl