INSERT INTO `smd__transaction_log` (`transactionID`, `transactionData`, `createDate`, `zohoEventID`) VALUES
(218, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000090335\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber7@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Seventh\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000090275\", \"company_name\": \"Seventh Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Seventh Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-19\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-19\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-19T16:11:15+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2019-12-19T06:12:52+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"contactpersons\": [{\"email\": \"esemdee_subscriber7@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000090277\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2019-12-19\", \"next_billing_at\": \"2020-01-19\", \"subscription_id\": \"1974529000000090298\", \"child_invoice_id\": \"1974529000000225090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00010\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-01-19\", \"current_term_starts_at\": \"2019-12-19\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000225159\", \"event_time\": \"2019-12-19\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2019-12-19T06:12:53+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"19/12/19\"}', '2019-12-19 06:12:53', '1974529000000225159'),
(229, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000081063\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber4@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Fourth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000081001\", \"company_name\": \"Fourth Subscriber\", \"country_code\": \"\", \"display_name\": \"Fourth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-20T11:14:13+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2019-12-20T06:13:48+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"contactpersons\": [{\"email\": \"esemdee_subscriber4@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000081003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2019-12-20\", \"next_billing_at\": \"2020-01-20\", \"subscription_id\": \"1974529000000090886\", \"child_invoice_id\": \"1974529000000235001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00012\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-01-20\", \"current_term_starts_at\": \"2019-12-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000235070\", \"event_time\": \"2019-12-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2019-12-20T06:13:49+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/12/19\"}', '2019-12-20 06:13:49', '1974529000000235070'),
(230, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000093105\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber8@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Eighth \", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000093045\", \"company_name\": \"Eighth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Eighth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-20T11:47:01+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2019-12-20T06:13:50+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"contactpersons\": [{\"email\": \"esemdee_subscriber8@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000093047\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2019-12-20\", \"next_billing_at\": \"2020-01-20\", \"subscription_id\": \"1974529000000093068\", \"child_invoice_id\": \"1974529000000235090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00013\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-01-20\", \"current_term_starts_at\": \"2019-12-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000235159\", \"event_time\": \"2019-12-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2019-12-20T06:13:51+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/12/19\"}', '2019-12-20 06:13:51', '1974529000000235159'),
(237, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073176\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber1@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"First\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072090\", \"company_name\": \"First Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"First Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-12-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-20T14:00:53+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2019-12-20T14:00:55+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber1@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072092\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2019-12-20\", \"next_billing_at\": \"2020-01-20\", \"subscription_id\": \"1974529000000243005\", \"child_invoice_id\": \"1974529000000243013\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00026\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-01-20\", \"current_term_starts_at\": \"2019-12-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000243086\", \"event_time\": \"2019-12-20\", \"event_type\": \"subscription_activation\", \"created_time\": \"2019-12-20T14:00:55+0000\", \"event_source\": \"user\", \"event_time_formatted\": \"20/12/19\"}', '2019-12-20 14:00:55', '1974529000000243086'),
(238, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073176\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 1\", \"plan\": {\"name\": \"Test Plan 1\", \"tags\": [], \"unit\": \"\", \"price\": 19, \"total\": 19, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072033\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"Test_Plan_1\", \"setup_fee\": 0, \"description\": \"Test Plan 1\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 5\\nMax post from RSS number: 5\\nRSS Feed period: monthly\\nMax generic post-template number: 10\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 5\\n\\n\\n\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4.2}], \"addons\": [{\"name\": \"+1 User\", \"tags\": [], \"unit\": \"\", \"price\": 2, \"total\": 2, \"tax_id\": \"1974529000000072021\", \"addon_id\": \"1974529000000072044\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"addon_code\": \"Add1User\", \"description\": \"Adding Users to extend Plans maximum allowed User number\\n\\nMax user Number: 1\\n \", \"product_type\": \"\", \"tax_percentage\": 20, \"item_custom_fields\": []}], \"amount\": 25.2, \"source\": \"user\", \"status\": \"cancelled\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber1@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"First\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072090\", \"company_name\": \"First Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"First Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 21, \"bcy_amount\": 25.2, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"cancelled_at\": \"2019-12-20\", \"created_time\": \"2019-09-02T16:39:30+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2019-12-20T14:05:12+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber1@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072092\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2019-12-02\", \"subscription_id\": \"1974529000000072209\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"previous_attribute\": {\"total\": 0, \"status\": \"live\", \"plan_id\": \"1974529000000072033\", \"quantity\": 1, \"plan_code\": \"Test_Plan_1\", \"plan_name\": \"Test Plan 1\"}, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00004\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-01-02\", \"current_term_starts_at\": \"2019-12-10\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000243128\", \"event_time\": \"2019-12-20\", \"event_type\": \"subscription_cancelled\", \"created_time\": \"2019-12-20T14:05:12+0000\", \"event_source\": \"user\", \"event_time_formatted\": \"20/12/19\"}', '2019-12-20 14:05:12', '1974529000000243128'),
(243, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000121061\", \"expiry_year\": 2020, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber11@esemdee.com\", \"website\": \"\", \"last_name\": \"Doe\", \"first_name\": \"John\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000121001\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"John Doe\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-10-21\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-21\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-21T15:48:10+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2019-12-21T06:15:17+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber11@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000121003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2019-12-21\", \"next_billing_at\": \"2020-01-21\", \"subscription_id\": \"1974529000000121024\", \"child_invoice_id\": \"1974529000000246001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00018\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-01-21\", \"current_term_starts_at\": \"2019-12-21\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000246070\", \"event_time\": \"2019-12-21\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2019-12-21T06:15:18+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"21/12/19\"}', '2019-12-21 06:15:18', '1974529000000246070'),
(249, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000098061\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber10@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Tenth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000098001\", \"company_name\": \"Tenth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Tenth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-09-27\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-27\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-27T13:29:58+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2019-12-27T06:24:43+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber10@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000098003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2019-12-27\", \"next_billing_at\": \"2020-01-27\", \"subscription_id\": \"1974529000000098024\", \"child_invoice_id\": \"1974529000000254001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00014\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-01-27\", \"current_term_starts_at\": \"2019-12-27\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000254070\", \"event_time\": \"2019-12-27\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2019-12-27T06:24:44+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"27/12/19\"}', '2019-12-27 06:24:44', '1974529000000254070'),
(250, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000098193\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber5@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Fifth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000098133\", \"company_name\": \"Fifth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Fifth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-27\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-27\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-27T17:01:48+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2019-12-27T06:24:47+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber5@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000098135\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2019-12-27\", \"next_billing_at\": \"2020-01-27\", \"subscription_id\": \"1974529000000098156\", \"child_invoice_id\": \"1974529000000254090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00015\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-01-27\", \"current_term_starts_at\": \"2019-12-27\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000254159\", \"event_time\": \"2019-12-27\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2019-12-27T06:24:48+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"27/12/19\"}', '2019-12-27 06:24:48', '1974529000000254159'),
(261, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-10-28\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-28\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-28T07:42:50+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2019-12-28T06:07:35+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2019-12-28\", \"next_billing_at\": \"2020-01-28\", \"subscription_id\": \"1974529000000130005\", \"child_invoice_id\": \"1974529000000266013\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00019\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-01-28\", \"current_term_starts_at\": \"2019-12-28\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000266082\", \"event_time\": \"2019-12-28\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2019-12-28T06:07:36+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"28/12/19\"}', '2019-12-28 06:07:36', '1974529000000266082'),
(267, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073289\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 2\", \"plan\": {\"name\": \"Test Plan 2\", \"tags\": [], \"unit\": \"\", \"price\": 5, \"total\": 5, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072062\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan2\", \"setup_fee\": 0, \"description\": \"Test Plan 2\\n\\nNo Access to generic Templates\\nNo Access to Analytics\\nNo Access to Approval Workflow\\nNo Access to Autofeed\\nNo Access to Dashboard personalisation\\nNo Access to Link Shortening\\nNo Access to Categories at Media Library\\nNo Access to Tag at Media Library\\nNo Access to RSS feed\\nMax RSS URL number: 0\\nMax post from RSS number: 0\\nRSS Feed period: monthly\\nMax generic post-template number: 0\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 1}], \"addons\": [], \"amount\": 6, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber2@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Second\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072103\", \"company_name\": \"Second Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Second Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 5, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:49:03+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-02T06:25:42+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber2@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072105\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-02\", \"next_billing_at\": \"2020-02-02\", \"subscription_id\": \"1974529000000073468\", \"child_invoice_id\": \"1974529000000269001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00005\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-02\", \"current_term_starts_at\": \"2020-01-02\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000269070\", \"event_time\": \"2020-01-02\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-02T06:25:43+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"02/01/20\"}', '2020-01-02 06:25:43', '1974529000000269070');
INSERT INTO `smd__transaction_log` (`transactionID`, `transactionData`, `createDate`, `zohoEventID`) VALUES
(268, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073396\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber3@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Third\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072116\", \"company_name\": \"Third Subscriber Ltd.\", \"country_code\": \"\", \"display_name\": \"Third Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:50:09+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-02T06:25:44+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber3@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072118\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-02\", \"next_billing_at\": \"2020-02-02\", \"subscription_id\": \"1974529000000073577\", \"child_invoice_id\": \"1974529000000269090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00006\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-02\", \"current_term_starts_at\": \"2020-01-02\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000269159\", \"event_time\": \"2020-01-02\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-02T06:25:45+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"02/01/20\"}', '2020-01-02 06:25:45', '1974529000000269159'),
(279, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 1\", \"plan\": {\"name\": \"Test Plan 1\", \"tags\": [], \"unit\": \"\", \"price\": 19, \"total\": 19, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072033\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"Test_Plan_1\", \"setup_fee\": 0, \"description\": \"Test Plan 1\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 5\\nMax post from RSS number: 5\\nRSS Feed period: monthly\\nMax generic post-template number: 10\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 5\\n\\n\\n\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 3.8}], \"addons\": [], \"amount\": 22.8, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"\"}, \"interval\": 1, \"sub_total\": 19, \"created_at\": \"2019-10-03\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-03\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-03T14:09:16+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-03T06:28:15+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-03\", \"next_billing_at\": \"2020-02-03\", \"subscription_id\": \"1974529000000109013\", \"child_invoice_id\": \"1974529000000275005\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00016\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-03\", \"current_term_starts_at\": \"2020-01-03\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000275074\", \"event_time\": \"2020-01-03\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-03T06:28:16+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"03/01/20\"}', '2020-01-03 06:28:16', '1974529000000275074'),
(285, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 4\", \"plan\": {\"name\": \"Test Plan 4\", \"tags\": [], \"unit\": \"\", \"price\": 40, \"total\": 40, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000080003\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan4\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 8.6}], \"addons\": [{\"name\": \"+1 Social Site\", \"tags\": [], \"unit\": \"\", \"price\": 3, \"total\": 3, \"tax_id\": \"1974529000000072021\", \"addon_id\": \"1974529000000072053\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"addon_code\": \"AddSocialSite1\", \"description\": \"Adding Users to extend Plans maximum allowed User number\\n\\nMax Social Sites Number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"item_custom_fields\": []}], \"amount\": 51.6, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"\"}, \"interval\": 1, \"sub_total\": 43, \"created_at\": \"2019-11-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-11-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-11-07T12:34:24+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-07T06:02:24+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-07\", \"next_billing_at\": \"2020-02-07\", \"subscription_id\": \"1974529000000137005\", \"child_invoice_id\": \"1974529000000277001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00020\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-07\", \"current_term_starts_at\": \"2020-01-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000277076\", \"event_time\": \"2020-01-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-07T06:02:25+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/01/20\"}', '2020-01-07 06:02:25', '1974529000000277076'),
(286, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000207061\", \"expiry_year\": 2024, \"expiry_month\": 12, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"erdei.daniel@w5labs.com\", \"website\": \"\", \"last_name\": \"Erdei\", \"first_name\": \"Dániel\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000207015\", \"company_name\": \"W5labs\", \"country_code\": \"\", \"display_name\": \"W5labs\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"3254\", \"city\": \"sdgsdg\", \"phone\": \"\", \"state\": \"sdgs\", \"street\": \"sdgsdg\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"3254\", \"city\": \"sdgsdg\", \"phone\": \"\", \"state\": \"sdgs\", \"street\": \"sdgsdg\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-12-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-07T11:42:05+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-07T06:02:29+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"erdei.daniel@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000207017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-07\", \"next_billing_at\": \"2020-02-07\", \"subscription_id\": \"1974529000000207013\", \"child_invoice_id\": \"1974529000000277096\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00024\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-07\", \"current_term_starts_at\": \"2020-01-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000277165\", \"event_time\": \"2020-01-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-07T06:02:30+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/01/20\"}', '2020-01-07 06:02:30', '1974529000000277165'),
(287, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000207176\", \"expiry_year\": 2024, \"expiry_month\": 12, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 1\", \"plan\": {\"name\": \"Test Plan 1\", \"tags\": [], \"unit\": \"\", \"price\": 19, \"total\": 19, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072033\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"Test_Plan_1\", \"setup_fee\": 0, \"description\": \"Test Plan 1\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 5\\nMax post from RSS number: 5\\nRSS Feed period: monthly\\nMax generic post-template number: 10\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 5\\n\\n\\n\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 3.8}], \"addons\": [], \"amount\": 22.8, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"daniel.erdei@w5.hu\", \"website\": \"\", \"last_name\": \"sfgqh\", \"first_name\": \"Erdeu\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000207155\", \"company_name\": \"Danika\", \"country_code\": \"\", \"display_name\": \"Danika\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"uigwsdfg\", \"city\": \"uhsdgf\", \"phone\": \"\", \"state\": \"iufg\", \"street\": \"wfjig\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"uigwsdfg\", \"city\": \"uhsdgf\", \"phone\": \"\", \"state\": \"iufg\", \"street\": \"wfjig\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"\"}, \"interval\": 1, \"sub_total\": 19, \"created_at\": \"2019-12-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-07T11:44:17+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-07T06:02:32+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"daniel.erdei@w5.hu\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000207157\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-07\", \"next_billing_at\": \"2020-02-07\", \"subscription_id\": \"1974529000000207153\", \"child_invoice_id\": \"1974529000000277185\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"2019-12-27\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"Friday\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00025\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-07\", \"current_term_starts_at\": \"2020-01-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000277264\", \"event_time\": \"2020-01-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-07T06:02:33+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/01/20\"}', '2020-01-07 06:02:33', '1974529000000277264'),
(294, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073289\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 2\", \"plan\": {\"name\": \"Test Plan 2\", \"tags\": [], \"unit\": \"\", \"price\": 5, \"total\": 5, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072062\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan2\", \"setup_fee\": 0, \"description\": \"Test Plan 2\\n\\nNo Access to generic Templates\\nNo Access to Analytics\\nNo Access to Approval Workflow\\nNo Access to Autofeed\\nNo Access to Dashboard personalisation\\nNo Access to Link Shortening\\nNo Access to Categories at Media Library\\nNo Access to Tag at Media Library\\nNo Access to RSS feed\\nMax RSS URL number: 0\\nMax post from RSS number: 0\\nRSS Feed period: monthly\\nMax generic post-template number: 0\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 5}], \"addons\": [{\"name\": \"+1 User\", \"tags\": [], \"unit\": \"\", \"price\": 2, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"addon_id\": \"1974529000000072044\", \"discount\": 0, \"quantity\": 10, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"addon_code\": \"Add1User\", \"description\": \"Adding Users to extend Plans maximum allowed User number\\n\\nMax user Number: 1\\n \", \"product_type\": \"\", \"tax_percentage\": 20, \"item_custom_fields\": []}], \"amount\": 30, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber2@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Second\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072103\", \"company_name\": \"Second Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Second Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 25, \"bcy_amount\": 30, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:49:03+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-07T15:43:13+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber2@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072105\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-07\", \"next_billing_at\": \"2020-02-02\", \"subscription_id\": \"1974529000000073468\", \"child_invoice_id\": \"1974529000000282009\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"previous_attribute\": {\"total\": 6, \"status\": \"live\", \"plan_id\": \"1974529000000072062\", \"quantity\": 1, \"bcy_total\": 6, \"plan_code\": \"TestPlan2\", \"plan_name\": \"Test Plan 2\"}, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00005\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-02\", \"current_term_starts_at\": \"2020-01-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000282068\", \"event_time\": \"2020-01-07\", \"event_type\": \"subscription_upgraded\", \"created_time\": \"2020-01-07T15:43:14+0000\", \"event_source\": \"user\", \"event_time_formatted\": \"07/01/20\"}', '2020-01-07 15:43:14', '1974529000000282068'),
(295, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073289\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 2\", \"plan\": {\"name\": \"Test Plan 2\", \"tags\": [], \"unit\": \"\", \"price\": 5, \"total\": 5, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072062\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan2\", \"setup_fee\": 0, \"description\": \"Test Plan 2\\n\\nNo Access to generic Templates\\nNo Access to Analytics\\nNo Access to Approval Workflow\\nNo Access to Autofeed\\nNo Access to Dashboard personalisation\\nNo Access to Link Shortening\\nNo Access to Categories at Media Library\\nNo Access to Tag at Media Library\\nNo Access to RSS feed\\nMax RSS URL number: 0\\nMax post from RSS number: 0\\nRSS Feed period: monthly\\nMax generic post-template number: 0\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 3}], \"addons\": [{\"name\": \"+1 User\", \"tags\": [], \"unit\": \"\", \"price\": 2, \"total\": 10, \"tax_id\": \"1974529000000072021\", \"addon_id\": \"1974529000000072044\", \"discount\": 0, \"quantity\": 5, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"addon_code\": \"Add1User\", \"description\": \"Adding Users to extend Plans maximum allowed User number\\n\\nMax user Number: 1\\n \", \"product_type\": \"\", \"tax_percentage\": 20, \"item_custom_fields\": []}], \"amount\": 18, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber2@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Second\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072103\", \"company_name\": \"Second Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Second Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 15, \"bcy_amount\": 18, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:49:03+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-07T15:49:25+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber2@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072105\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-07\", \"next_billing_at\": \"2020-02-02\", \"subscription_id\": \"1974529000000073468\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"previous_attribute\": {\"total\": 30, \"addons\": [{\"addon_id\": \"1974529000000072044\", \"quantity\": 10, \"addon_code\": \"Add1User\", \"addon_name\": \"+1 User\"}], \"status\": \"live\", \"plan_id\": \"1974529000000072062\", \"quantity\": 1, \"bcy_total\": 30, \"plan_code\": \"TestPlan2\", \"plan_name\": \"Test Plan 2\"}, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00005\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-02\", \"current_term_starts_at\": \"2020-01-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000282128\", \"event_time\": \"2020-01-07\", \"event_type\": \"subscription_downgraded\", \"created_time\": \"2020-01-07T15:49:25+0000\", \"event_source\": \"user\", \"event_time_formatted\": \"07/01/20\"}', '2020-01-07 15:49:25', '1974529000000282128'),
(296, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073289\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 2\", \"plan\": {\"name\": \"Test Plan 2\", \"tags\": [], \"unit\": \"\", \"price\": 5, \"total\": 5, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072062\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan2\", \"setup_fee\": 0, \"description\": \"Test Plan 2\\n\\nNo Access to generic Templates\\nNo Access to Analytics\\nNo Access to Approval Workflow\\nNo Access to Autofeed\\nNo Access to Dashboard personalisation\\nNo Access to Link Shortening\\nNo Access to Categories at Media Library\\nNo Access to Tag at Media Library\\nNo Access to RSS feed\\nMax RSS URL number: 0\\nMax post from RSS number: 0\\nRSS Feed period: monthly\\nMax generic post-template number: 0\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 1}], \"addons\": [], \"amount\": 6, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber2@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Second\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072103\", \"company_name\": \"Second Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Second Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 5, \"bcy_amount\": 6, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:49:03+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-07T15:51:11+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber2@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072105\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-07\", \"next_billing_at\": \"2020-02-02\", \"subscription_id\": \"1974529000000073468\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"previous_attribute\": {\"total\": 18, \"addons\": [{\"addon_id\": \"1974529000000072044\", \"quantity\": 5, \"addon_code\": \"Add1User\", \"addon_name\": \"+1 User\"}], \"status\": \"live\", \"plan_id\": \"1974529000000072062\", \"quantity\": 1, \"bcy_total\": 18, \"plan_code\": \"TestPlan2\", \"plan_name\": \"Test Plan 2\"}, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00005\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-02\", \"current_term_starts_at\": \"2020-01-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000282174\", \"event_time\": \"2020-01-07\", \"event_type\": \"subscription_downgraded\", \"created_time\": \"2020-01-07T15:51:11+0000\", \"event_source\": \"user\", \"event_time_formatted\": \"07/01/20\"}', '2020-01-07 15:51:11', '1974529000000282174'),
(297, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000112061\", \"expiry_year\": 2020, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber9@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Ninth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000112001\", \"company_name\": \"Ninth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Ninth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-10-14\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-14\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-14T12:35:44+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-14T06:09:32+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber9@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000112003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-14\", \"next_billing_at\": \"2020-02-14\", \"subscription_id\": \"1974529000000112024\", \"child_invoice_id\": \"1974529000000286001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00017\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-14\", \"current_term_starts_at\": \"2020-01-14\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000286070\", \"event_time\": \"2020-01-14\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-14T06:09:33+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"14/01/20\"}', '2020-01-14 06:09:33', '1974529000000286070'),
(303, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000151078\", \"expiry_year\": 2020, \"expiry_month\": 11, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber12@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber12\", \"first_name\": \"Esemdee\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000151018\", \"company_name\": \"esemdee subscriber12\", \"country_code\": \"\", \"display_name\": \"esemdee_subscriber12\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-11-18\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-11-18\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-11-18T12:16:54+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-18T06:09:23+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber12@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000151020\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-18\", \"next_billing_at\": \"2020-02-18\", \"subscription_id\": \"1974529000000151041\", \"child_invoice_id\": \"1974529000000294001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00021\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-18\", \"current_term_starts_at\": \"2020-01-18\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000294070\", \"event_time\": \"2020-01-18\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-18T06:09:23+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"18/01/20\"}', '2020-01-18 06:09:23', '1974529000000294070');
INSERT INTO `smd__transaction_log` (`transactionID`, `transactionData`, `createDate`, `zohoEventID`) VALUES
(309, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000090335\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber7@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Seventh\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000090275\", \"company_name\": \"Seventh Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Seventh Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-19\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-19\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-19T16:11:15+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-19T06:10:28+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber7@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000090277\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-19\", \"next_billing_at\": \"2020-02-19\", \"subscription_id\": \"1974529000000090298\", \"child_invoice_id\": \"1974529000000294179\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00010\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-19\", \"current_term_starts_at\": \"2020-01-19\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000294248\", \"event_time\": \"2020-01-19\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-19T06:10:28+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"19/01/20\"}', '2020-01-19 06:10:28', '1974529000000294248'),
(310, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000090061\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber6@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Sixth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000090001\", \"company_name\": \"Sixth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Sixth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-19\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-19\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-19T15:32:23+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-19T06:10:26+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber6@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000090003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-19\", \"next_billing_at\": \"2020-02-19\", \"subscription_id\": \"1974529000000090170\", \"child_invoice_id\": \"1974529000000294090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00009\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-19\", \"current_term_starts_at\": \"2020-01-19\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000294159\", \"event_time\": \"2020-01-19\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-19T06:10:26+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"19/01/20\"}', '2020-01-19 06:10:26', '1974529000000294159'),
(321, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000081063\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber4@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Fourth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000081001\", \"company_name\": \"Fourth Subscriber\", \"country_code\": \"\", \"display_name\": \"Fourth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-20T11:14:13+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-20T06:11:22+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber4@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000081003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-20\", \"next_billing_at\": \"2020-02-20\", \"subscription_id\": \"1974529000000090886\", \"child_invoice_id\": \"1974529000000300001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00012\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-20\", \"current_term_starts_at\": \"2020-01-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000300070\", \"event_time\": \"2020-01-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-20T06:11:23+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/01/20\"}', '2020-01-20 06:11:23', '1974529000000300070'),
(322, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073176\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber1@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"First\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072090\", \"company_name\": \"First Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"First Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-12-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-20T14:00:53+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-20T06:11:26+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber1@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072092\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-20\", \"next_billing_at\": \"2020-02-20\", \"subscription_id\": \"1974529000000243005\", \"child_invoice_id\": \"1974529000000300179\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00026\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-20\", \"current_term_starts_at\": \"2020-01-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000300248\", \"event_time\": \"2020-01-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-20T06:11:27+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/01/20\"}', '2020-01-20 06:11:27', '1974529000000300248'),
(323, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000093105\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber8@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Eighth \", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000093045\", \"company_name\": \"Eighth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Eighth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-20T11:47:01+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-20T06:11:24+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber8@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000093047\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-20\", \"next_billing_at\": \"2020-02-20\", \"subscription_id\": \"1974529000000093068\", \"child_invoice_id\": \"1974529000000300090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00013\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-20\", \"current_term_starts_at\": \"2020-01-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000300159\", \"event_time\": \"2020-01-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-20T06:11:25+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/01/20\"}', '2020-01-20 06:11:25', '1974529000000300159'),
(339, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000121061\", \"expiry_year\": 2020, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber11@esemdee.com\", \"website\": \"\", \"last_name\": \"Doe\", \"first_name\": \"John\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000121001\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"John Doe\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-10-21\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-21\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-21T15:48:10+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-21T06:12:44+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber11@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000121003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-21\", \"next_billing_at\": \"2020-02-21\", \"subscription_id\": \"1974529000000121024\", \"child_invoice_id\": \"1974529000000305001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00018\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"current_term_ends_at\": \"2020-02-21\", \"current_term_starts_at\": \"2020-01-21\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000305070\", \"event_time\": \"2020-01-21\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-21T06:12:45+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"21/01/20\"}', '2020-01-21 06:12:45', '1974529000000305070'),
(345, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000098061\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber10@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Tenth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000098001\", \"company_name\": \"Tenth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Tenth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-09-27\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-27\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-27T13:29:58+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-27T06:21:32+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber10@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000098003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-27\", \"next_billing_at\": \"2020-02-27\", \"subscription_id\": \"1974529000000098024\", \"child_invoice_id\": \"1974529000000313001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00014\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-02-27\", \"current_term_starts_at\": \"2020-01-27\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000313070\", \"event_time\": \"2020-01-27\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-27T06:21:32+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"27/01/20\"}', '2020-01-27 06:21:32', '1974529000000313070'),
(346, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000098193\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber5@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Fifth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000098133\", \"company_name\": \"Fifth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Fifth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-27\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-27\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-27T17:01:48+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-27T06:21:34+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber5@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000098135\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-27\", \"next_billing_at\": \"2020-02-27\", \"subscription_id\": \"1974529000000098156\", \"child_invoice_id\": \"1974529000000313090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00015\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-02-27\", \"current_term_starts_at\": \"2020-01-27\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000313159\", \"event_time\": \"2020-01-27\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-27T06:21:35+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"27/01/20\"}', '2020-01-27 06:21:35', '1974529000000313159'),
(357, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-10-28\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-28\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-28T07:42:50+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-01-28T06:22:35+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-01-28\", \"next_billing_at\": \"2020-02-28\", \"subscription_id\": \"1974529000000130005\", \"child_invoice_id\": \"1974529000000324001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00019\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-02-28\", \"current_term_starts_at\": \"2020-01-28\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000324070\", \"event_time\": \"2020-01-28\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-01-28T06:22:36+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"28/01/20\"}', '2020-01-28 06:22:36', '1974529000000324070'),
(363, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073396\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber3@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Third\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072116\", \"company_name\": \"Third Subscriber Ltd.\", \"country_code\": \"\", \"display_name\": \"Third Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:50:09+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-02T06:00:04+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber3@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072118\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-02\", \"next_billing_at\": \"2020-03-02\", \"subscription_id\": \"1974529000000073577\", \"child_invoice_id\": \"1974529000000331078\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00006\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-02\", \"current_term_starts_at\": \"2020-02-02\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000331147\", \"event_time\": \"2020-02-02\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-02T06:00:05+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"02/02/20\"}', '2020-02-02 06:00:05', '1974529000000331147');
INSERT INTO `smd__transaction_log` (`transactionID`, `transactionData`, `createDate`, `zohoEventID`) VALUES
(364, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073289\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 2\", \"plan\": {\"name\": \"Test Plan 2\", \"tags\": [], \"unit\": \"\", \"price\": 5, \"total\": 5, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072062\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan2\", \"setup_fee\": 0, \"description\": \"Test Plan 2\\n\\nNo Access to generic Templates\\nNo Access to Analytics\\nNo Access to Approval Workflow\\nNo Access to Autofeed\\nNo Access to Dashboard personalisation\\nNo Access to Link Shortening\\nNo Access to Categories at Media Library\\nNo Access to Tag at Media Library\\nNo Access to RSS feed\\nMax RSS URL number: 0\\nMax post from RSS number: 0\\nRSS Feed period: monthly\\nMax generic post-template number: 0\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 1}], \"addons\": [], \"amount\": 6, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber2@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Second\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072103\", \"company_name\": \"Second Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Second Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\"}, \"interval\": 1, \"sub_total\": 5, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:49:03+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-02T06:00:02+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber2@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072105\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-02\", \"next_billing_at\": \"2020-03-02\", \"subscription_id\": \"1974529000000073468\", \"child_invoice_id\": \"1974529000000331019\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00005\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-02\", \"current_term_starts_at\": \"2020-02-02\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000331060\", \"event_time\": \"2020-02-02\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-02T06:00:03+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"02/02/20\"}', '2020-02-02 06:00:03', '1974529000000331060'),
(365, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 1\", \"plan\": {\"name\": \"Test Plan 1\", \"tags\": [], \"unit\": \"\", \"price\": 19, \"total\": 19, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072033\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"Test_Plan_1\", \"setup_fee\": 0, \"description\": \"Test Plan 1\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 5\\nMax post from RSS number: 5\\nRSS Feed period: monthly\\nMax generic post-template number: 10\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 5\\n\\n\\n\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 3.8}], \"addons\": [], \"amount\": 22.8, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"\"}, \"interval\": 1, \"sub_total\": 19, \"created_at\": \"2019-10-03\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-03\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-03T14:09:16+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-03T06:01:24+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-03\", \"next_billing_at\": \"2020-03-03\", \"subscription_id\": \"1974529000000109013\", \"child_invoice_id\": \"1974529000000337001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00016\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-03\", \"current_term_starts_at\": \"2020-02-03\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000337070\", \"event_time\": \"2020-02-03\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-03T06:01:25+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"03/02/20\"}', '2020-02-03 06:01:25', '1974529000000337070'),
(366, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000207061\", \"expiry_year\": 2024, \"expiry_month\": 12, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"erdei.daniel@w5labs.com\", \"website\": \"\", \"last_name\": \"Erdei\", \"first_name\": \"Dániel\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000207015\", \"company_name\": \"W5labs\", \"country_code\": \"\", \"display_name\": \"W5labs\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"3254\", \"city\": \"sdgsdg\", \"phone\": \"\", \"state\": \"sdgs\", \"street\": \"sdgsdg\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"3254\", \"city\": \"sdgsdg\", \"phone\": \"\", \"state\": \"sdgs\", \"street\": \"sdgsdg\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-12-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-07T11:42:05+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-07T06:15:32+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"erdei.daniel@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000207017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-07\", \"next_billing_at\": \"2020-03-07\", \"subscription_id\": \"1974529000000207013\", \"child_invoice_id\": \"1974529000000340096\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00024\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-07\", \"current_term_starts_at\": \"2020-02-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000340165\", \"event_time\": \"2020-02-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-07T06:15:33+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/02/20\"}', '2020-02-07 06:15:33', '1974529000000340165'),
(367, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 4\", \"plan\": {\"name\": \"Test Plan 4\", \"tags\": [], \"unit\": \"\", \"price\": 40, \"total\": 40, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000080003\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan4\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 8.6}], \"addons\": [{\"name\": \"+1 Social Site\", \"tags\": [], \"unit\": \"\", \"price\": 3, \"total\": 3, \"tax_id\": \"1974529000000072021\", \"addon_id\": \"1974529000000072053\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"addon_code\": \"AddSocialSite1\", \"description\": \"Adding Users to extend Plans maximum allowed User number\\n\\nMax Social Sites Number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"item_custom_fields\": []}], \"amount\": 51.6, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"\"}, \"interval\": 1, \"sub_total\": 43, \"created_at\": \"2019-11-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-11-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-11-07T12:34:24+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-07T06:15:29+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-07\", \"next_billing_at\": \"2020-03-07\", \"subscription_id\": \"1974529000000137005\", \"child_invoice_id\": \"1974529000000340001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00020\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-07\", \"current_term_starts_at\": \"2020-02-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000340076\", \"event_time\": \"2020-02-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-07T06:15:30+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/02/20\"}', '2020-02-07 06:15:30', '1974529000000340076'),
(368, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000207176\", \"expiry_year\": 2024, \"expiry_month\": 12, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 1\", \"plan\": {\"name\": \"Test Plan 1\", \"tags\": [], \"unit\": \"\", \"price\": 19, \"total\": 19, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072033\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"Test_Plan_1\", \"setup_fee\": 0, \"description\": \"Test Plan 1\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 5\\nMax post from RSS number: 5\\nRSS Feed period: monthly\\nMax generic post-template number: 10\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 5\\n\\n\\n\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 3.8}], \"addons\": [], \"amount\": 22.8, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"daniel.erdei@w5.hu\", \"website\": \"\", \"last_name\": \"sfgqh\", \"first_name\": \"Erdeu\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000207155\", \"company_name\": \"Danika\", \"country_code\": \"\", \"display_name\": \"Danika\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"uigwsdfg\", \"city\": \"uhsdgf\", \"phone\": \"\", \"state\": \"iufg\", \"street\": \"wfjig\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"uigwsdfg\", \"city\": \"uhsdgf\", \"phone\": \"\", \"state\": \"iufg\", \"street\": \"wfjig\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"\"}, \"interval\": 1, \"sub_total\": 19, \"created_at\": \"2019-12-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-07T11:44:17+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-07T06:15:34+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"daniel.erdei@w5.hu\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000207157\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-07\", \"next_billing_at\": \"2020-03-07\", \"subscription_id\": \"1974529000000207153\", \"child_invoice_id\": \"1974529000000340185\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"2019-12-27\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"Friday\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00025\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-07\", \"current_term_starts_at\": \"2020-02-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000340254\", \"event_time\": \"2020-02-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-07T06:15:35+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/02/20\"}', '2020-02-07 06:15:35', '1974529000000340254'),
(384, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000112061\", \"expiry_year\": 2020, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber9@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Ninth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000112001\", \"company_name\": \"Ninth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Ninth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-10-14\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-14\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-14T12:35:44+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-14T06:11:12+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber9@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000112003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-14\", \"next_billing_at\": \"2020-03-14\", \"subscription_id\": \"1974529000000112024\", \"child_invoice_id\": \"1974529000000350013\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00017\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-14\", \"current_term_starts_at\": \"2020-02-14\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000350082\", \"event_time\": \"2020-02-14\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-14T06:11:13+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"14/02/20\"}', '2020-02-14 06:11:13', '1974529000000350082'),
(390, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000151078\", \"expiry_year\": 2020, \"expiry_month\": 11, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber12@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber12\", \"first_name\": \"Esemdee\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000151018\", \"company_name\": \"esemdee subscriber12\", \"country_code\": \"\", \"display_name\": \"esemdee_subscriber12\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-11-18\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-11-18\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-11-18T12:16:54+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-18T06:13:07+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber12@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000151020\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-18\", \"next_billing_at\": \"2020-03-18\", \"subscription_id\": \"1974529000000151041\", \"child_invoice_id\": \"1974529000000357001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00021\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-18\", \"current_term_starts_at\": \"2020-02-18\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000357070\", \"event_time\": \"2020-02-18\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-18T06:13:08+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"18/02/20\"}', '2020-02-18 06:13:08', '1974529000000357070'),
(396, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000090061\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber6@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Sixth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000090001\", \"company_name\": \"Sixth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Sixth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-19\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-19\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-19T15:32:23+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-19T06:15:32+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber6@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000090003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-19\", \"next_billing_at\": \"2020-03-19\", \"subscription_id\": \"1974529000000090170\", \"child_invoice_id\": \"1974529000000361007\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00009\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-19\", \"current_term_starts_at\": \"2020-02-19\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000361076\", \"event_time\": \"2020-02-19\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-19T06:15:33+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"19/02/20\"}', '2020-02-19 06:15:33', '1974529000000361076'),
(397, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000090335\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber7@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Seventh\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000090275\", \"company_name\": \"Seventh Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Seventh Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-19\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-19\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-19T16:11:15+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-19T06:15:34+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber7@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000090277\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-19\", \"next_billing_at\": \"2020-03-19\", \"subscription_id\": \"1974529000000090298\", \"child_invoice_id\": \"1974529000000361096\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00010\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-19\", \"current_term_starts_at\": \"2020-02-19\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000361165\", \"event_time\": \"2020-02-19\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-19T06:15:35+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"19/02/20\"}', '2020-02-19 06:15:35', '1974529000000361165'),
(408, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000081063\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber4@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Fourth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000081001\", \"company_name\": \"Fourth Subscriber\", \"country_code\": \"\", \"display_name\": \"Fourth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-20T11:14:13+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-20T06:16:58+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber4@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000081003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-20\", \"next_billing_at\": \"2020-03-20\", \"subscription_id\": \"1974529000000090886\", \"child_invoice_id\": \"1974529000000375001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00012\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-20\", \"current_term_starts_at\": \"2020-02-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000375070\", \"event_time\": \"2020-02-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-20T06:16:58+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/02/20\"}', '2020-02-20 06:16:58', '1974529000000375070');
INSERT INTO `smd__transaction_log` (`transactionID`, `transactionData`, `createDate`, `zohoEventID`) VALUES
(409, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073176\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber1@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"First\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072090\", \"company_name\": \"First Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"First Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-12-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-20T14:00:53+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-20T06:17:02+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber1@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072092\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-20\", \"next_billing_at\": \"2020-03-20\", \"subscription_id\": \"1974529000000243005\", \"child_invoice_id\": \"1974529000000375179\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00026\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-20\", \"current_term_starts_at\": \"2020-02-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000375248\", \"event_time\": \"2020-02-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-20T06:17:02+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/02/20\"}', '2020-02-20 06:17:02', '1974529000000375248'),
(410, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000093105\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber8@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Eighth \", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000093045\", \"company_name\": \"Eighth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Eighth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-20T11:47:01+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-20T06:17:00+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber8@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000093047\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-20\", \"next_billing_at\": \"2020-03-20\", \"subscription_id\": \"1974529000000093068\", \"child_invoice_id\": \"1974529000000375090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00013\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-20\", \"current_term_starts_at\": \"2020-02-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000375159\", \"event_time\": \"2020-02-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-20T06:17:00+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/02/20\"}', '2020-02-20 06:17:00', '1974529000000375159'),
(426, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000121061\", \"expiry_year\": 2020, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber11@esemdee.com\", \"website\": \"\", \"last_name\": \"Doe\", \"first_name\": \"John\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000121001\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"John Doe\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-10-21\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-21\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-21T15:48:10+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-21T06:03:03+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber11@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000121003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-21\", \"next_billing_at\": \"2020-03-21\", \"subscription_id\": \"1974529000000121024\", \"child_invoice_id\": \"1974529000000377001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00018\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-21\", \"current_term_starts_at\": \"2020-02-21\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000377070\", \"event_time\": \"2020-02-21\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-21T06:03:04+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"21/02/20\"}', '2020-02-21 06:03:04', '1974529000000377070'),
(432, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000098193\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber5@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Fifth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000098133\", \"company_name\": \"Fifth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Fifth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-27\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-27\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-27T17:01:48+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-27T06:27:59+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber5@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000098135\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-27\", \"next_billing_at\": \"2020-03-27\", \"subscription_id\": \"1974529000000098156\", \"child_invoice_id\": \"1974529000000387090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00015\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-27\", \"current_term_starts_at\": \"2020-02-27\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000387159\", \"event_time\": \"2020-02-27\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-27T06:28:02+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"27/02/20\"}', '2020-02-27 06:28:02', '1974529000000387159'),
(433, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000098061\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber10@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Tenth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000098001\", \"company_name\": \"Tenth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Tenth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-09-27\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-27\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-27T13:29:58+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-27T06:27:48+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber10@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000098003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-27\", \"next_billing_at\": \"2020-03-27\", \"subscription_id\": \"1974529000000098024\", \"child_invoice_id\": \"1974529000000387001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00014\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-27\", \"current_term_starts_at\": \"2020-02-27\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000387070\", \"event_time\": \"2020-02-27\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-27T06:27:52+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"27/02/20\"}', '2020-02-27 06:27:52', '1974529000000387070'),
(444, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-10-28\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-28\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-28T07:42:50+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-02-28T06:02:47+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-28\", \"next_billing_at\": \"2020-03-28\", \"subscription_id\": \"1974529000000130005\", \"child_invoice_id\": \"1974529000000386019\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00019\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-28\", \"current_term_starts_at\": \"2020-02-28\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000386088\", \"event_time\": \"2020-02-28\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-02-28T06:02:48+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"28/02/20\"}', '2020-02-28 06:02:48', '1974529000000386088'),
(450, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073396\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber3@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Third\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072116\", \"company_name\": \"Third Subscriber Ltd.\", \"country_code\": \"\", \"display_name\": \"Third Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:50:09+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-02T06:02:24+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber3@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072118\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-02\", \"next_billing_at\": \"2020-04-02\", \"subscription_id\": \"1974529000000073577\", \"child_invoice_id\": \"1974529000000397090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00006\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-02\", \"current_term_starts_at\": \"2020-03-02\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000397159\", \"event_time\": \"2020-03-02\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-02T06:02:25+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"02/03/20\"}', '2020-03-02 06:02:25', '1974529000000397159'),
(451, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073289\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 2\", \"plan\": {\"name\": \"Test Plan 2\", \"tags\": [], \"unit\": \"\", \"price\": 5, \"total\": 5, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072062\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan2\", \"setup_fee\": 0, \"description\": \"Test Plan 2\\n\\nNo Access to generic Templates\\nNo Access to Analytics\\nNo Access to Approval Workflow\\nNo Access to Autofeed\\nNo Access to Dashboard personalisation\\nNo Access to Link Shortening\\nNo Access to Categories at Media Library\\nNo Access to Tag at Media Library\\nNo Access to RSS feed\\nMax RSS URL number: 0\\nMax post from RSS number: 0\\nRSS Feed period: monthly\\nMax generic post-template number: 0\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 1}], \"addons\": [], \"amount\": 6, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber2@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Second\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072103\", \"company_name\": \"Second Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Second Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 5, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:49:03+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-02T06:02:21+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber2@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072105\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-02\", \"next_billing_at\": \"2020-04-02\", \"subscription_id\": \"1974529000000073468\", \"child_invoice_id\": \"1974529000000397019\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00005\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-02\", \"current_term_starts_at\": \"2020-03-02\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000397072\", \"event_time\": \"2020-03-02\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-02T06:02:22+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"02/03/20\"}', '2020-03-02 06:02:22', '1974529000000397072'),
(462, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 1\", \"plan\": {\"name\": \"Test Plan 1\", \"tags\": [], \"unit\": \"\", \"price\": 19, \"total\": 19, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072033\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"Test_Plan_1\", \"setup_fee\": 0, \"description\": \"Test Plan 1\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 5\\nMax post from RSS number: 5\\nRSS Feed period: monthly\\nMax generic post-template number: 10\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 5\\n\\n\\n\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 3.8}], \"addons\": [], \"amount\": 22.8, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 19, \"created_at\": \"2019-10-03\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-03\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-03T14:09:16+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-03T06:23:40+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-03\", \"next_billing_at\": \"2020-04-03\", \"subscription_id\": \"1974529000000109013\", \"child_invoice_id\": \"1974529000000405001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00016\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-03\", \"current_term_starts_at\": \"2020-03-03\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000405070\", \"event_time\": \"2020-03-03\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-03T06:23:41+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"03/03/20\"}', '2020-03-03 06:23:41', '1974529000000405070'),
(463, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 1\", \"plan\": {\"name\": \"Test Plan 1\", \"tags\": [], \"unit\": \"\", \"price\": 19, \"total\": 19, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072033\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"Test_Plan_1\", \"setup_fee\": 0, \"description\": \"Test Plan 1\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 5\\nMax post from RSS number: 5\\nRSS Feed period: monthly\\nMax generic post-template number: 10\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 5\\n\\n\\n\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 3.8}], \"addons\": [], \"amount\": 22.8, \"source\": \"user\", \"status\": \"cancelled\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 19, \"bcy_amount\": 22.8, \"created_at\": \"2019-10-03\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-03\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"cancelled_at\": \"2020-03-03\", \"created_time\": \"2019-10-03T14:09:16+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-03T07:27:26+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-03\", \"subscription_id\": \"1974529000000109013\", \"child_invoice_id\": \"1974529000000405001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"previous_attribute\": {\"total\": 0, \"status\": \"live\", \"plan_id\": \"1974529000000072033\", \"quantity\": 1, \"plan_code\": \"Test_Plan_1\", \"plan_name\": \"Test Plan 1\"}, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00016\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-03\", \"current_term_starts_at\": \"2020-03-03\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000406007\", \"event_time\": \"2020-03-03\", \"event_type\": \"subscription_cancelled\", \"created_time\": \"2020-03-03T07:27:26+0000\", \"event_source\": \"user\", \"event_time_formatted\": \"03/03/20\"}', '2020-03-03 07:27:26', '1974529000000406007');
INSERT INTO `smd__transaction_log` (`transactionID`, `transactionData`, `createDate`, `zohoEventID`) VALUES
(464, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"source\": \"user\", \"status\": \"cancelled\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"bcy_amount\": 24, \"created_at\": \"2019-10-28\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-28\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"cancelled_at\": \"2020-03-03\", \"created_time\": \"2019-10-28T07:42:50+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-03T07:27:27+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-28\", \"subscription_id\": \"1974529000000130005\", \"child_invoice_id\": \"1974529000000386019\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"previous_attribute\": {\"total\": 0, \"status\": \"live\", \"plan_id\": \"1974529000000089001\", \"quantity\": 1, \"plan_code\": \"TestPlan5\", \"plan_name\": \"Test Plan 5\"}, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00019\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-28\", \"current_term_starts_at\": \"2020-02-28\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000406049\", \"event_time\": \"2020-03-03\", \"event_type\": \"subscription_cancelled\", \"created_time\": \"2020-03-03T07:27:27+0000\", \"event_source\": \"user\", \"event_time_formatted\": \"03/03/20\"}', '2020-03-03 07:27:27', '1974529000000406049'),
(465, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000109065\", \"expiry_year\": 2024, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 4\", \"plan\": {\"name\": \"Test Plan 4\", \"tags\": [], \"unit\": \"\", \"price\": 40, \"total\": 40, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000080003\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan4\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 8.6}], \"addons\": [{\"name\": \"+1 Social Site\", \"tags\": [], \"unit\": \"\", \"price\": 3, \"total\": 3, \"tax_id\": \"1974529000000072021\", \"addon_id\": \"1974529000000072053\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"addon_code\": \"AddSocialSite1\", \"description\": \"Adding Users to extend Plans maximum allowed User number\\n\\nMax Social Sites Number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"item_custom_fields\": []}], \"amount\": 51.6, \"source\": \"user\", \"status\": \"cancelled\", \"customer\": {\"tags\": [], \"email\": \"varga.csaba@w5labs.com\", \"website\": \"\", \"last_name\": \"Teszt\", \"first_name\": \"Egy\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000109015\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"Egy Teszt\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"vat_treatment\": \"eu_vat_not_registered\", \"billing_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"7634\", \"city\": \"Pécs\", \"phone\": \"\", \"state\": \"Baranya\", \"street\": \"Magyarürögi út 33/1\", \"country\": \"Hungary\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 43, \"bcy_amount\": 51.6, \"created_at\": \"2019-11-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-11-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"cancelled_at\": \"2020-03-03\", \"created_time\": \"2019-11-07T12:34:24+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-03T07:27:28+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"eu_vat_not_registered\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"varga.csaba@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000109017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-02-07\", \"subscription_id\": \"1974529000000137005\", \"child_invoice_id\": \"1974529000000340001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"previous_attribute\": {\"total\": 0, \"status\": \"live\", \"plan_id\": \"1974529000000080003\", \"quantity\": 1, \"plan_code\": \"TestPlan4\", \"plan_name\": \"Test Plan 4\"}, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00020\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-03-07\", \"current_term_starts_at\": \"2020-02-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000406071\", \"event_time\": \"2020-03-03\", \"event_type\": \"subscription_cancelled\", \"created_time\": \"2020-03-03T07:27:28+0000\", \"event_source\": \"user\", \"event_time_formatted\": \"03/03/20\"}', '2020-03-03 07:27:28', '1974529000000406071'),
(466, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000207176\", \"expiry_year\": 2024, \"expiry_month\": 12, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 1\", \"plan\": {\"name\": \"Test Plan 1\", \"tags\": [], \"unit\": \"\", \"price\": 19, \"total\": 19, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072033\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"Test_Plan_1\", \"setup_fee\": 0, \"description\": \"Test Plan 1\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 5\\nMax post from RSS number: 5\\nRSS Feed period: monthly\\nMax generic post-template number: 10\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 5\\n\\n\\n\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 3.8}], \"addons\": [], \"amount\": 22.8, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"daniel.erdei@w5.hu\", \"website\": \"\", \"last_name\": \"sfgqh\", \"first_name\": \"Erdeu\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000207155\", \"company_name\": \"Danika\", \"country_code\": \"\", \"display_name\": \"Danika\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"uigwsdfg\", \"city\": \"uhsdgf\", \"phone\": \"\", \"state\": \"iufg\", \"street\": \"wfjig\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"uigwsdfg\", \"city\": \"uhsdgf\", \"phone\": \"\", \"state\": \"iufg\", \"street\": \"wfjig\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 19, \"created_at\": \"2019-12-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-07T11:44:17+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-07T06:10:35+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"daniel.erdei@w5.hu\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000207157\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-07\", \"next_billing_at\": \"2020-04-07\", \"subscription_id\": \"1974529000000207153\", \"child_invoice_id\": \"1974529000000407090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"2019-12-27\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"Friday\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00025\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-07\", \"current_term_starts_at\": \"2020-03-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000407159\", \"event_time\": \"2020-03-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-07T06:10:35+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/03/20\"}', '2020-03-07 06:10:35', '1974529000000407159'),
(467, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000207061\", \"expiry_year\": 2024, \"expiry_month\": 12, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"erdei.daniel@w5labs.com\", \"website\": \"\", \"last_name\": \"Erdei\", \"first_name\": \"Dániel\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000207015\", \"company_name\": \"W5labs\", \"country_code\": \"\", \"display_name\": \"W5labs\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"3254\", \"city\": \"sdgsdg\", \"phone\": \"\", \"state\": \"sdgs\", \"street\": \"sdgsdg\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"3254\", \"city\": \"sdgsdg\", \"phone\": \"\", \"state\": \"sdgs\", \"street\": \"sdgsdg\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-12-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-07T11:42:05+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-07T06:10:32+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"erdei.daniel@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000207017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-07\", \"next_billing_at\": \"2020-04-07\", \"subscription_id\": \"1974529000000207013\", \"child_invoice_id\": \"1974529000000407001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00024\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-07\", \"current_term_starts_at\": \"2020-03-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000407070\", \"event_time\": \"2020-03-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-07T06:10:33+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/03/20\"}', '2020-03-07 06:10:33', '1974529000000407070'),
(478, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000112061\", \"expiry_year\": 2020, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber9@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Ninth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000112001\", \"company_name\": \"Ninth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Ninth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-10-14\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-14\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-14T12:35:44+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-14T06:06:48+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber9@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000112003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-14\", \"next_billing_at\": \"2020-04-14\", \"subscription_id\": \"1974529000000112024\", \"child_invoice_id\": \"1974529000000413013\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00017\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-14\", \"current_term_starts_at\": \"2020-03-14\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000413082\", \"event_time\": \"2020-03-14\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-14T06:06:48+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"14/03/20\"}', '2020-03-14 06:06:48', '1974529000000413082'),
(479, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000151078\", \"expiry_year\": 2020, \"expiry_month\": 11, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber12@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber12\", \"first_name\": \"Esemdee\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000151018\", \"company_name\": \"esemdee subscriber12\", \"country_code\": \"\", \"display_name\": \"esemdee_subscriber12\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-11-18\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-11-18\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-11-18T12:16:54+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-18T06:12:11+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber12@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000151020\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-18\", \"next_billing_at\": \"2020-04-18\", \"subscription_id\": \"1974529000000151041\", \"child_invoice_id\": \"1974529000000421001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00021\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-18\", \"current_term_starts_at\": \"2020-03-18\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000421070\", \"event_time\": \"2020-03-18\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-18T06:12:12+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"18/03/20\"}', '2020-03-18 06:12:12', '1974529000000421070'),
(480, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000090061\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber6@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Sixth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000090001\", \"company_name\": \"Sixth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Sixth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-19\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-19\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-19T15:32:23+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-19T06:27:53+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber6@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000090003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-19\", \"next_billing_at\": \"2020-04-19\", \"subscription_id\": \"1974529000000090170\", \"child_invoice_id\": \"1974529000000423001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00009\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-19\", \"current_term_starts_at\": \"2020-03-19\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000423070\", \"event_time\": \"2020-03-19\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-19T06:27:54+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"19/03/20\"}', '2020-03-19 06:27:54', '1974529000000423070'),
(481, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000090335\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber7@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Seventh\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000090275\", \"company_name\": \"Seventh Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Seventh Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-19\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-19\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-19T16:11:15+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-19T06:27:56+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber7@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000090277\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-19\", \"next_billing_at\": \"2020-04-19\", \"subscription_id\": \"1974529000000090298\", \"child_invoice_id\": \"1974529000000423090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00010\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-19\", \"current_term_starts_at\": \"2020-03-19\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000423159\", \"event_time\": \"2020-03-19\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-19T06:27:56+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"19/03/20\"}', '2020-03-19 06:27:56', '1974529000000423159'),
(482, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000081063\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber4@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Fourth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000081001\", \"company_name\": \"Fourth Subscriber\", \"country_code\": \"\", \"display_name\": \"Fourth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-20T11:14:13+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-20T06:08:42+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber4@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000081003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-20\", \"next_billing_at\": \"2020-04-20\", \"subscription_id\": \"1974529000000090886\", \"child_invoice_id\": \"1974529000000426001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00012\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-20\", \"current_term_starts_at\": \"2020-03-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000426070\", \"event_time\": \"2020-03-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-20T06:08:43+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/03/20\"}', '2020-03-20 06:08:43', '1974529000000426070'),
(483, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000093105\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber8@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Eighth \", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000093045\", \"company_name\": \"Eighth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Eighth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-20T11:47:01+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-20T06:08:44+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber8@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000093047\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-20\", \"next_billing_at\": \"2020-04-20\", \"subscription_id\": \"1974529000000093068\", \"child_invoice_id\": \"1974529000000426090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00013\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-20\", \"current_term_starts_at\": \"2020-03-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000426159\", \"event_time\": \"2020-03-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-20T06:08:44+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/03/20\"}', '2020-03-20 06:08:44', '1974529000000426159');
INSERT INTO `smd__transaction_log` (`transactionID`, `transactionData`, `createDate`, `zohoEventID`) VALUES
(484, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073176\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber1@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"First\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072090\", \"company_name\": \"First Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"First Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-12-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-20T14:00:53+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-20T06:08:46+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber1@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072092\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-20\", \"next_billing_at\": \"2020-04-20\", \"subscription_id\": \"1974529000000243005\", \"child_invoice_id\": \"1974529000000426179\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00026\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-20\", \"current_term_starts_at\": \"2020-03-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000426248\", \"event_time\": \"2020-03-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-20T06:08:46+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/03/20\"}', '2020-03-20 06:08:46', '1974529000000426248'),
(485, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000121061\", \"expiry_year\": 2020, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber11@esemdee.com\", \"website\": \"\", \"last_name\": \"Doe\", \"first_name\": \"John\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000121001\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"John Doe\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-10-21\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-21\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-21T15:48:10+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-21T06:09:56+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber11@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000121003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-21\", \"next_billing_at\": \"2020-04-21\", \"subscription_id\": \"1974529000000121024\", \"child_invoice_id\": \"1974529000000426268\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00018\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-21\", \"current_term_starts_at\": \"2020-03-21\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000426337\", \"event_time\": \"2020-03-21\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-21T06:09:57+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"21/03/20\"}', '2020-03-21 06:09:57', '1974529000000426337'),
(486, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000098061\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber10@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Tenth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000098001\", \"company_name\": \"Tenth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Tenth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-09-27\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-27\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-27T13:29:58+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-27T06:16:32+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber10@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000098003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-27\", \"next_billing_at\": \"2020-04-27\", \"subscription_id\": \"1974529000000098024\", \"child_invoice_id\": \"1974529000000430001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00014\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-27\", \"current_term_starts_at\": \"2020-03-27\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000430070\", \"event_time\": \"2020-03-27\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-27T06:16:33+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"27/03/20\"}', '2020-03-27 06:16:33', '1974529000000430070'),
(487, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000098193\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber5@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Fifth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000098133\", \"company_name\": \"Fifth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Fifth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-27\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-27\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-27T17:01:48+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-03-27T06:16:34+0000\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber5@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000098135\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-03-27\", \"next_billing_at\": \"2020-04-27\", \"subscription_id\": \"1974529000000098156\", \"child_invoice_id\": \"1974529000000430090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00015\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-04-27\", \"current_term_starts_at\": \"2020-03-27\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000430159\", \"event_time\": \"2020-03-27\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-03-27T06:16:34+0000\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"27/03/20\"}', '2020-03-27 06:16:34', '1974529000000430159'),
(498, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073396\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber3@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Third\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072116\", \"company_name\": \"Third Subscriber Ltd.\", \"country_code\": \"\", \"display_name\": \"Third Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:50:09+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-02T06:28:51+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber3@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072118\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-02\", \"next_billing_at\": \"2020-05-02\", \"subscription_id\": \"1974529000000073577\", \"child_invoice_id\": \"1974529000000440072\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00006\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-02\", \"current_term_starts_at\": \"2020-04-02\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000440141\", \"event_time\": \"2020-04-02\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-02T06:28:51+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"02/04/20\"}', '2020-04-02 05:28:51', '1974529000000440141'),
(499, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073289\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 2\", \"plan\": {\"name\": \"Test Plan 2\", \"tags\": [], \"unit\": \"\", \"price\": 5, \"total\": 5, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072062\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan2\", \"setup_fee\": 0, \"description\": \"Test Plan 2\\n\\nNo Access to generic Templates\\nNo Access to Analytics\\nNo Access to Approval Workflow\\nNo Access to Autofeed\\nNo Access to Dashboard personalisation\\nNo Access to Link Shortening\\nNo Access to Categories at Media Library\\nNo Access to Tag at Media Library\\nNo Access to RSS feed\\nMax RSS URL number: 0\\nMax post from RSS number: 0\\nRSS Feed period: monthly\\nMax generic post-template number: 0\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 1}], \"addons\": [], \"amount\": 6, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber2@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Second\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072103\", \"company_name\": \"Second Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Second Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 5, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:49:03+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-02T06:28:49+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber2@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072105\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-02\", \"next_billing_at\": \"2020-05-02\", \"subscription_id\": \"1974529000000073468\", \"child_invoice_id\": \"1974529000000440013\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00005\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-02\", \"current_term_starts_at\": \"2020-04-02\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000440054\", \"event_time\": \"2020-04-02\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-02T06:28:49+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"02/04/20\"}', '2020-04-02 05:28:49', '1974529000000440054'),
(510, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000207061\", \"expiry_year\": 2024, \"expiry_month\": 12, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"erdei.daniel@w5labs.com\", \"website\": \"\", \"last_name\": \"Erdei\", \"first_name\": \"Dániel\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000207015\", \"company_name\": \"W5labs\", \"country_code\": \"\", \"display_name\": \"W5labs\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"3254\", \"city\": \"sdgsdg\", \"phone\": \"\", \"state\": \"sdgs\", \"street\": \"sdgsdg\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"3254\", \"city\": \"sdgsdg\", \"phone\": \"\", \"state\": \"sdgs\", \"street\": \"sdgsdg\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-12-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-07T11:42:05+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-07T06:12:34+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"erdei.daniel@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000207017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-07\", \"next_billing_at\": \"2020-05-07\", \"subscription_id\": \"1974529000000207013\", \"child_invoice_id\": \"1974529000000448001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00024\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-07\", \"current_term_starts_at\": \"2020-04-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000448070\", \"event_time\": \"2020-04-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-07T06:12:35+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/04/20\"}', '2020-04-07 05:12:35', '1974529000000448070'),
(511, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000207176\", \"expiry_year\": 2024, \"expiry_month\": 12, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 1\", \"plan\": {\"name\": \"Test Plan 1\", \"tags\": [], \"unit\": \"\", \"price\": 19, \"total\": 19, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072033\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"Test_Plan_1\", \"setup_fee\": 0, \"description\": \"Test Plan 1\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 5\\nMax post from RSS number: 5\\nRSS Feed period: monthly\\nMax generic post-template number: 10\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 5\\n\\n\\n\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 3.8}], \"addons\": [], \"amount\": 22.8, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"daniel.erdei@w5.hu\", \"website\": \"\", \"last_name\": \"sfgqh\", \"first_name\": \"Erdeu\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000207155\", \"company_name\": \"Danika\", \"country_code\": \"\", \"display_name\": \"Danika\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"uigwsdfg\", \"city\": \"uhsdgf\", \"phone\": \"\", \"state\": \"iufg\", \"street\": \"wfjig\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"uigwsdfg\", \"city\": \"uhsdgf\", \"phone\": \"\", \"state\": \"iufg\", \"street\": \"wfjig\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 19, \"created_at\": \"2019-12-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-07T11:44:17+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-07T06:12:36+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"daniel.erdei@w5.hu\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000207157\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-07\", \"next_billing_at\": \"2020-05-07\", \"subscription_id\": \"1974529000000207153\", \"child_invoice_id\": \"1974529000000448090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"2019-12-27\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"Friday\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00025\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-07\", \"current_term_starts_at\": \"2020-04-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000448159\", \"event_time\": \"2020-04-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-07T06:12:37+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/04/20\"}', '2020-04-07 05:12:37', '1974529000000448159'),
(522, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000112061\", \"expiry_year\": 2020, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber9@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Ninth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000112001\", \"company_name\": \"Ninth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Ninth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-10-14\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-14\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-14T12:35:44+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-14T06:23:57+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber9@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000112003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-14\", \"next_billing_at\": \"2020-05-14\", \"subscription_id\": \"1974529000000112024\", \"child_invoice_id\": \"1974529000000456013\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00017\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-14\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-14\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000456082\", \"event_time\": \"2020-04-14\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-14T06:23:58+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"14/04/20\"}', '2020-04-14 05:23:58', '1974529000000456082'),
(523, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000151078\", \"expiry_year\": 2020, \"expiry_month\": 11, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber12@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber12\", \"first_name\": \"Esemdee\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000151018\", \"company_name\": \"esemdee subscriber12\", \"country_code\": \"\", \"display_name\": \"esemdee_subscriber12\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-11-18\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-11-18\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-11-18T12:16:54+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-18T06:09:50+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber12@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000151020\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-18\", \"next_billing_at\": \"2020-05-18\", \"subscription_id\": \"1974529000000151041\", \"child_invoice_id\": \"1974529000000458021\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00021\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-18\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-18\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000458090\", \"event_time\": \"2020-04-18\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-18T06:09:51+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"18/04/20\"}', '2020-04-18 05:09:51', '1974529000000458090');
INSERT INTO `smd__transaction_log` (`transactionID`, `transactionData`, `createDate`, `zohoEventID`) VALUES
(524, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000090061\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber6@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Sixth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000090001\", \"company_name\": \"Sixth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Sixth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-19\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-19\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-19T15:32:23+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-19T06:11:19+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber6@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000090003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-19\", \"next_billing_at\": \"2020-05-19\", \"subscription_id\": \"1974529000000090170\", \"child_invoice_id\": \"1974529000000459007\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00009\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-19\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-19\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000459076\", \"event_time\": \"2020-04-19\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-19T06:11:20+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"19/04/20\"}', '2020-04-19 05:11:20', '1974529000000459076'),
(525, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000090335\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber7@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Seventh\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000090275\", \"company_name\": \"Seventh Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Seventh Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-19\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-19\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-19T16:11:15+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-19T06:11:21+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber7@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000090277\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-19\", \"next_billing_at\": \"2020-05-19\", \"subscription_id\": \"1974529000000090298\", \"child_invoice_id\": \"1974529000000459096\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00010\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-19\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-19\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000459165\", \"event_time\": \"2020-04-19\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-19T06:11:22+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"19/04/20\"}', '2020-04-19 05:11:22', '1974529000000459165'),
(526, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000081063\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber4@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Fourth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000081001\", \"company_name\": \"Fourth Subscriber\", \"country_code\": \"\", \"display_name\": \"Fourth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-20T11:14:13+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-20T06:12:51+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber4@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000081003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-20\", \"next_billing_at\": \"2020-05-20\", \"subscription_id\": \"1974529000000090886\", \"child_invoice_id\": \"1974529000000459185\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00012\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-20\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000459254\", \"event_time\": \"2020-04-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-20T06:12:52+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/04/20\"}', '2020-04-20 05:12:52', '1974529000000459254'),
(527, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073176\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber1@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"First\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072090\", \"company_name\": \"First Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"First Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-12-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-20T14:00:53+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-20T06:12:56+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber1@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072092\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-20\", \"next_billing_at\": \"2020-05-20\", \"subscription_id\": \"1974529000000243005\", \"child_invoice_id\": \"1974529000000459363\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00026\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-20\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000459432\", \"event_time\": \"2020-04-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-20T06:12:56+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/04/20\"}', '2020-04-20 05:12:56', '1974529000000459432'),
(528, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000093105\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber8@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Eighth \", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000093045\", \"company_name\": \"Eighth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Eighth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-20\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-20\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-20T11:47:01+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-20T06:12:53+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber8@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000093047\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-20\", \"next_billing_at\": \"2020-05-20\", \"subscription_id\": \"1974529000000093068\", \"child_invoice_id\": \"1974529000000459274\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00013\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-20\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-20\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000459343\", \"event_time\": \"2020-04-20\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-20T06:12:54+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"20/04/20\"}', '2020-04-20 05:12:54', '1974529000000459343'),
(544, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000121061\", \"expiry_year\": 2020, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber11@esemdee.com\", \"website\": \"\", \"last_name\": \"Doe\", \"first_name\": \"John\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000121001\", \"company_name\": \"\", \"country_code\": \"\", \"display_name\": \"John Doe\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-10-21\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-21\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-21T15:48:10+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-21T06:14:41+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber11@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000121003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-21\", \"next_billing_at\": \"2020-05-21\", \"subscription_id\": \"1974529000000121024\", \"child_invoice_id\": \"1974529000000466013\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00018\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-21\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-21\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000466082\", \"event_time\": \"2020-04-21\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-21T06:14:42+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"21/04/20\"}', '2020-04-21 05:14:42', '1974529000000466082'),
(545, '{\"data\": {\"subscription\": {\"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 0, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 50, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 0}], \"addons\": [], \"amount\": 0, \"coupon\": {\"coupon_code\": \"PLAN3-3MOFF\", \"discount_amount\": 50}, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"norbert.juhasz.uk+5@gmail.com\", \"website\": \"\", \"last_name\": \"Elek\", \"first_name\": \"Test\", \"ip_address\": \"54.85.112.125\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000469002\", \"company_name\": \"TestElek Ltd\", \"country_code\": \"\", \"display_name\": \"Test Elek\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 0, \"created_at\": \"2020-04-21\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2020-04-21\", \"auto_collect\": false, \"billing_mode\": \"prepaid\", \"created_time\": \"2020-04-21T13:22:35+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-21T13:22:36+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"norbert.juhasz.uk+5@gmail.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000469004\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": 2, \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-21\", \"next_billing_at\": \"2020-05-21\", \"subscription_id\": \"1974529000000472001\", \"child_invoice_id\": \"1974529000000472015\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00027\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-21\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-21\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000472048\", \"event_time\": \"2020-04-21\", \"event_type\": \"subscription_activation\", \"created_time\": \"2020-04-21T13:22:36+0100\", \"event_source\": \"api\", \"event_time_formatted\": \"21/04/20\"}', '2020-04-21 12:22:36', '1974529000000472048'),
(551, '{\"data\": {\"subscription\": {\"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 0, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 50, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 0}], \"addons\": [], \"amount\": 0, \"coupon\": {\"coupon_code\": \"PLAN3-3MOFF\", \"discount_amount\": 50}, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"csak.noriss81@gmail.com\", \"website\": \"\", \"last_name\": \"Csak\", \"first_name\": \"Noriss\", \"ip_address\": \"52.6.82.82\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000472108\", \"company_name\": \"Csak Noriss Ltd\", \"country_code\": \"\", \"display_name\": \"Csak Noriss Ltd\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6ub\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"5 Test street\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 0, \"created_at\": \"2020-04-22\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2020-04-22\", \"auto_collect\": false, \"billing_mode\": \"prepaid\", \"created_time\": \"2020-04-22T18:58:45+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-22T18:58:45+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"csak.noriss81@gmail.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000472110\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": 2, \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-22\", \"next_billing_at\": \"2020-05-22\", \"subscription_id\": \"1974529000000471009\", \"child_invoice_id\": \"1974529000000471023\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00028\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-22\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-22\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000471056\", \"event_time\": \"2020-04-22\", \"event_type\": \"subscription_activation\", \"created_time\": \"2020-04-22T18:58:45+0100\", \"event_source\": \"api\", \"event_time_formatted\": \"22/04/20\"}', '2020-04-22 17:58:45', '1974529000000471056'),
(552, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000098193\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 5\", \"plan\": {\"name\": \"Test Plan 5\", \"tags\": [], \"unit\": \"\", \"price\": 20, \"total\": 20, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000089001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan5\", \"setup_fee\": 0, \"description\": \"Access to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 1\\nMax post from RSS number: 1\\nRSS Feed period: monthly\\nMax generic post-template number: 1\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 4}], \"addons\": [], \"amount\": 24, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber5@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Fifth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000098133\", \"company_name\": \"Fifth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Fifth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 20, \"created_at\": \"2019-09-27\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-27\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-27T17:01:48+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-27T06:25:27+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber5@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000098135\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-27\", \"next_billing_at\": \"2020-05-27\", \"subscription_id\": \"1974529000000098156\", \"child_invoice_id\": \"1974529000000482090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00015\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-27\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-27\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000482159\", \"event_time\": \"2020-04-27\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-27T06:25:28+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"27/04/20\"}', '2020-04-27 05:25:28', '1974529000000482159'),
(553, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000098061\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber10@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Tenth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000098001\", \"company_name\": \"Tenth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Tenth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-09-27\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-27\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-27T13:29:58+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-04-27T06:25:16+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber10@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000098003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-27\", \"next_billing_at\": \"2020-05-27\", \"subscription_id\": \"1974529000000098024\", \"child_invoice_id\": \"1974529000000482001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00014\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-27\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-27\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000482070\", \"event_time\": \"2020-04-27\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-04-27T06:25:17+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"27/04/20\"}', '2020-04-27 05:25:17', '1974529000000482070');
INSERT INTO `smd__transaction_log` (`transactionID`, `transactionData`, `createDate`, `zohoEventID`) VALUES
(564, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073396\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber3@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Third\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072116\", \"company_name\": \"Third Subscriber Ltd.\", \"country_code\": \"\", \"display_name\": \"Third Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:50:09+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-05-02T06:23:40+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber3@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072118\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-05-02\", \"next_billing_at\": \"2020-06-02\", \"subscription_id\": \"1974529000000073577\", \"child_invoice_id\": \"1974529000000486112\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00006\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-06-02\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-05-02\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000486181\", \"event_time\": \"2020-05-02\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-05-02T06:23:41+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"02/05/20\"}', '2020-05-02 05:23:41', '1974529000000486181'),
(565, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000073289\", \"expiry_year\": 2020, \"expiry_month\": 9, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 2\", \"plan\": {\"name\": \"Test Plan 2\", \"tags\": [], \"unit\": \"\", \"price\": 5, \"total\": 5, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072062\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan2\", \"setup_fee\": 0, \"description\": \"Test Plan 2\\n\\nNo Access to generic Templates\\nNo Access to Analytics\\nNo Access to Approval Workflow\\nNo Access to Autofeed\\nNo Access to Dashboard personalisation\\nNo Access to Link Shortening\\nNo Access to Categories at Media Library\\nNo Access to Tag at Media Library\\nNo Access to RSS feed\\nMax RSS URL number: 0\\nMax post from RSS number: 0\\nRSS Feed period: monthly\\nMax generic post-template number: 0\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 1\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 1}], \"addons\": [], \"amount\": 6, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber2@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Second\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"Mr.\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000072103\", \"company_name\": \"Second Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Second Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6UB\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"200 Brook Drive\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 5, \"created_at\": \"2019-09-02\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-09-02\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-09-02T16:49:03+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-05-02T06:23:37+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber2@esemdee.com\", \"phone\": \"\", \"mobile\": \"01189253239\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000072105\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-05-02\", \"next_billing_at\": \"2020-06-02\", \"subscription_id\": \"1974529000000073468\", \"child_invoice_id\": \"1974529000000486013\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00005\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-06-02\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-05-02\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000486092\", \"event_time\": \"2020-05-02\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-05-02T06:23:38+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"02/05/20\"}', '2020-05-02 05:23:38', '1974529000000486092'),
(566, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000207176\", \"expiry_year\": 2024, \"expiry_month\": 12, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 1\", \"plan\": {\"name\": \"Test Plan 1\", \"tags\": [], \"unit\": \"\", \"price\": 19, \"total\": 19, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072033\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"Test_Plan_1\", \"setup_fee\": 0, \"description\": \"Test Plan 1\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: 5\\nMax post from RSS number: 5\\nRSS Feed period: monthly\\nMax generic post-template number: 10\\nPost template period: monthly\\nMax User number: 1\\nMax Social Sites number: 5\\n\\n\\n\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 3.8}], \"addons\": [], \"amount\": 22.8, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"daniel.erdei@w5.hu\", \"website\": \"\", \"last_name\": \"sfgqh\", \"first_name\": \"Erdeu\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000207155\", \"company_name\": \"Danika\", \"country_code\": \"\", \"display_name\": \"Danika\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"uigwsdfg\", \"city\": \"uhsdgf\", \"phone\": \"\", \"state\": \"iufg\", \"street\": \"wfjig\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"uigwsdfg\", \"city\": \"uhsdgf\", \"phone\": \"\", \"state\": \"iufg\", \"street\": \"wfjig\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 19, \"created_at\": \"2019-12-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-07T11:44:17+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-05-07T06:10:27+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"daniel.erdei@w5.hu\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000207157\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-05-07\", \"next_billing_at\": \"2020-06-07\", \"subscription_id\": \"1974529000000207153\", \"child_invoice_id\": \"1974529000000490090\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"2019-12-27\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"Friday\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00025\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-06-07\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-05-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000490159\", \"event_time\": \"2020-05-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-05-07T06:10:28+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/05/20\"}', '2020-05-07 05:10:28', '1974529000000490159'),
(567, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000207061\", \"expiry_year\": 2024, \"expiry_month\": 12, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"erdei.daniel@w5labs.com\", \"website\": \"\", \"last_name\": \"Erdei\", \"first_name\": \"Dániel\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000207015\", \"company_name\": \"W5labs\", \"country_code\": \"\", \"display_name\": \"W5labs\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"3254\", \"city\": \"sdgsdg\", \"phone\": \"\", \"state\": \"sdgs\", \"street\": \"sdgsdg\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"3254\", \"city\": \"sdgsdg\", \"phone\": \"\", \"state\": \"sdgs\", \"street\": \"sdgsdg\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-12-07\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-12-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-12-07T11:42:05+0000\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-05-07T06:10:24+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"erdei.daniel@w5labs.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000207017\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-05-07\", \"next_billing_at\": \"2020-06-07\", \"subscription_id\": \"1974529000000207013\", \"child_invoice_id\": \"1974529000000490001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00024\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-06-07\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-05-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000490070\", \"event_time\": \"2020-05-07\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-05-07T06:10:25+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"07/05/20\"}', '2020-05-07 05:10:25', '1974529000000490070'),
(570, '{\"data\": {\"subscription\": {\"name\": \"Esemdee Test Product 1-Lejárós\", \"plan\": {\"name\": \"Lejárós\", \"tags\": [], \"unit\": \"\", \"price\": 0, \"total\": 0, \"tax_id\": \"\", \"plan_id\": \"1974529000000492001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"\", \"tax_type\": \"tax\", \"plan_code\": \"LEJAROS15\", \"setup_fee\": 0, \"description\": \"\", \"product_type\": \"\", \"tax_percentage\": 0, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [], \"addons\": [], \"amount\": 0, \"status\": \"trial\", \"customer\": {\"tags\": [], \"email\": \"me@erdeidaniel.hu\", \"website\": \"\", \"last_name\": \"Dancsika\", \"first_name\": \"Erdei\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000492010\", \"company_name\": \"W5lábas\", \"country_code\": \"\", \"display_name\": \"Erdei Dancsika\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 0, \"created_at\": \"2020-05-07\", \"expires_at\": \"2021-05-17\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2020-05-17\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2020-05-07T13:39:33+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-05-07T13:39:33+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"years\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"trial_ends_at\": \"2020-05-17\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"me@erdeidaniel.hu\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000492012\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"next_billing_at\": \"2020-05-17\", \"subscription_id\": \"1974529000000492023\", \"trial_starts_at\": \"2020-05-07\", \"is_inclusive_tax\": false, \"items_associated\": [], \"next_shipment_at\": \"2020-05-17\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"next_shipment_day\": \"Sunday\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00030\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-17\", \"trial_remaining_days\": 10, \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-05-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": 1}}, \"event_id\": \"1974529000000492035\", \"event_time\": \"2020-05-07\", \"event_type\": \"subscription_created\", \"created_time\": \"2020-05-07T13:39:33+0100\", \"event_source\": \"user\", \"event_time_formatted\": \"07/05/20\"}', '2020-05-07 12:39:33', '1974529000000492035'),
(571, '{\"data\": {\"subscription\": {\"name\": \"Esemdee Test Product 1-Lejárós\", \"plan\": {\"name\": \"Lejárós\", \"tags\": [], \"unit\": \"\", \"price\": 0, \"total\": 0, \"tax_id\": \"\", \"plan_id\": \"1974529000000492001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"\", \"tax_type\": \"tax\", \"plan_code\": \"LEJAROS15\", \"setup_fee\": 0, \"description\": \"\", \"product_type\": \"\", \"tax_percentage\": 0, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [], \"addons\": [], \"amount\": 0, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"me@erdeidaniel.hu\", \"website\": \"\", \"last_name\": \"Dancsika\", \"first_name\": \"Erdei\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000492010\", \"company_name\": \"W5lábas\", \"country_code\": \"\", \"display_name\": \"Erdei Dancsika\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 0, \"created_at\": \"2020-05-07\", \"expires_at\": \"2020-11-07\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2020-05-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2020-05-07T14:22:37+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-05-07T14:22:37+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"me@erdeidaniel.hu\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000492012\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"\", \"next_billing_at\": \"2020-06-07\", \"subscription_id\": \"1974529000000492155\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00032\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-06-07\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-05-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": 5}}, \"event_id\": \"1974529000000492169\", \"event_time\": \"2020-05-07\", \"event_type\": \"subscription_activation\", \"created_time\": \"2020-05-07T14:22:38+0100\", \"event_source\": \"user\", \"event_time_formatted\": \"07/05/20\"}', '2020-05-07 13:22:38', '1974529000000492169'),
(572, '{\"data\": {\"subscription\": {\"name\": \"Esemdee Test Product 1-Lejárós\", \"plan\": {\"name\": \"Lejárós\", \"tags\": [], \"unit\": \"\", \"price\": 0, \"total\": 0, \"tax_id\": \"\", \"plan_id\": \"1974529000000492001\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"\", \"tax_type\": \"tax\", \"plan_code\": \"LEJAROS15\", \"setup_fee\": 0, \"description\": \"\", \"product_type\": \"\", \"tax_percentage\": 0, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [], \"addons\": [], \"amount\": 0, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"me@erdeidaniel.hu\", \"website\": \"\", \"last_name\": \"Dancsika\", \"first_name\": \"Erdei\", \"ip_address\": \"89.135.6.192\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000492010\", \"company_name\": \"W5lábas\", \"country_code\": \"\", \"display_name\": \"Erdei Dancsika\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 0, \"created_at\": \"2020-05-07\", \"expires_at\": \"2021-05-07\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2020-05-07\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2020-05-07T15:44:21+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-05-07T15:44:21+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"years\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"me@erdeidaniel.hu\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000492012\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"\", \"next_billing_at\": \"\", \"subscription_id\": \"1974529000000498023\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00033\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2021-05-07\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-05-07\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": 0}}, \"event_id\": \"1974529000000498037\", \"event_time\": \"2020-05-07\", \"event_type\": \"subscription_activation\", \"created_time\": \"2020-05-07T15:44:21+0100\", \"event_source\": \"user\", \"event_time_formatted\": \"07/05/20\"}', '2020-05-07 14:44:21', '1974529000000498037'),
(573, '{\"data\": {\"subscription\": {\"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"source\": \"user\", \"status\": \"cancelled\", \"customer\": {\"tags\": [], \"email\": \"csak.noriss81@gmail.com\", \"website\": \"\", \"last_name\": \"Csak\", \"first_name\": \"Noriss\", \"ip_address\": \"52.6.82.82\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000472108\", \"company_name\": \"Csak Noriss Ltd\", \"country_code\": \"\", \"display_name\": \"Csak Noriss Ltd\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6ub\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"5 Test street\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"bcy_amount\": 0, \"created_at\": \"2020-04-22\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2020-04-22\", \"auto_collect\": false, \"billing_mode\": \"prepaid\", \"cancelled_at\": \"2020-05-11\", \"created_time\": \"2020-04-22T18:58:45+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-05-11T16:48:39+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"csak.noriss81@gmail.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000472110\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": 2, \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-04-22\", \"subscription_id\": \"1974529000000471009\", \"child_invoice_id\": \"1974529000000471023\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"previous_attribute\": {\"total\": 0, \"status\": \"live\", \"plan_id\": \"1974529000000072071\", \"quantity\": 1, \"plan_code\": \"TestPlan3\", \"plan_name\": \"Test Plan 3\"}, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00028\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-05-22\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-04-22\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000505009\", \"event_time\": \"2020-05-11\", \"event_type\": \"subscription_cancelled\", \"created_time\": \"2020-05-11T16:48:40+0100\", \"event_source\": \"user\", \"event_time_formatted\": \"11/05/20\"}', '2020-05-11 15:48:40', '1974529000000505009'),
(574, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000505068\", \"expiry_year\": 2021, \"expiry_month\": 5, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"csak.noriss81@gmail.com\", \"website\": \"\", \"last_name\": \"Csak\", \"first_name\": \"Noriss\", \"ip_address\": \"52.6.82.82\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000472108\", \"company_name\": \"Csak Noriss Ltd\", \"country_code\": \"\", \"display_name\": \"Csak Noriss Ltd\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"RG2 6ub\", \"city\": \"Reading\", \"phone\": \"\", \"state\": \"Berkshire\", \"street\": \"5 Test street\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2020-05-11\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2020-05-11\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2020-05-11T16:54:59+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-05-11T16:55:00+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"csak.noriss81@gmail.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000472110\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-05-11\", \"next_billing_at\": \"2020-06-11\", \"subscription_id\": \"1974529000000505035\", \"child_invoice_id\": \"1974529000000505043\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due On Receipt\", \"subscription_number\": \"SUB-00034\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-06-11\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-05-11\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000505110\", \"event_time\": \"2020-05-11\", \"event_type\": \"subscription_activation\", \"created_time\": \"2020-05-11T16:55:00+0100\", \"event_source\": \"user\", \"event_time_formatted\": \"11/05/20\"}', '2020-05-11 15:55:00', '1974529000000505110'),
(580, '{\"data\": {\"subscription\": {\"card\": {\"card_id\": \"1974529000000112061\", \"expiry_year\": 2020, \"expiry_month\": 10, \"gateway_card_id\": \"\", \"payment_gateway\": \"test_gateway\", \"last_four_digits\": \"1111\", \"gateway_customer_id\": \"\"}, \"name\": \"Esemdee Test Product 1-Test Plan 3\", \"plan\": {\"name\": \"Test Plan 3\", \"tags\": [], \"unit\": \"\", \"price\": 50, \"total\": 50, \"tax_id\": \"1974529000000072021\", \"plan_id\": \"1974529000000072071\", \"discount\": 0, \"quantity\": 1, \"tax_name\": \"Standard Rate\", \"tax_type\": \"tax\", \"plan_code\": \"TestPlan3\", \"setup_fee\": 0, \"description\": \"Test Plan 3\\n\\nAccess to generic Templates\\nAccess to Analytics\\nAccess to Approval Workflow\\nAccess to Autofeed\\nAccess to Dashboard personalisation\\nAccess to Link Shortening\\nAccess to Categories at Media Library\\nAccess to Tag at Media Library\\nAccess to RSS feed\\nMax RSS URL number: unlimited\\nMax post from RSS number: unlimited\\nRSS Feed period: monthly\\nMax generic post-template number: unlimited\\nPost template period: monthly\\nMax User number: unlimited\\nMax Social Sites number: unlimited\", \"product_type\": \"\", \"tax_percentage\": 20, \"setup_fee_tax_id\": \"\", \"item_custom_fields\": [], \"setup_fee_tax_name\": \"\", \"setup_fee_tax_type\": \"\", \"setup_fee_tax_percentage\": \"\"}, \"notes\": [], \"taxes\": [{\"tax_id\": \"1974529000000072021\", \"tax_name\": \"Standard Rate (20%)\", \"tax_amount\": 10}], \"addons\": [], \"amount\": 60, \"status\": \"live\", \"customer\": {\"tags\": [], \"email\": \"esemdee_subscriber9@esemdee.com\", \"website\": \"\", \"last_name\": \"Subscriber\", \"first_name\": \"Ninth\", \"ip_address\": \"90.152.2.6\", \"salutation\": \"\", \"tax_reg_no\": \"\", \"vat_reg_no\": \"\", \"customer_id\": \"1974529000000112001\", \"company_name\": \"Ninth Subscriber Ltd\", \"country_code\": \"\", \"display_name\": \"Ninth Subscriber\", \"custom_fields\": [], \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"vat_treatment\": \"uk\", \"billing_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"zcrm_account_id\": \"\", \"zcrm_contact_id\": \"\", \"shipping_address\": {\"fax\": \"\", \"zip\": \"\", \"city\": \"\", \"phone\": \"\", \"state\": \"\", \"street\": \"\", \"country\": \"United Kingdom\", \"street2\": \"\", \"attention\": \"\"}, \"custom_field_hash\": [], \"channel_customer_id\": \"\", \"payment_terms_label\": \"Due on Receipt\", \"channel_reference_id\": \"\"}, \"interval\": 1, \"sub_total\": 50, \"created_at\": \"2019-10-14\", \"expires_at\": \"\", \"product_id\": \"1974529000000068079\", \"end_of_term\": false, \"activated_at\": \"2019-10-14\", \"auto_collect\": true, \"billing_mode\": \"prepaid\", \"created_time\": \"2019-10-14T12:35:44+0100\", \"crm_owner_id\": \"\", \"pricebook_id\": \"\", \"product_name\": \"Esemdee Test Product 1\", \"reference_id\": \"\", \"total_orders\": 0, \"updated_time\": \"2020-05-14T06:23:48+0100\", \"currency_code\": \"GBP\", \"custom_fields\": [], \"exchange_rate\": 1, \"interval_unit\": \"months\", \"payment_terms\": 0, \"tax_treatment\": \"uk\", \"channel_source\": \"app\", \"contactpersons\": [{\"email\": \"esemdee_subscriber9@esemdee.com\", \"phone\": \"\", \"mobile\": \"\", \"zcrm_contact_id\": \"\", \"contactperson_id\": \"1974529000000112003\"}], \"orders_created\": 0, \"salesperson_id\": \"\", \"coupon_duration\": \"\", \"currency_symbol\": \"£\", \"last_billing_at\": \"2020-05-14\", \"next_billing_at\": \"2020-06-14\", \"subscription_id\": \"1974529000000112024\", \"child_invoice_id\": \"1974529000000514001\", \"is_inclusive_tax\": false, \"items_associated\": [], \"last_shipment_at\": \"\", \"next_shipment_at\": \"\", \"orders_remaining\": 0, \"payment_gateways\": [{\"payment_gateway\": \"test_gateway\"}], \"salesperson_name\": \"\", \"custom_field_hash\": [], \"last_shipment_day\": \"\", \"next_shipment_day\": \"\", \"shipping_interval\": 1, \"zcrm_potential_id\": \"\", \"auto_apply_credits\": [], \"is_metered_billing\": false, \"payment_terms_label\": \"Due on Receipt\", \"subscription_number\": \"SUB-00017\", \"zcrm_potential_name\": \"\", \"can_add_bank_account\": false, \"channel_reference_id\": \"\", \"current_term_ends_at\": \"2020-06-14\", \"allow_partial_payments\": false, \"current_term_starts_at\": \"2020-05-14\", \"shipping_interval_unit\": \"months\", \"remaining_billing_cycles\": -1}}, \"event_id\": \"1974529000000514070\", \"event_time\": \"2020-05-14\", \"event_type\": \"subscription_renewed\", \"created_time\": \"2020-05-14T06:23:49+0100\", \"event_source\": \"scheduler\", \"event_time_formatted\": \"14/05/20\"}', '2020-05-14 05:23:49', '1974529000000514070');
