Last active
November 1, 2018 17:17
-
-
Save everdance/134f459ec2a176256b69ad53acc85beb to your computer and use it in GitHub Desktop.
invoice
This file contains 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/5bda406979b087753eb32f5b" | |
} | |
}, | |
"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-10-31T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"current_term_ends_at": { | |
"_": "2019-01-01T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"revenue_schedule_type": "evenly", | |
"uuid": "483b576530c896719e1dcf4662a03aee", | |
"state": "active", | |
"unit_amount_in_cents": { | |
"_": "4999", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"currency": "USD", | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"activated_at": { | |
"_": "2018-10-31T23:53:48Z", | |
"$": { | |
"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-10-31T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"current_period_ends_at": { | |
"_": "2019-01-01T23:53:48Z", | |
"$": { | |
"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/5bda406979b087753eb32f5b" | |
} | |
}, | |
"address": { | |
"address1": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"address2": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"city": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"state": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"zip": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"country": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"phone": { | |
"$": { | |
"nil": "nil" | |
} | |
} | |
}, | |
"uuid": "483b5765f9186628792fba46d4a4ab37", | |
"state": "pending", | |
"invoice_number_prefix": "", | |
"invoice_number": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"vat_number": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"tax_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"total_in_cents": { | |
"_": "7231", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"currency": "USD", | |
"created_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"updated_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"attempt_next_collection_at": { | |
"_": "2018-11-01T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"closed_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"customer_notes": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"recovery_reason": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"subtotal_before_discount_in_cents": { | |
"_": "12398", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"subtotal_in_cents": { | |
"_": "7231", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"discount_in_cents": { | |
"_": "5167", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"due_on": { | |
"_": "2018-11-01T23:53:48Z", | |
"$": { | |
"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/5bda406979b087753eb32f5b" | |
} | |
}, | |
"uuid": "483b5765ee252d0ba8db4c4f4fb9e75b", | |
"state": "pending", | |
"description": "fubo Extra", | |
"accounting_code": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"product_code": "fubo-extra", | |
"origin": "plan", | |
"unit_amount_in_cents": { | |
"_": "10331", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"discount_in_cents": { | |
"_": "5167", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"tax_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"total_in_cents": { | |
"_": "5164", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"currency": "USD", | |
"proration_rate": { | |
"_": "2.0667", | |
"$": { | |
"type": "float" | |
} | |
}, | |
"taxable": { | |
"_": "false", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"start_date": { | |
"_": "2018-10-31T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"end_date": { | |
"_": "2019-01-01T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"created_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"updated_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"revenue_schedule_type": "evenly" | |
}, | |
{ | |
"$": { | |
"type": "charge" | |
}, | |
"account": { | |
"$": { | |
"href": "https://fubotv.recurly.com/v2/accounts/5bda406979b087753eb32f5b" | |
} | |
}, | |
"uuid": "483b5765f0a1ff0594887d48d2861a7a", | |
"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.0667", | |
"$": { | |
"type": "float" | |
} | |
}, | |
"taxable": { | |
"_": "false", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"start_date": { | |
"_": "2018-10-31T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"end_date": { | |
"_": "2019-01-01T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"created_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"updated_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"revenue_schedule_type": "evenly" | |
}, | |
{ | |
"$": { | |
"type": "charge" | |
}, | |
"account": { | |
"$": { | |
"href": "https://fubotv.recurly.com/v2/accounts/5bda406979b087753eb32f5b" | |
} | |
}, | |
"uuid": "483b5765f2c6533fe6763144d88c73f7", | |
"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.0667", | |
"$": { | |
"type": "float" | |
} | |
}, | |
"taxable": { | |
"_": "false", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"start_date": { | |
"_": "2018-10-31T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"end_date": { | |
"_": "2019-01-01T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"created_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"updated_at": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"revenue_schedule_type": "evenly" | |
}, | |
{ | |
"$": { | |
"type": "charge" | |
}, | |
"account": { | |
"$": { | |
"href": "https://fubotv.recurly.com/v2/accounts/5bda406979b087753eb32f5b" | |
} | |
}, | |
"uuid": "483b5765f5a85cbf9e69c14a4dad8d46", | |
"state": "pending", | |
"description": "SHOWTIME", | |
"accounting_code": { | |
"$": { | |
"nil": "nil" | |
} | |
}, | |
"product_code": "showtime", | |
"origin": "add_on", | |
"unit_amount_in_cents": { | |
"_": "2067", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"quantity": { | |
"_": "1", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"discount_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"tax_in_cents": { | |
"_": "0", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"total_in_cents": { | |
"_": "2067", | |
"$": { | |
"type": "integer" | |
} | |
}, | |
"currency": "USD", | |
"proration_rate": { | |
"_": "2.0667", | |
"$": { | |
"type": "float" | |
} | |
}, | |
"taxable": { | |
"_": "false", | |
"$": { | |
"type": "boolean" | |
} | |
}, | |
"start_date": { | |
"_": "2018-10-31T23:53:48Z", | |
"$": { | |
"type": "datetime" | |
} | |
}, | |
"end_date": { | |
"_": "2019-01-01T23:53:48Z", | |
"$": { | |
"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