Late payment by customer

How do I account for payments made after 2022 but billed in 2022? The customer held payment until January and April but the bill was sent in December.