Getting invoices and posting payment receipts?

Yes, I'm new.

How do we get posted (approved) invoices from the SDK and how to create payment receipts against those invoices?

Just looking for a quick headstart!

Cheers,

Antoine