Page 1 of 1

Link to original invoice on credit note

Posted: Tue Oct 20, 2020 9:51 pm
by gavynj
Hi there,

When handling a credit note via the API, how can I fetch the voided invoice ID linked to this credit?

I do have a method in place for regular invoices via the /api/v1.0/companies/{companyID}/jobs/{jobID}/invoices/ endpoint, but no such luck for recurring invoices. So I was hoping there was an easy field I can include when fetching invoice details.

Thanks,
Gavyn

Re: Link to original invoice on credit note

Posted: Wed Oct 21, 2020 12:07 am
by Muqeet
Hello Gavyn,

Unfortunately we don't have a way of getting associating credit note with their voided invoice.

Re: Link to original invoice on credit note

Posted: Wed Oct 21, 2020 12:48 am
by gavynj
Thanks for the reply. I've created a workaround by parsing the timelines endpoint to fetch the relevant invoice ID.