Hi,
We're trying to pull invoice data for a new automated process we're looking to roll out, but the response returned from the API isn't returning the expected data.
As an example, we have an advertiser that shows invoices that were issued in August, September, and October in the UI. However when trying to pull these via the API for these months, the response is empty. When trying the month of July the response did return an invoice, but in the UI there isn't an invoice that was issued in July. Looking at that response, it appears that the billing profile ID associated with the invoice isn't actually the billing profile on the account, it's a different one entirely.
We're seeing this widespread across many advertisers, possibly all of them (largely just the empty responses); so far we have yet to encounter a response from the API that correlates with what we see in the UI.
Expected Behavior:
API should successfully return the list of invoices that were issued during a given month for an advertiser, similar to what we see in the UI
Actual Behavior:
API returns no invoices or invoices that do not correlate with anything that can be seen in the UI
What we've confirmed:
- the user profile does indeed have billing access
- the billing profile is set to the "advertiser" invoice level
Please let me know what additional information is needed to better troubleshoot this issue.
Thank you in advance for your help on this!