"The invoice for June" is only correct if the sale of the goods or services that are invoiced happened in June.
If the invoiced was issued in June, but the sale of the goods or services occurred outside of June, then it would be "the invoice from June".
"The invoice of June" is only correct if it is referring to an invoice where a person named June is the vendor or purchaser; but "June's invoice" would definitely be more common in this scenario and it's a fairly rare scenario because June is a fairly uncommon name.