When i try to get invoices list for sub account using List billing invoices(GET /accounts/{accountId}/billing/invoices), I got the following response although there is invoices for this sub account.
End Point => https://api.zoom.us/v2/accounts/{accountID}/billing/invoices Response => {‘invoices’: , ‘currency’: ‘USD’}
But we can see invoices related with this sub account under the master account in the Zoom Web Site.
Is that related with the following setting for this sub account?So, we can only see invoices for this sub account under the master account , not under this sub account? Who will pay for this account? You (the master account holder) pay
Is there any ways to get invoice lists for this sub account using API?
thanks for reaching out to the Zoom Developer Forum, I am happy to help here!
Could you please make sure to pass the query parameters from and date and try again
Thanks for confirming this with me.
I will go ahead and send you a private message to ask for some details about your account and I will take it from there.
Best,
Elisa
If you have your account set up where the master account is paying for all subaccounts, you will only see invoices in the master account when you make the API call. If you wanted to separate them you would need to reach out to someone in customer success to make this change for you.
Hi @rarev ,
Thanks for your answer .
Is that means I can get /see invoices for this sub account if I changed this setting Who will pay for this account? from You (the master account holder) pay to Myself ?
I think there is sub Account ID in invoice PDF, but I cant get sub Account ID from Invoice API calling as i mentioned earlier.
Can I get sub Account ID information from Billing Invoices API calling ? I just want to know which invoice is owned by which sub account from API response.
You can also get subaccount IDs by making an API call to https://api.zoom.us/v2/accounts, this would give you all the subaccount IDs under the master account. Here’s sample of the response, the accounts are contained in an array.
Because I have account set up where the master account is paying for all subaccounts, I can only see invoices in the master account when Imake the API call. Is that right?
The following response is when i try to get invoices list as master account. But in this response , there is no information “which invoice is belonged to which sub account”. How can i know which invoice is belonged to which sub account from API call?
End Point => [https://api.zoom.us/v2/accounts/me/billing/invoices?from=2022-09-01&to=2022-09-31] Response => {‘invoices’: [
{‘id’: ‘12345555555555555’,
‘invoice_number’: ‘INV1234567’,
‘total_amount’: 0.0,
‘tax_amount’: 0.0,
‘balance’: 0.0,
‘due_date’: ‘2022-10-11’,
‘invoice_date’: ‘2022-08-15’,
‘target_date’: ‘2022-08-16’,
‘status’: ‘Collected’},
{‘id’: ‘5345555555555555’,
‘invoice_number’: ‘INV24689’,
‘total_amount’: 0.0,
‘tax_amount’: 0.0,
‘balance’: 0.0,
‘due_date’: ‘2022-10-11’,
‘invoice_date’: ‘2022-08-15’,
‘target_date’: ‘2022-08-16’,
‘status’: ‘Collected’}
],
‘currency’: ‘USD’}
Thank you for the clarification, at the moment, the only way to tell what account that invoice belongs to, is to download the invoice and open it up. I can submit a feature request to have the account ID and name added to the this API response.
So, could you submit a feature request to add sub account information (account ID,accountName) to this API response, please? May I know how long it will take?
I don’t have a timeline for how long a change can take or if it would even be implemented, but I can put in the request for you, and I do see the value in having these fields added.