Created
June 4, 2025 07:57
-
-
Save xaviablaza/2aa47a890a74fceb2347ea830fceedf4 to your computer and use it in GitHub Desktop.
finalized but past due invoice
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": "in_1RWC9tByiGkVepzsxe0gAg1h", | |
| "object": "invoice", | |
| "account_country": "US", | |
| "account_name": "Hostari", | |
| "account_tax_ids": null, | |
| "amount_due": 1600, | |
| "amount_overpaid": 0, | |
| "amount_paid": 0, | |
| "amount_remaining": 1600, | |
| "amount_shipping": 0, | |
| "application": null, | |
| "application_fee_amount": null, | |
| "attempt_count": 1, | |
| "attempted": true, | |
| "auto_advance": true, | |
| "automatic_tax": { | |
| "disabled_reason": null, | |
| "enabled": false, | |
| "liability": null, | |
| "provider": null, | |
| "status": null | |
| }, | |
| "automatically_finalizes_at": null, | |
| "billing_reason": "subscription_cycle", | |
| "charge": null, | |
| "collection_method": "charge_automatically", | |
| "created": 1751281618, | |
| "currency": "usd", | |
| "custom_fields": null, | |
| "customer": "cus_SPFFdB1PVMutlZ", | |
| "customer_address": null, | |
| "customer_email": "jennyrosen-2468850@example.com", | |
| "customer_name": "Jenny Rosen", | |
| "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, | |
| "discounts": [], | |
| "due_date": null, | |
| "effective_at": 1751285218, | |
| "ending_balance": 0, | |
| "footer": null, | |
| "from_invoice": null, | |
| "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1IRTX4ByiGkVepzs/test_YWNjdF8xSVJUWDRCeWlHa1ZlcHpzLF9TUjRJQ1NYRHJkY3V0UlMxNmxJZEc1Q3lVVkY2eWhhLDEzOTU2NDU3Nw02002f9tp8FN?s=ap", | |
| "invoice_pdf": "https://pay.stripe.com/invoice/acct_1IRTX4ByiGkVepzs/test_YWNjdF8xSVJUWDRCeWlHa1ZlcHpzLF9TUjRJQ1NYRHJkY3V0UlMxNmxJZEc1Q3lVVkY2eWhhLDEzOTU2NDU3Nw02002f9tp8FN/pdf?s=ap", | |
| "issuer": { | |
| "type": "self" | |
| }, | |
| "last_finalization_error": null, | |
| "latest_revision": null, | |
| "lines": { | |
| "object": "list", | |
| "data": [ | |
| { | |
| "id": "il_1RffY6ByiGkVepzs7g4TxdgT", | |
| "object": "line_item", | |
| "amount": 800, | |
| "amount_excluding_tax": 800, | |
| "currency": "usd", | |
| "description": "672 × Pro Plan - Infrastructure Project Hour (Tier 1 at $0.011904761905 / month)", | |
| "discount_amounts": [], | |
| "discountable": true, | |
| "discounts": [], | |
| "invoice": "in_1RWC9tByiGkVepzsxe0gAg1h", | |
| "livemode": false, | |
| "metadata": {}, | |
| "parent": { | |
| "invoice_item_details": null, | |
| "subscription_item_details": { | |
| "invoice_item": null, | |
| "proration": false, | |
| "proration_details": { | |
| "credited_items": null | |
| }, | |
| "subscription": "sub_1RUQm6ByiGkVepzsqX0oYEJv", | |
| "subscription_item": "si_SPFGxnrRbHZXOT" | |
| }, | |
| "type": "subscription_item_details" | |
| }, | |
| "period": { | |
| "end": 1751281560, | |
| "start": 1748603218 | |
| }, | |
| "plan": { | |
| "id": "price_1RUQlJByiGkVepzsAykoRG3b", | |
| "object": "plan", | |
| "active": true, | |
| "aggregate_usage": null, | |
| "amount": null, | |
| "amount_decimal": null, | |
| "billing_scheme": "tiered", | |
| "created": 1748603169, | |
| "currency": "usd", | |
| "interval": "month", | |
| "interval_count": 1, | |
| "livemode": false, | |
| "metadata": {}, | |
| "meter": "mtr_test_61Sdoie4LABJrjFAu41ByiGkVepzsIVs", | |
| "nickname": "per infrastructure project, launch pricing", | |
| "product": "prod_SPFEoCDNb42vnW", | |
| "tiers_mode": "graduated", | |
| "transform_usage": null, | |
| "trial_period_days": null, | |
| "usage_type": "metered" | |
| }, | |
| "pretax_credit_amounts": [], | |
| "price": { | |
| "id": "price_1RUQlJByiGkVepzsAykoRG3b", | |
| "object": "price", | |
| "active": true, | |
| "billing_scheme": "tiered", | |
| "created": 1748603169, | |
| "currency": "usd", | |
| "custom_unit_amount": null, | |
| "livemode": false, | |
| "lookup_key": null, | |
| "metadata": {}, | |
| "nickname": "per infrastructure project, launch pricing", | |
| "product": "prod_SPFEoCDNb42vnW", | |
| "recurring": { | |
| "aggregate_usage": null, | |
| "interval": "month", | |
| "interval_count": 1, | |
| "meter": "mtr_test_61Sdoie4LABJrjFAu41ByiGkVepzsIVs", | |
| "trial_period_days": null, | |
| "usage_type": "metered" | |
| }, | |
| "tax_behavior": "unspecified", | |
| "tiers_mode": "graduated", | |
| "transform_quantity": null, | |
| "type": "recurring", | |
| "unit_amount": null, | |
| "unit_amount_decimal": null | |
| }, | |
| "pricing": { | |
| "price_details": { | |
| "price": "price_1RUQlJByiGkVepzsAykoRG3b", | |
| "product": "prod_SPFEoCDNb42vnW" | |
| }, | |
| "type": "price_details", | |
| "unit_amount_decimal": "1.1904761905" | |
| }, | |
| "proration": false, | |
| "proration_details": { | |
| "credited_items": null | |
| }, | |
| "quantity": 672, | |
| "subscription": "sub_1RUQm6ByiGkVepzsqX0oYEJv", | |
| "subscription_item": "si_SPFGxnrRbHZXOT", | |
| "tax_amounts": [], | |
| "tax_rates": [], | |
| "taxes": [], | |
| "type": "subscription", | |
| "unit_amount_excluding_tax": "1.1904761905" | |
| }, | |
| { | |
| "id": "il_1RffY6ByiGkVepzsl5dSwSd8", | |
| "object": "line_item", | |
| "amount": 800, | |
| "amount_excluding_tax": 800, | |
| "currency": "usd", | |
| "description": "672 × Pro Plan - Machine Hours from Minimum Spend (at $0.011904761905 / month)", | |
| "discount_amounts": [], | |
| "discountable": true, | |
| "discounts": [], | |
| "invoice": "in_1RWC9tByiGkVepzsxe0gAg1h", | |
| "livemode": false, | |
| "metadata": {}, | |
| "parent": { | |
| "invoice_item_details": null, | |
| "subscription_item_details": { | |
| "invoice_item": null, | |
| "proration": false, | |
| "proration_details": { | |
| "credited_items": null | |
| }, | |
| "subscription": "sub_1RUQm6ByiGkVepzsqX0oYEJv", | |
| "subscription_item": "si_SPFGgeRDc5yNQx" | |
| }, | |
| "type": "subscription_item_details" | |
| }, | |
| "period": { | |
| "end": 1751281560, | |
| "start": 1748603218 | |
| }, | |
| "plan": { | |
| "id": "price_1RUQlJByiGkVepzslBDJ9L3K", | |
| "object": "plan", | |
| "active": true, | |
| "aggregate_usage": null, | |
| "amount": null, | |
| "amount_decimal": "1.1904761905", | |
| "billing_scheme": "per_unit", | |
| "created": 1748603169, | |
| "currency": "usd", | |
| "interval": "month", | |
| "interval_count": 1, | |
| "livemode": false, | |
| "metadata": {}, | |
| "meter": "mtr_test_61Sdoifs6cRsCdYjb41ByiGkVepzsGy0", | |
| "nickname": "per 2vcpu-2gb-machine-hour, launch pricing", | |
| "product": "prod_SPFEUlkvrDxiZw", | |
| "tiers_mode": null, | |
| "transform_usage": null, | |
| "trial_period_days": null, | |
| "usage_type": "metered" | |
| }, | |
| "pretax_credit_amounts": [], | |
| "price": { | |
| "id": "price_1RUQlJByiGkVepzslBDJ9L3K", | |
| "object": "price", | |
| "active": true, | |
| "billing_scheme": "per_unit", | |
| "created": 1748603169, | |
| "currency": "usd", | |
| "custom_unit_amount": null, | |
| "livemode": false, | |
| "lookup_key": null, | |
| "metadata": {}, | |
| "nickname": "per 2vcpu-2gb-machine-hour, launch pricing", | |
| "product": "prod_SPFEUlkvrDxiZw", | |
| "recurring": { | |
| "aggregate_usage": null, | |
| "interval": "month", | |
| "interval_count": 1, | |
| "meter": "mtr_test_61Sdoifs6cRsCdYjb41ByiGkVepzsGy0", | |
| "trial_period_days": null, | |
| "usage_type": "metered" | |
| }, | |
| "tax_behavior": "unspecified", | |
| "tiers_mode": null, | |
| "transform_quantity": null, | |
| "type": "recurring", | |
| "unit_amount": null, | |
| "unit_amount_decimal": "1.1904761905" | |
| }, | |
| "pricing": { | |
| "price_details": { | |
| "price": "price_1RUQlJByiGkVepzslBDJ9L3K", | |
| "product": "prod_SPFEUlkvrDxiZw" | |
| }, | |
| "type": "price_details", | |
| "unit_amount_decimal": "1.1904761905" | |
| }, | |
| "proration": false, | |
| "proration_details": { | |
| "credited_items": null | |
| }, | |
| "quantity": 672, | |
| "subscription": "sub_1RUQm6ByiGkVepzsqX0oYEJv", | |
| "subscription_item": "si_SPFGgeRDc5yNQx", | |
| "tax_amounts": [], | |
| "tax_rates": [], | |
| "taxes": [], | |
| "type": "subscription", | |
| "unit_amount_excluding_tax": "1.1904761905" | |
| } | |
| ], | |
| "has_more": false, | |
| "total_count": 2, | |
| "url": "/v1/invoices/in_1RWC9tByiGkVepzsxe0gAg1h/lines" | |
| }, | |
| "livemode": false, | |
| "metadata": {}, | |
| "next_payment_attempt": 1751373590, | |
| "number": "DZONWTDV-0002", | |
| "on_behalf_of": null, | |
| "paid": false, | |
| "paid_out_of_band": false, | |
| "parent": { | |
| "quote_details": null, | |
| "subscription_details": { | |
| "metadata": {}, | |
| "subscription": "sub_1RUQm6ByiGkVepzsqX0oYEJv" | |
| }, | |
| "type": "subscription_details" | |
| }, | |
| "payment_intent": "pi_3RWC9yByiGkVepzs04ZHg8H5", | |
| "payment_settings": { | |
| "default_mandate": null, | |
| "payment_method_options": null, | |
| "payment_method_types": null | |
| }, | |
| "period_end": 1751281618, | |
| "period_start": 1748603218, | |
| "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": 1751285218, | |
| "marked_uncollectible_at": null, | |
| "paid_at": null, | |
| "voided_at": null | |
| }, | |
| "subscription": "sub_1RUQm6ByiGkVepzsqX0oYEJv", | |
| "subscription_details": { | |
| "metadata": {} | |
| }, | |
| "subtotal": 1600, | |
| "subtotal_excluding_tax": 1600, | |
| "tax": null, | |
| "test_clock": "clock_1RWC9VByiGkVepzslHkfOw58", | |
| "total": 1600, | |
| "total_discount_amounts": [], | |
| "total_excluding_tax": 1600, | |
| "total_pretax_credit_amounts": [], | |
| "total_tax_amounts": [], | |
| "total_taxes": [], | |
| "transfer_data": null, | |
| "webhooks_delivered_at": 1751281618 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment