Hi again Nitish,
I’ve just spoken to the engineering team in charge of our invoices/credit notes, they’ve recently migrated negative invoices (which showed in FreeAgent as credit notes) over to the dedicated credit note endpoints, which was part of changes announced in this post. However, it looks like the migration wasn’t yet run on sandbox – which I’m guessing was probably the environment you used? We’ve run the migration on sandbox now too, so hopefully you should no longer see any credit notes in the API response. If that’s not the case, please let me know and we’ll investigate further.
Best wishes,
Ewa