In the API Purchase_Search method not all of the possible values for the search parameter “Status” are supported. For example in the return results an invoice can have status “CREDITED” which is not an acceptable value in the request’s “Status”. Therefore if you use “Status” you will never see “CREDITED” invoices.
Suggestion: Either add CREDITED to the possible status search requests or have CREDITED returned when requesting PAIDFULL.
Suggestion 2: It would be handy if “Status” was an array so we could request a range of different invoice types. CREDITED and PAIDFULL are closely related types, for example.