/// <summary>
 /// Lists the available invoices for a subscription in reverse chronological
 /// order beginning with the most recent invoice. In preview, invoices are
 /// available via this API only for invoice periods which end December 1, 2016
 /// or later.  This is only supported for Azure Web-Direct subscriptions. Other
 /// subscription types which were not purchased directly through the Azure web
 /// portal are not supported through this preview API.
 /// <see href="https://go.microsoft.com/fwlink/?linkid=842057" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <Invoice> > ListNextAsync(this IInvoicesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }