PunchoutCreditNotesRequestContext reference
This article provides reference material about PunchoutCreditNotesRequestContext record.
PunchoutCreditNotesRequestContext record contains information needed to handle the credit notes request.
It is available as a parameter in the OnInvoicesRequestReceivedAsync method of punchout extension.
Properties

Request
The current HTTP request.
Response
The HTTP response.
GetInvoicesAsync
The delegate to retrieve credit notes. Extension should call this method and pass an identifier of order which credit notes should be retrieved from the ERP and the method returns an enumerable of instances of PunchoutCreditNote.