{
  "id": "AzZMxvTYTQUmw1Iw7",
  "plan_id": "somiibo-premium-monthly-1",
  "plan_quantity": 1,
  "plan_unit_price": 1995,
  "billing_period": 1,
  "billing_period_unit": "month",
  "customer_id": "AzZMxvTYTQUmw1Iw7",
  "plan_amount": 1995,
  "plan_free_quantity": 0,
  "status": "active",
  "current_term_start": 1692009453,
  "current_term_end": 1694687853,
  "next_billing_at": 1694687853,
  "created_at": 1678790253,
  "started_at": 1678790253,
  "activated_at": 1678790253,
  "created_from_ip": "31.153.27.139",
  "updated_at": 1692009461,
  "has_scheduled_changes": false,
  "channel": "web",
  "resource_version": 1692009461863,
  "deleted": false,
  "object": "subscription",
  "currency_code": "USD",
  "shipping_address": {
    "first_name": "Marvin luca",
    "last_name": "liebrenz",
    "line1": "Kalograion",
    "city": "Larnaca",
    "state": "Larnaca",
    "country": "CY",
    "validation_status": "not_validated",
    "object": "shipping_address"
  },
  "due_invoices_count": 0,
  "mrr": 1995,
  "exchange_rate": 1,
  "base_currency_code": "USD",
  "cf_clientorderid": "1678790168794-0784",
  "has_scheduled_advance_invoices": false,
  "invoices": [{
    "invoice": {
      "id": "3440",
      "customer_id": "AzZMxvTYTQUmw1Iw7",
      "subscription_id": "AzZMxvTYTQUmw1Iw7",
      "recurring": true,
      "status": "paid",
      "price_type": "tax_exclusive",
      "date": 1692009453,
      "due_date": 1692009453,
      "net_term_days": 0,
      "exchange_rate": 1,
      "total": 1995,
      "amount_paid": 1995,
      "amount_adjusted": 0,
      "write_off_amount": 0,
      "credits_applied": 0,
      "amount_due": 0,
      "paid_at": 1692009454,
      "updated_at": 1692009455,
      "resource_version": 1692009455457,
      "deleted": false,
      "object": "invoice",
      "first_invoice": false,
      "amount_to_collect": 0,
      "round_off_amount": 0,
      "has_advance_charges": false,
      "currency_code": "USD",
      "base_currency_code": "USD",
      "generated_at": 1692009453,
      "is_gifted": false,
      "term_finalized": true,
      "channel": "web",
      "tax": 0,
      "line_items": [{
        "id": "li_Azq7wXTmu3Ege2Nif",
        "date_from": 1692009453,
        "date_to": 1694687853,
        "unit_amount": 1995,
        "quantity": 1,
        "amount": 1995,
        "pricing_model": "flat_fee",
        "is_taxed": false,
        "tax_amount": 0,
        "object": "line_item",
        "subscription_id": "AzZMxvTYTQUmw1Iw7",
        "customer_id": "AzZMxvTYTQUmw1Iw7",
        "description": "Somiibo Premium (Monthly)",
        "entity_type": "plan",
        "entity_id": "somiibo-premium-monthly-1",
        "tax_exempt_reason": "tax_not_configured",
        "discount_amount": 0,
        "item_level_discount_amount": 0
      }],
      "sub_total": 1995,
      "linked_payments": [{
        "txn_id": "txn_Azq7wXTmu3Ei12Nik",
        "applied_amount": 1995,
        "applied_at": 1692009455,
        "txn_status": "success",
        "txn_date": 1692009454,
        "txn_amount": 1995
      }],
      "applied_credits": [],
      "adjustment_credit_notes": [],
      "issued_credit_notes": [],
      "linked_orders": [],
      "dunning_attempts": [],
      "billing_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "billing_address"
      },
      "shipping_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "shipping_address"
      }
    }
  }, {
    "invoice": {
      "id": "3339",
      "customer_id": "AzZMxvTYTQUmw1Iw7",
      "subscription_id": "AzZMxvTYTQUmw1Iw7",
      "recurring": true,
      "status": "paid",
      "price_type": "tax_exclusive",
      "date": 1689331053,
      "due_date": 1689331053,
      "net_term_days": 0,
      "exchange_rate": 1,
      "total": 1995,
      "amount_paid": 1995,
      "amount_adjusted": 0,
      "write_off_amount": 0,
      "credits_applied": 0,
      "amount_due": 0,
      "paid_at": 1689331054,
      "updated_at": 1689331055,
      "resource_version": 1689331055653,
      "deleted": false,
      "object": "invoice",
      "first_invoice": false,
      "amount_to_collect": 0,
      "round_off_amount": 0,
      "has_advance_charges": false,
      "currency_code": "USD",
      "base_currency_code": "USD",
      "generated_at": 1689331053,
      "is_gifted": false,
      "term_finalized": true,
      "channel": "web",
      "tax": 0,
      "line_items": [{
        "id": "li_Azq7wfTjymwWA1PPr",
        "date_from": 1689331053,
        "date_to": 1692009453,
        "unit_amount": 1995,
        "quantity": 1,
        "amount": 1995,
        "pricing_model": "flat_fee",
        "is_taxed": false,
        "tax_amount": 0,
        "object": "line_item",
        "subscription_id": "AzZMxvTYTQUmw1Iw7",
        "customer_id": "AzZMxvTYTQUmw1Iw7",
        "description": "Somiibo Premium (Monthly)",
        "entity_type": "plan",
        "entity_id": "somiibo-premium-monthly-1",
        "tax_exempt_reason": "tax_not_configured",
        "discount_amount": 0,
        "item_level_discount_amount": 0
      }],
      "sub_total": 1995,
      "linked_payments": [{
        "txn_id": "txn_Azq7wfTjymwXc1PPy",
        "applied_amount": 1995,
        "applied_at": 1689331055,
        "txn_status": "success",
        "txn_date": 1689331054,
        "txn_amount": 1995
      }],
      "applied_credits": [],
      "adjustment_credit_notes": [],
      "issued_credit_notes": [],
      "linked_orders": [],
      "dunning_attempts": [],
      "billing_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "billing_address"
      },
      "shipping_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "shipping_address"
      }
    }
  }, {
    "invoice": {
      "id": "3232",
      "customer_id": "AzZMxvTYTQUmw1Iw7",
      "subscription_id": "AzZMxvTYTQUmw1Iw7",
      "recurring": true,
      "status": "paid",
      "price_type": "tax_exclusive",
      "date": 1686739053,
      "due_date": 1686739053,
      "net_term_days": 0,
      "exchange_rate": 1,
      "total": 1995,
      "amount_paid": 1995,
      "amount_adjusted": 0,
      "write_off_amount": 0,
      "credits_applied": 0,
      "amount_due": 0,
      "paid_at": 1686739056,
      "updated_at": 1686739058,
      "resource_version": 1686739058565,
      "deleted": false,
      "object": "invoice",
      "first_invoice": false,
      "amount_to_collect": 0,
      "round_off_amount": 0,
      "has_advance_charges": false,
      "currency_code": "USD",
      "base_currency_code": "USD",
      "generated_at": 1686739053,
      "is_gifted": false,
      "term_finalized": true,
      "channel": "web",
      "tax": 0,
      "line_items": [{
        "id": "li_16CJtRTh9NBZO2lLI",
        "date_from": 1686739053,
        "date_to": 1689331053,
        "unit_amount": 1995,
        "quantity": 1,
        "amount": 1995,
        "pricing_model": "flat_fee",
        "is_taxed": false,
        "tax_amount": 0,
        "object": "line_item",
        "subscription_id": "AzZMxvTYTQUmw1Iw7",
        "customer_id": "AzZMxvTYTQUmw1Iw7",
        "description": "Somiibo Premium (Monthly)",
        "entity_type": "plan",
        "entity_id": "somiibo-premium-monthly-1",
        "tax_exempt_reason": "tax_not_configured",
        "discount_amount": 0,
        "item_level_discount_amount": 0
      }],
      "sub_total": 1995,
      "linked_payments": [{
        "txn_id": "txn_16CJtRTh9NBbJ2lLN",
        "applied_amount": 1995,
        "applied_at": 1686739058,
        "txn_status": "success",
        "txn_date": 1686739056,
        "txn_amount": 1995
      }],
      "applied_credits": [],
      "adjustment_credit_notes": [],
      "issued_credit_notes": [],
      "linked_orders": [],
      "dunning_attempts": [],
      "billing_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "billing_address"
      },
      "shipping_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "shipping_address"
      }
    }
  }, {
    "invoice": {
      "id": "3131",
      "customer_id": "AzZMxvTYTQUmw1Iw7",
      "subscription_id": "AzZMxvTYTQUmw1Iw7",
      "recurring": true,
      "status": "paid",
      "price_type": "tax_exclusive",
      "date": 1684060653,
      "due_date": 1684060653,
      "net_term_days": 0,
      "exchange_rate": 1,
      "total": 1995,
      "amount_paid": 1995,
      "amount_adjusted": 0,
      "write_off_amount": 0,
      "credits_applied": 0,
      "amount_due": 0,
      "paid_at": 1684060657,
      "updated_at": 1684060659,
      "resource_version": 1684060659117,
      "deleted": false,
      "object": "invoice",
      "first_invoice": false,
      "amount_to_collect": 0,
      "round_off_amount": 0,
      "has_advance_charges": false,
      "currency_code": "USD",
      "base_currency_code": "USD",
      "generated_at": 1684060653,
      "is_gifted": false,
      "term_finalized": true,
      "channel": "web",
      "tax": 0,
      "line_items": [{
        "id": "li_AzZdonTeE6tVu1BfXV",
        "date_from": 1684060653,
        "date_to": 1686739053,
        "unit_amount": 1995,
        "quantity": 1,
        "amount": 1995,
        "pricing_model": "flat_fee",
        "is_taxed": false,
        "tax_amount": 0,
        "object": "line_item",
        "subscription_id": "AzZMxvTYTQUmw1Iw7",
        "customer_id": "AzZMxvTYTQUmw1Iw7",
        "description": "Somiibo Premium (Monthly)",
        "entity_type": "plan",
        "entity_id": "somiibo-premium-monthly-1",
        "tax_exempt_reason": "tax_not_configured",
        "discount_amount": 0,
        "item_level_discount_amount": 0
      }],
      "sub_total": 1995,
      "linked_payments": [{
        "txn_id": "txn_AzZdonTeE6tXP1BfXe",
        "applied_amount": 1995,
        "applied_at": 1684060659,
        "txn_status": "success",
        "txn_date": 1684060657,
        "txn_amount": 1995
      }],
      "applied_credits": [],
      "adjustment_credit_notes": [],
      "issued_credit_notes": [],
      "linked_orders": [],
      "dunning_attempts": [],
      "billing_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "billing_address"
      },
      "shipping_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "shipping_address"
      }
    }
  }, {
    "invoice": {
      "id": "3005",
      "customer_id": "AzZMxvTYTQUmw1Iw7",
      "subscription_id": "AzZMxvTYTQUmw1Iw7",
      "recurring": true,
      "status": "paid",
      "price_type": "tax_exclusive",
      "date": 1681468653,
      "due_date": 1681468653,
      "net_term_days": 0,
      "exchange_rate": 1,
      "total": 1995,
      "amount_paid": 1995,
      "amount_adjusted": 0,
      "write_off_amount": 0,
      "credits_applied": 0,
      "amount_due": 0,
      "paid_at": 1681468657,
      "updated_at": 1681468659,
      "resource_version": 1681468659203,
      "deleted": false,
      "object": "invoice",
      "first_invoice": false,
      "amount_to_collect": 0,
      "round_off_amount": 0,
      "has_advance_charges": false,
      "currency_code": "USD",
      "base_currency_code": "USD",
      "generated_at": 1681468653,
      "is_gifted": false,
      "term_finalized": true,
      "channel": "web",
      "tax": 0,
      "line_items": [{
        "id": "li_Azz2SrTbOh7xLIDd4",
        "date_from": 1681468653,
        "date_to": 1684060653,
        "unit_amount": 1995,
        "quantity": 1,
        "amount": 1995,
        "pricing_model": "flat_fee",
        "is_taxed": false,
        "tax_amount": 0,
        "object": "line_item",
        "subscription_id": "AzZMxvTYTQUmw1Iw7",
        "customer_id": "AzZMxvTYTQUmw1Iw7",
        "description": "Somiibo Premium (Monthly)",
        "entity_type": "plan",
        "entity_id": "somiibo-premium-monthly-1",
        "tax_exempt_reason": "tax_not_configured",
        "discount_amount": 0,
        "item_level_discount_amount": 0
      }],
      "sub_total": 1995,
      "linked_payments": [{
        "txn_id": "txn_Azz2SrTbOh7zHIDdD",
        "applied_amount": 1995,
        "applied_at": 1681468659,
        "txn_status": "success",
        "txn_date": 1681468657,
        "txn_amount": 1995
      }],
      "applied_credits": [],
      "adjustment_credit_notes": [],
      "issued_credit_notes": [],
      "linked_orders": [],
      "dunning_attempts": [],
      "billing_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "billing_address"
      },
      "shipping_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "shipping_address"
      }
    }
  }, {
    "invoice": {
      "id": "2904",
      "customer_id": "AzZMxvTYTQUmw1Iw7",
      "subscription_id": "AzZMxvTYTQUmw1Iw7",
      "recurring": true,
      "status": "paid",
      "price_type": "tax_exclusive",
      "date": 1678790253,
      "due_date": 1678790253,
      "net_term_days": 0,
      "exchange_rate": 1,
      "total": 1995,
      "amount_paid": 1995,
      "amount_adjusted": 0,
      "write_off_amount": 0,
      "credits_applied": 0,
      "amount_due": 0,
      "paid_at": 1678790253,
      "updated_at": 1678790254,
      "resource_version": 1678790254619,
      "deleted": false,
      "object": "invoice",
      "first_invoice": true,
      "amount_to_collect": 0,
      "round_off_amount": 0,
      "new_sales_amount": 1995,
      "has_advance_charges": false,
      "currency_code": "USD",
      "base_currency_code": "USD",
      "generated_at": 1678790253,
      "is_gifted": false,
      "term_finalized": true,
      "channel": "web",
      "tax": 0,
      "line_items": [{
        "id": "li_AzZqbYTYTQojlDUHr",
        "date_from": 1678790253,
        "date_to": 1681468653,
        "unit_amount": 1995,
        "quantity": 1,
        "amount": 1995,
        "pricing_model": "flat_fee",
        "is_taxed": false,
        "tax_amount": 0,
        "object": "line_item",
        "subscription_id": "AzZMxvTYTQUmw1Iw7",
        "customer_id": "AzZMxvTYTQUmw1Iw7",
        "description": "Somiibo Premium (Monthly)",
        "entity_type": "plan",
        "entity_id": "somiibo-premium-monthly-1",
        "tax_exempt_reason": "tax_not_configured",
        "discount_amount": 0,
        "item_level_discount_amount": 0
      }],
      "sub_total": 1995,
      "linked_payments": [{
        "txn_id": "txn_AzZqbYTYTQokyDUII",
        "applied_amount": 1995,
        "applied_at": 1678790254,
        "txn_status": "success",
        "txn_date": 1678790253,
        "txn_amount": 1995
      }],
      "applied_credits": [],
      "adjustment_credit_notes": [],
      "issued_credit_notes": [],
      "linked_orders": [],
      "dunning_attempts": [],
      "billing_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "billing_address"
      },
      "shipping_address": {
        "first_name": "Marvin luca",
        "last_name": "liebrenz",
        "line1": "Kalograion",
        "city": "Larnaca",
        "state": "Larnaca",
        "country": "CY",
        "validation_status": "not_validated",
        "object": "shipping_address"
      }
    }
  }]
}
