Invoice function "GetAll" has missing entrys

IBSHofmeister
Contributor
Contributor

Hello Community,

 

iam using the rest-api function Invoice.GetAll to get all invoices but there is always the last missing.

Even if we wait for a day the invoice will not appear but as soon as we create a the next one the missing appears but the new is now missing.

 

i think its an api bug but here is my code maybe i did something wrong

 

using PPA = PayPal.Api;
....
public PPA.InvoiceSearchResponse GetInvoices(PPA.APIContext apiContext)
{
	var invoices = PPA.Invoice.GetAll(apiContext, pageSize: 20, totalCountRequired: true); 
	return invoices;
}

I hope you can help me

 

Regard

IBSHofmeister

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.