These docs are for v1.0. Click to read the latest docs for v2.0.

Discussions

Ask a Question
Back to all

Issue: getting invoices using external_reference

Using the V1 before, in order to get the invoices I was using the source_if, which was a UUID that I was generating at creation time. Looking at the V2 API, it says that we can still get the list of customer invoices using the external_reference (which I presume it's what I was using as source_id in V1), but trying to get invoices using external_reference as filter it returns nothing, on the other hand using customer_id as filter works.

Any advice on this?

thanks