Is the grammar correct? GAS RECEIPT LACKS A DATE, which made it invalid.
Yes, the grammar in the sentence is correct. However, you could make it slightly more formal or clear by rephrasing it. For example:
"The gas receipt lacks a date, which makes it invalid."
This maintains the same meaning while correcting the verb tense for clarity.