Happy Business Starts Here

Re: Process for finding Credit Memos applied to an Invoice from Zuora's Rest API - Status changed to: Under Consideration

0 Kudos

Process for finding Credit Memos applied to an Invoice from Zuora's Rest API

This is a request from customer Laserfiche.

 

We need a way to filter for Credit Memo Parts in more ways than just by the Credit Memo ID in order to find all of the Credit Memos applied to a specific invoice.

 

Currently what they follow

 

FindAllCreditMemos: Given InvoiceNumber INV that belongs to Company C

 

- Query for all credit memos that belong to C

- For each Credit Memo:

      + Query for all Credit Memo Parts by Credit Memo’s ID

      + If any credit memo part applies to INV, add credit memo to list

 

This process is extremely slow (time scales with the total number of credit memos created for a specific company) and will only become slower over time

1 Comment
Zuora Alumni
Status changed to: Under Consideration