The following is an example of create a Credit Memo where we are setting every possible field (See Credit Memo for the available fields). The response will return the exact request data plus the new QuickBooks Credit Memo Id (Id) and the newly created Salesforce Credit Memo Id (salesforceRecordId)
Note: You can only create one record at a time.
Do you want to link a Credit Note to an Invoice ? See here