AUGUSTA — The Department of Environmental Protection is telling a Massachusetts-based railroad to reports it oil transports across Maine and pay the associated fees.

DEP spokesman Jessamine Logan said the department sent a notice of violation to Pan Am Railways asking it to report the oil transports and pay the fees as required by law for April and May, or explain why it isn’t doing so. The company has until Aug. 6 to respond.

Pan Am Executive Vice President Cynthia Scarano said the company’s not filing reports because Maine law requires reports only for refined oil, but not crude oil.

Legislators this spring changed the law so it now includes crude oil, but the law doesn’t go into effect until Oct. 1.

From January through March, the railroad carried 47.9 million gallons across Maine and paid more than $34,000 in fees that go to the state’s oil spill cleanup fund.