Find Invoice by invoice number
joshalexandre
Member Posts: 2
Hello Wave
Firstly - thank you so much for the API - it's awesome and has enabled us to automate and scale our billing process :-)
Quick feature request:
Please can you add the ability to find invoices by invoice number?
Example query:query ($businessId: ID!, $invoiceNo: String!) { business(id: $businessId) { id invoices(page: 1, pageSize: 50, invoiceNumber: $invoiceNo) { edges { node { id status invoiceNumber invoiceDate customer { id name } } } } } }
0
Comments
Hi @joshalexandre,
Thank you for your suggestion. That would be a good feature.
I will add this to our list of possible enhancements for the next time the team is touching the Invoice API.
Hey @joshalexandre,
Good news! We have released your feature suggestion. You can now filter a list of invoices to find all invoices where the filter parameter is contained within the invoice number.
Example query:
Example variables:
Example response:
Hope that helps!
Thanks so much @RobVG! Really appreciate the work you are doing and look forward to using this feature :-)