- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-15-2021
08:41 AM
02-15-2021
08:41 AM
How to Get Payment by Invoice
Hello,
I'd like to get payments by invoice. So I have all the invoice info and I need to connect it to payments somehow. There is InvoiceId and InvoiceNumber in the Payment object, but they are available for creating only. How do I query payments by invoice in real time?
Thanks!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-15-2021
02:32 PM
02-15-2021
02:32 PM
Re: How to Get Payment by Invoice
Hi! You will want to pull it via InvoicePayment object https://knowledgecenter.zuora.com/Central_Platform/API/G_SOAP_API/E1_SOAP_API_Object_Reference/Invoi...
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-17-2021
07:13 AM
02-17-2021
07:13 AM
Re: How to Get Payment by Invoice
Hi, thanks.
I tried `select PaymentId from InvoicePayment where InvoiceId=<id>`. InvoiceId is valid, no errors are thrown, but ZoQL returns no results. Any more ideas please? Thanks.