{ "id": "in_1GSSMkIfhoELGSZww9EgmgFP", "object": "invoice", "account_country": "SE", "account_name": "Microgit", "amount_due": 0, "amount_paid": 0, "amount_remaining": 0, "application_fee_amount": null, "attempt_count": 0, "attempted": false, "auto_advance": true, "billing_reason": "manual", "charge": null, "collection_method": "charge_automatically", "created": 1585592982, "currency": "sek", "custom_fields": null, "customer": "cus_H0TJWPA6bGxoTk", "customer_address": null, "customer_email": null, "customer_name": null, "customer_phone": null, "customer_shipping": null, "customer_tax_exempt": "none", "customer_tax_ids": [], "default_payment_method": null, "default_source": null, "default_tax_rates": [], "description": null, "discount": null, "due_date": null, "ending_balance": null, "footer": null, "hosted_invoice_url": null, "invoice_pdf": null, "lines": { "data": [ { "id": "il_tmp_948f22b5123bc8", "object": "line_item", "amount": 2000, "currency": "sek", "description": "1 × Gold Special (at 20.00 kr / month)", "discountable": true, "livemode": false, "metadata": {}, "period": { "end": 1588271382, "start": 1585592982 }, "price": { "id": "gold", "object": "price", "active": true, "unit_amount": 2000, "unit_amount_decimal": "2000", "billing_scheme": "per_unit", "created": 1405649712, "currency": "sek", "recurring": { "aggregate_usage": null, "interval": "month", "interval_count": 1, "usage_type": "licensed" }, "livemode": false, "metadata": {}, "nickname": null, "product": "prod_BV3Pw9g1e51LLV", "tiers": null, "tiers_mode": null }, "proration": false, "quantity": 1, "subscription": "sub_H0TJj1Hv4LSxrg", "subscription_item": "si_H0TJEfwwncwv4I", "tax_amounts": [], "tax_rates": [], "type": "subscription" } ], "has_more": false, "object": "list", "url": "/v1/invoices/in_1GSSMkIfhoELGSZww9EgmgFP/lines" }, "livemode": false, "metadata": {}, "next_payment_attempt": 1585596582, "number": null, "paid": false, "payment_intent": null, "period_end": 1585592982, "period_start": 1585592982, "post_payment_credit_notes_amount": 0, "pre_payment_credit_notes_amount": 0, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, "status": "draft", "status_transitions": { "finalized_at": null, "marked_uncollectible_at": null, "paid_at": null, "voided_at": null }, "subscription": null, "subtotal": 0, "tax": null, "tax_percent": null, "total": 0, "total_tax_amounts": [], "webhooks_delivered_at": null }