Created
November 1, 2018 17:19
-
-
Save everdance/c46ce254a3a376208e8e5d66354d0053 to your computer and use it in GitHub Desktop.
invoice
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$": { | |
"href": "" | |
}, | |
"account": { | |
"$": { | |
"href": "https://fubotv.recurly.com/v2/accounts/5bdb2049913ba56461567485" | |
} | |
}, | |
"address": { | |
"address1": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"address2": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"city": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"state": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"zip": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"country": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"phone": { | |
"$": { | |
"nil": "nil" | |
} | |
} | |
}, | |
"plan": { | |
"$": { | |
"href": "https://fubotv.recurly.com/v2/plans/fubo-extra" | |
}, | |
"plan_code": "fubo-extra", | |
"name": "fubo Extra" | |
}, | |
"auto_renew": { | |
"_": "true", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"renewal_billing_cycles": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"current_term_started_at": { | |
"_": "2018-11-01T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"current_term_ends_at": { | |
"_": "2018-12-31T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"revenue_schedule_type": "evenly", | |
"uuid": "483f01879439fe7846fa0e4a03b60cb2", | |
"state": "active", | |
"unit_amount_in_cents": { | |
"_": "4999", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"currency": "USD", | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"activated_at": { | |
"_": "2018-11-01T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"canceled_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"expires_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"updated_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"total_billing_cycles": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"remaining_billing_cycles": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"current_period_started_at": { | |
"_": "2018-11-01T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"current_period_ends_at": { | |
"_": "2018-12-31T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"trial_started_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"trial_ends_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"terms_and_conditions": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"customer_notes": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"started_with_gift": { | |
"_": "false", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"converted_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"imported_trial": { | |
"_": "false", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"paused_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"remaining_pause_cycles": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"no_billing_info_reason": "", | |
"cost_in_cents": { | |
"_": "5999", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"po_number": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"net_terms": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"collection_method": "manual", | |
"subscription_add_ons": { | |
"$": { | |
"type": "array" | |
}, | |
"subscription_add_on": [ | |
{ | |
"add_on_type": "fixed", | |
"add_on_code": "advanced-dvr", | |
"unit_amount_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"revenue_schedule_type": "evenly" | |
}, | |
{ | |
"add_on_type": "fixed", | |
"add_on_code": "third-screen", | |
"unit_amount_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"revenue_schedule_type": "evenly" | |
}, | |
{ | |
"add_on_type": "fixed", | |
"add_on_code": "showtime", | |
"unit_amount_in_cents": { | |
"_": "1000", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"revenue_schedule_type": "evenly" | |
} | |
] | |
}, | |
"custom_fields": { | |
"$": { | |
"type": "array" | |
} | |
}, | |
"invoice_collection": { | |
"charge_invoice": { | |
"account": { | |
"$": { | |
"href": "https://fubotv.recurly.com/v2/accounts/5bdb2049913ba56461567485" | |
} | |
}, | |
"address": { | |
"address1": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"address2": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"city": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"state": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"zip": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"country": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"phone": { | |
"$": { | |
"nil": "nil" | |
} | |
} | |
}, | |
"uuid": "483f018879e6a826d714d44ce5b6a770", | |
"state": "pending", | |
"invoice_number_prefix": "", | |
"invoice_number": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"vat_number": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"tax_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"total_in_cents": { | |
"_": "6998", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"currency": "USD", | |
"created_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"updated_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"attempt_next_collection_at": { | |
"_": "2018-11-02T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"closed_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"customer_notes": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"recovery_reason": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"subtotal_before_discount_in_cents": { | |
"_": "11998", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"subtotal_in_cents": { | |
"_": "6998", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"discount_in_cents": { | |
"_": "5000", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"due_on": { | |
"_": "2018-11-02T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"net_terms": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"collection_method": "manual", | |
"po_number": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"terms_and_conditions": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"line_items": { | |
"$": { | |
"type": "array" | |
}, | |
"adjustment": [ | |
{ | |
"$": { | |
"type": "charge" | |
}, | |
"account": { | |
"$": { | |
"href": "https://fubotv.recurly.com/v2/accounts/5bdb2049913ba56461567485" | |
} | |
}, | |
"uuid": "483f01886c5da085d147f44282862b55", | |
"state": "pending", | |
"description": "fubo Extra", | |
"accounting_code": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"product_code": "fubo-extra", | |
"origin": "plan", | |
"unit_amount_in_cents": { | |
"_": "9998", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"discount_in_cents": { | |
"_": "5000", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"tax_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"total_in_cents": { | |
"_": "4998", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"currency": "USD", | |
"proration_rate": { | |
"_": "2.0", | |
"$": { | |
"type": "float" | |
} | |
}, | |
"taxable": { | |
"_": "false", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"start_date": { | |
"_": "2018-11-01T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"end_date": { | |
"_": "2018-12-31T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"created_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"updated_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"revenue_schedule_type": "evenly" | |
}, | |
{ | |
"$": { | |
"type": "charge" | |
}, | |
"account": { | |
"$": { | |
"href": "https://fubotv.recurly.com/v2/accounts/5bdb2049913ba56461567485" | |
} | |
}, | |
"uuid": "483f01886f820f90b4f54a48dfb92463", | |
"state": "pending", | |
"description": "Cloud DVR Plus", | |
"accounting_code": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"product_code": "advanced-dvr", | |
"origin": "add_on", | |
"unit_amount_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"discount_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"tax_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"total_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"currency": "USD", | |
"proration_rate": { | |
"_": "2.0", | |
"$": { | |
"type": "float" | |
} | |
}, | |
"taxable": { | |
"_": "false", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"start_date": { | |
"_": "2018-11-01T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"end_date": { | |
"_": "2018-12-31T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"created_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"updated_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"revenue_schedule_type": "evenly" | |
}, | |
{ | |
"$": { | |
"type": "charge" | |
}, | |
"account": { | |
"$": { | |
"href": "https://fubotv.recurly.com/v2/accounts/5bdb2049913ba56461567485" | |
} | |
}, | |
"uuid": "483f0188711c3aa651b2034839afa189", | |
"state": "pending", | |
"description": "Family Share", | |
"accounting_code": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"product_code": "third-screen", | |
"origin": "add_on", | |
"unit_amount_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"discount_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"tax_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"total_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"currency": "USD", | |
"proration_rate": { | |
"_": "2.0", | |
"$": { | |
"type": "float" | |
} | |
}, | |
"taxable": { | |
"_": "false", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"start_date": { | |
"_": "2018-11-01T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"end_date": { | |
"_": "2018-12-31T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"created_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"updated_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"revenue_schedule_type": "evenly" | |
}, | |
{ | |
"$": { | |
"type": "charge" | |
}, | |
"account": { | |
"$": { | |
"href": "https://fubotv.recurly.com/v2/accounts/5bdb2049913ba56461567485" | |
} | |
}, | |
"uuid": "483f0188738eaea4517a3542c8b01fd3", | |
"state": "pending", | |
"description": "SHOWTIME", | |
"accounting_code": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"product_code": "showtime", | |
"origin": "add_on", | |
"unit_amount_in_cents": { | |
"_": "2000", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"discount_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"tax_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"total_in_cents": { | |
"_": "2000", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"currency": "USD", | |
"proration_rate": { | |
"_": "2.0", | |
"$": { | |
"type": "float" | |
} | |
}, | |
"taxable": { | |
"_": "false", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"start_date": { | |
"_": "2018-11-01T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"end_date": { | |
"_": "2018-12-31T16:58:30Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"created_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"updated_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"revenue_schedule_type": "evenly" | |
} | |
] | |
}, | |
"transactions": { | |
"$": { | |
"type": "array" | |
} | |
} | |
}, | |
"credit_invoices": { | |
"$": { | |
"type": "array" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment