Skip to content

Instantly share code, notes, and snippets.

@lalatgithub
Created July 29, 2018 08:50
Show Gist options
  • Save lalatgithub/a976d2959ec6f56a70e94494d5629051 to your computer and use it in GitHub Desktop.
Save lalatgithub/a976d2959ec6f56a70e94494d5629051 to your computer and use it in GitHub Desktop.
{
"id": "in_1CtAW6EJm399uiqN75nU7uDk",
"object": "invoice",
"amount_due": 210,
"amount_paid": 0,
"amount_remaining": 210,
"application_fee": null,
"attempt_count": 0,
"attempted": false,
"auto_advance": true,
"billing": "send_invoice",
"billing_reason": "manual",
"charge": null,
"closed": false,
"currency": "usd",
"customer": "cus_DJSdISO5KBLZXu",
"date": 1532853882,
"description": "Invoice for My Birthday",
"discount": null,
"due_date": 1535445882,
"ending_balance": null,
"forgiven": false,
"hosted_invoice_url": null,
"invoice_pdf": null,
"lines": {
"object": "list",
"data": [
{
"id": "ii_1CtAW3EJm399uiqNdUxUwOBW",
"object": "line_item",
"amount": 100,
"currency": "usd",
"description": "2018-07-29 - 1 - SE - 100.00/fixed",
"discountable": true,
"invoice_item": "ii_1CtAW3EJm399uiqNdUxUwOBW",
"livemode": false,
"metadata": {
},
"period": {
"end": 1532853879,
"start": 1532853879
},
"plan": null,
"proration": false,
"quantity": 1,
"subscription": null,
"type": "invoiceitem"
},
{
"id": "ii_1CtAW1EJm399uiqNJl5M4KkY",
"object": "line_item",
"amount": 10,
"currency": "usd",
"description": "2018-07-29 - 1.00 - PM - 10.00/hourly",
"discountable": true,
"invoice_item": "ii_1CtAW1EJm399uiqNJl5M4KkY",
"livemode": false,
"metadata": {
},
"period": {
"end": 1532853877,
"start": 1532853877
},
"plan": null,
"proration": false,
"quantity": 1,
"subscription": null,
"type": "invoiceitem"
},
{
"id": "ii_1CtAVzEJm399uiqNDGEzO2XD",
"object": "line_item",
"amount": 100,
"currency": "usd",
"description": "2018-07-29 - 1 - SE - 100.00/fixed",
"discountable": true,
"invoice_item": "ii_1CtAVzEJm399uiqNDGEzO2XD",
"livemode": false,
"metadata": {
},
"period": {
"end": 1532853875,
"start": 1532853875
},
"plan": null,
"proration": false,
"quantity": 1,
"subscription": null,
"type": "invoiceitem"
},
{
"id": "ii_1CtAVxEJm399uiqNU1sdxBlx",
"object": "line_item",
"amount": 0,
"currency": "usd",
"description": "2018-07-29 - 0.50 - PM - 10.00/hourly",
"discountable": true,
"invoice_item": "ii_1CtAVxEJm399uiqNU1sdxBlx",
"livemode": false,
"metadata": {
},
"period": {
"end": 1532853873,
"start": 1532853873
},
"plan": null,
"proration": false,
"quantity": 0,
"subscription": null,
"type": "invoiceitem"
}
],
"has_more": false,
"total_count": 4,
"url": "/v1/invoices/in_1CtAW6EJm399uiqN75nU7uDk/lines"
},
"livemode": false,
"metadata": {
},
"next_payment_attempt": null,
"number": "259901C-0012",
"paid": false,
"period_end": 1532853882,
"period_start": 1532853882,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": null,
"subtotal": 210,
"tax": null,
"tax_percent": null,
"total": 210,
"webhooks_delivered_at": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment