public InvoiceNumber GenerateNumber(APIContext apiContext)
{
// Validate the arguments to be used in the request
ArgumentValidator.ValidateAndSetupAPIContext(apiContext);
// Configure and send the request
var resourcePath = "v1/invoicing/invoices/next-invoice-number";
return PayPalResource.ConfigureAndExecute<InvoiceNumber>(apiContext, HttpMethod.POST, resourcePath);
}