Zoho subscriptions trial expire

Zoho subscriptions trial expire

Hello, 
We have implemented zoho subscriptions in our project.
We need some clarification on these points.
1--When does invoice is created for a subscription with trial period 
      a) on creation of subscription or
      b) on completion of trial period
2-- What happens to subscription status when payment is failed(recurring billing) is it cancelled or deactivated.