Invoicing, Taxation & Proration
Fype features an automated invoicing engine that calculates compliance taxation and handles complex mid-cycle subscription changes (upgrades and downgrades) with proration credits.GST Compliance & Tax Splitting
Fype calculates and applies Indian Goods and Services Tax (GST) automatically.- Standard Tax Rate: 18% is applied to taxable products (
SAC Code: 997331). - Precision Calculation: Calculations are completed in Paise (subunits) to avoid floating-point rounding errors:
State-Boundary Tax Routing
Fype determines how to split GST based on the merchant’s corporate location versus the customer’s state boundary:- Intra-state (Merchant State == Customer State): Splits the total tax equally between CGST (Central GST - 9%) and SGST (State GST - 9%).
- Inter-state (Merchant State != Customer State): Allocates the entire 18% tax amount to IGST (Integrated GST).
tax_details metadata payload.
Mid-Cycle Plan Changes (Proration)
When a customer upgrades or downgrades their subscription mid-cycle, Fype calculates the unused credit on the existing plan, calculates the cost of the new plan for the remaining time in the billing period, and generates a net balance adjustment.Proration Mathematics
- Unused Credit (Old Plan):
- Prorated Cost (New Plan):
- Net Adjustment:
- Upgrade (Net positive adjustment): Fype creates an invoice representing the difference. If a card or mandate is linked, Fype attempts to collect the balance immediately.
- Downgrade (Net negative adjustment): Fype creates a negative invoice (Credit Note) and applies the surplus balance to the customer’s credit balance (which is automatically deducted from future invoice cycles).