You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
400 lines
12 KiB
400 lines
12 KiB
{ |
|
"id": "evt_1PQaABIGBnsLynRrhoJjGnyz", |
|
"object": "event", |
|
"account": "acct_19smIXIGBnsLynRr", |
|
"api_version": "2024-06-20", |
|
"created": 1718133319, |
|
"data": { |
|
"object": { |
|
"id": "in_1PQa9fIGBnsLynRraYIqTdBs", |
|
"object": "invoice", |
|
"account_country": "US", |
|
"account_name": "Bitwarden Inc.", |
|
"account_tax_ids": null, |
|
"amount_due": 84240, |
|
"amount_paid": 0, |
|
"amount_remaining": 84240, |
|
"amount_shipping": 0, |
|
"application": null, |
|
"attempt_count": 0, |
|
"attempted": false, |
|
"auto_advance": true, |
|
"automatic_tax": { |
|
"enabled": true, |
|
"liability": { |
|
"type": "self" |
|
}, |
|
"status": "complete" |
|
}, |
|
"billing_reason": "subscription_update", |
|
"charge": null, |
|
"collection_method": "send_invoice", |
|
"created": 1718133291, |
|
"currency": "usd", |
|
"custom_fields": [ |
|
{ |
|
"name": "Provider", |
|
"value": "MSP" |
|
} |
|
], |
|
"customer": "cus_QH8QVKyTh2lfcG", |
|
"customer_address": { |
|
"city": null, |
|
"country": "US", |
|
"line1": null, |
|
"line2": null, |
|
"postal_code": "12345", |
|
"state": null |
|
}, |
|
"customer_email": "billing@msp.com", |
|
"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": { |
|
"id": "di_1PQa9eIGBnsLynRrwwYr2bGD", |
|
"object": "discount", |
|
"checkout_session": null, |
|
"coupon": { |
|
"id": "msp-discount-35", |
|
"object": "coupon", |
|
"amount_off": null, |
|
"created": 1678805729, |
|
"currency": null, |
|
"duration": "forever", |
|
"duration_in_months": null, |
|
"livemode": false, |
|
"max_redemptions": null, |
|
"metadata": { |
|
}, |
|
"name": "MSP Discount - 35%", |
|
"percent_off": 35, |
|
"redeem_by": null, |
|
"times_redeemed": 515, |
|
"valid": true, |
|
"percent_off_precise": 35 |
|
}, |
|
"customer": "cus_QH8QVKyTh2lfcG", |
|
"end": null, |
|
"invoice": null, |
|
"invoice_item": null, |
|
"promotion_code": null, |
|
"start": 1718133290, |
|
"subscription": null, |
|
"subscription_item": null |
|
}, |
|
"discounts": [ |
|
"di_1PQa9eIGBnsLynRrwwYr2bGD" |
|
], |
|
"due_date": 1720725291, |
|
"effective_at": 1718136893, |
|
"ending_balance": 0, |
|
"footer": null, |
|
"from_invoice": null, |
|
"hosted_invoice_url": "https://invoice.stripe.com/i/acct_19smIXIGBnsLynRr/test_YWNjdF8xOXNtSVhJR0Juc0x5blJyLF9RSDhRYVNIejNDMXBMVXAzM0M3S2RwaUt1Z3NuVHVzLDEwODY3NDEyMg0200RT8cC2nw?s=ap", |
|
"invoice_pdf": "https://pay.stripe.com/invoice/acct_19smIXIGBnsLynRr/test_YWNjdF8xOXNtSVhJR0Juc0x5blJyLF9RSDhRYVNIejNDMXBMVXAzM0M3S2RwaUt1Z3NuVHVzLDEwODY3NDEyMg0200RT8cC2nw/pdf?s=ap", |
|
"issuer": { |
|
"type": "self" |
|
}, |
|
"last_finalization_error": null, |
|
"latest_revision": null, |
|
"lines": { |
|
"object": "list", |
|
"data": [ |
|
{ |
|
"id": "sub_1PQa9fIGBnsLynRr83lNrFHa", |
|
"object": "line_item", |
|
"amount": 50000, |
|
"amount_excluding_tax": 50000, |
|
"currency": "usd", |
|
"description": null, |
|
"discount_amounts": [ |
|
{ |
|
"amount": 17500, |
|
"discount": "di_1PQa9eIGBnsLynRrwwYr2bGD" |
|
} |
|
], |
|
"discountable": true, |
|
"discounts": [ |
|
], |
|
"invoice": "in_1PQa9fIGBnsLynRraYIqTdBs", |
|
"livemode": false, |
|
"metadata": { |
|
}, |
|
"period": { |
|
"end": 1720725291, |
|
"start": 1718133291 |
|
}, |
|
"plan": { |
|
"id": "2023-teams-org-seat-monthly", |
|
"object": "plan", |
|
"active": true, |
|
"aggregate_usage": null, |
|
"amount": 500, |
|
"amount_decimal": "500", |
|
"billing_scheme": "per_unit", |
|
"created": 1695839010, |
|
"currency": "usd", |
|
"interval": "month", |
|
"interval_count": 1, |
|
"livemode": false, |
|
"metadata": { |
|
}, |
|
"meter": null, |
|
"nickname": "Teams Organization Seat (Monthly)", |
|
"product": "prod_HgOooYXDr2DDAA", |
|
"tiers_mode": null, |
|
"transform_usage": null, |
|
"trial_period_days": null, |
|
"usage_type": "licensed", |
|
"name": "Password Manager - Teams Plan", |
|
"statement_description": null, |
|
"statement_descriptor": null, |
|
"tiers": null |
|
}, |
|
"price": { |
|
"id": "2023-teams-org-seat-monthly", |
|
"object": "price", |
|
"active": true, |
|
"billing_scheme": "per_unit", |
|
"created": 1695839010, |
|
"currency": "usd", |
|
"custom_unit_amount": null, |
|
"livemode": false, |
|
"lookup_key": null, |
|
"metadata": { |
|
}, |
|
"nickname": "Teams Organization Seat (Monthly)", |
|
"product": "prod_HgOooYXDr2DDAA", |
|
"recurring": { |
|
"aggregate_usage": null, |
|
"interval": "month", |
|
"interval_count": 1, |
|
"meter": null, |
|
"trial_period_days": null, |
|
"usage_type": "licensed" |
|
}, |
|
"tax_behavior": "exclusive", |
|
"tiers_mode": null, |
|
"transform_quantity": null, |
|
"type": "recurring", |
|
"unit_amount": 500, |
|
"unit_amount_decimal": "500" |
|
}, |
|
"proration": false, |
|
"proration_details": { |
|
"credited_items": null |
|
}, |
|
"quantity": 100, |
|
"subscription": null, |
|
"subscription_item": "si_QH8Qo4WEJxOVwx", |
|
"tax_amounts": [ |
|
{ |
|
"amount": 2600, |
|
"inclusive": false, |
|
"tax_rate": "txr_1OZyBuIGBnsLynRrX0PJLuMC", |
|
"taxability_reason": "standard_rated", |
|
"taxable_amount": 32500 |
|
} |
|
], |
|
"tax_rates": [ |
|
], |
|
"type": "subscription", |
|
"unit_amount_excluding_tax": "500", |
|
"unique_id": "il_1PQa9fIGBnsLynRrSJ3cxrdU", |
|
"unique_line_item_id": "sli_1acb3eIGBnsLynRr4b9c2f48" |
|
}, |
|
{ |
|
"id": "sub_1PQa9fIGBnsLynRr83lNrFHa", |
|
"object": "line_item", |
|
"amount": 70000, |
|
"amount_excluding_tax": 70000, |
|
"currency": "usd", |
|
"description": null, |
|
"discount_amounts": [ |
|
{ |
|
"amount": 24500, |
|
"discount": "di_1PQa9eIGBnsLynRrwwYr2bGD" |
|
} |
|
], |
|
"discountable": true, |
|
"discounts": [ |
|
], |
|
"invoice": "in_1PQa9fIGBnsLynRraYIqTdBs", |
|
"livemode": false, |
|
"metadata": { |
|
}, |
|
"period": { |
|
"end": 1720725291, |
|
"start": 1718133291 |
|
}, |
|
"plan": { |
|
"id": "2023-enterprise-seat-monthly", |
|
"object": "plan", |
|
"active": true, |
|
"aggregate_usage": null, |
|
"amount": 700, |
|
"amount_decimal": "700", |
|
"billing_scheme": "per_unit", |
|
"created": 1695152194, |
|
"currency": "usd", |
|
"interval": "month", |
|
"interval_count": 1, |
|
"livemode": false, |
|
"metadata": { |
|
}, |
|
"meter": null, |
|
"nickname": "Enterprise Organization (Monthly)", |
|
"product": "prod_HgSOgzUlYDFOzf", |
|
"tiers_mode": null, |
|
"transform_usage": null, |
|
"trial_period_days": null, |
|
"usage_type": "licensed", |
|
"name": "Password Manager - Enterprise Plan", |
|
"statement_description": null, |
|
"statement_descriptor": null, |
|
"tiers": null |
|
}, |
|
"price": { |
|
"id": "2023-enterprise-seat-monthly", |
|
"object": "price", |
|
"active": true, |
|
"billing_scheme": "per_unit", |
|
"created": 1695152194, |
|
"currency": "usd", |
|
"custom_unit_amount": null, |
|
"livemode": false, |
|
"lookup_key": null, |
|
"metadata": { |
|
}, |
|
"nickname": "Enterprise Organization (Monthly)", |
|
"product": "prod_HgSOgzUlYDFOzf", |
|
"recurring": { |
|
"aggregate_usage": null, |
|
"interval": "month", |
|
"interval_count": 1, |
|
"meter": null, |
|
"trial_period_days": null, |
|
"usage_type": "licensed" |
|
}, |
|
"tax_behavior": "exclusive", |
|
"tiers_mode": null, |
|
"transform_quantity": null, |
|
"type": "recurring", |
|
"unit_amount": 700, |
|
"unit_amount_decimal": "700" |
|
}, |
|
"proration": false, |
|
"proration_details": { |
|
"credited_items": null |
|
}, |
|
"quantity": 100, |
|
"subscription": null, |
|
"subscription_item": "si_QH8QUjtceXvcis", |
|
"tax_amounts": [ |
|
{ |
|
"amount": 3640, |
|
"inclusive": false, |
|
"tax_rate": "txr_1OZyBuIGBnsLynRrX0PJLuMC", |
|
"taxability_reason": "standard_rated", |
|
"taxable_amount": 45500 |
|
} |
|
], |
|
"tax_rates": [ |
|
], |
|
"type": "subscription", |
|
"unit_amount_excluding_tax": "700", |
|
"unique_id": "il_1PQa9fIGBnsLynRrVviet37m", |
|
"unique_line_item_id": "sli_11b229IGBnsLynRr837b79d0" |
|
} |
|
], |
|
"has_more": false, |
|
"total_count": 2, |
|
"url": "/v1/invoices/in_1PQa9fIGBnsLynRraYIqTdBs/lines" |
|
}, |
|
"livemode": false, |
|
"metadata": { |
|
}, |
|
"next_payment_attempt": null, |
|
"number": "525EB050-0001", |
|
"on_behalf_of": null, |
|
"paid": false, |
|
"paid_out_of_band": false, |
|
"payment_intent": "pi_3PQaA7IGBnsLynRr1swr9XJE", |
|
"payment_settings": { |
|
"default_mandate": null, |
|
"payment_method_options": null, |
|
"payment_method_types": null |
|
}, |
|
"period_end": 1718133291, |
|
"period_start": 1718133291, |
|
"post_payment_credit_notes_amount": 0, |
|
"pre_payment_credit_notes_amount": 0, |
|
"quote": null, |
|
"receipt_number": null, |
|
"rendering": null, |
|
"rendering_options": null, |
|
"shipping_cost": null, |
|
"shipping_details": null, |
|
"starting_balance": 0, |
|
"statement_descriptor": null, |
|
"status": "open", |
|
"status_transitions": { |
|
"finalized_at": 1718136893, |
|
"marked_uncollectible_at": null, |
|
"paid_at": null, |
|
"voided_at": null |
|
}, |
|
"subscription": "sub_1PQa9fIGBnsLynRr83lNrFHa", |
|
"subscription_details": { |
|
"metadata": { |
|
"providerId": "655bc5a3-2332-4201-a9a6-b18c013d0572" |
|
} |
|
}, |
|
"subtotal": 120000, |
|
"subtotal_excluding_tax": 120000, |
|
"tax": 6240, |
|
"test_clock": "clock_1PQaA4IGBnsLynRrptkZjgxc", |
|
"total": 84240, |
|
"total_discount_amounts": [ |
|
{ |
|
"amount": 42000, |
|
"discount": "di_1PQa9eIGBnsLynRrwwYr2bGD" |
|
} |
|
], |
|
"total_excluding_tax": 78000, |
|
"total_tax_amounts": [ |
|
{ |
|
"amount": 6240, |
|
"inclusive": false, |
|
"tax_rate": "txr_1OZyBuIGBnsLynRrX0PJLuMC", |
|
"taxability_reason": "standard_rated", |
|
"taxable_amount": 78000 |
|
} |
|
], |
|
"transfer_data": null, |
|
"webhooks_delivered_at": 1718133293, |
|
"application_fee": null, |
|
"billing": "send_invoice", |
|
"closed": false, |
|
"date": 1718133291, |
|
"finalized_at": 1718136893, |
|
"forgiven": false, |
|
"payment": null, |
|
"statement_description": null, |
|
"tax_percent": 8 |
|
} |
|
}, |
|
"livemode": false, |
|
"pending_webhooks": 5, |
|
"request": null, |
|
"type": "invoice.finalized", |
|
"user_id": "acct_19smIXIGBnsLynRr" |
|
}
|
|
|