A last-minute amendment on the House floor secured more than $20 million for public education on a bill requiring third-party online retailers to collect sales tax.

The special session House Bill 1019XX requires those retailers, such as entities using Amazon to sell their products, to either collect and remit sales tax or follow the state's requirement that they notify each customer, each year, how much state tax they owe for shopping online.

Amazon has already begun collecting tax on its own sales and the bill would expand that duty to third parties. The law is written in a way that collecting tax at the point of sale is easier than following the second route of notification.

After a break in discussion of the bill, lawmakers returned to the floor with an amendment that diverts most of the money to the school funding formula in the first year and the full estimated amount, $20.5 million, in following years.