Prorated item addition invoice

{ "object": "List", "data": [ { "object": "Invoice", "id": "Aggregator_AB_1517263163548-00000002", "billing_service_period_start": "2018-01-17T00:00:00-08:00", "billing_service_period_end": "2018-02-16T00:00:00-08:00", "due_date": "2018-02-16T00:00:00-08:00", "invoice_date": "2018-01-17T00:00:00-08:00", "status": "Paid", "invoice_currency": "AUD", "invoice_balance": 0, "gross_charges_total": 20, "tax_charges_total": 0, "credit_total": 0, "payments_received_total": 20, "invoice_line_items": { "object": "List", "data": [ { "object": "InvoiceItem", "index_number": 0, "type": "RecurringCharge", "sku": "Monthly_unlimited", "description": "Foxtel Now Monthly Bill Cycle", "quantity": 1, "unit_amount": 0, "tax_classification": null, "item_added": "2018-01-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-01-17T00:00:00-08:00", "item_serviceperiod_end": "2018-02-16T00:00:00-08:00" }, { "object": "InvoiceItem", "index_number": 1, "type": "RecurringCharge", "sku": "991151", "description": "Docos pack", "quantity": 1, "unit_amount": 10, "tax_classification": null, "item_added": "2018-01-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-01-17T00:00:00-08:00", "item_serviceperiod_end": "2018-02-16T00:00:00-08:00", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991151", "vid": "69429c1a934109a662d28f27df3cd7398742f538" } }, { "object": "InvoiceItem", "index_number": 2, "type": "RecurringCharge", "sku": "991152", "description": "Kids pack", "quantity": 1, "unit_amount": 10, "tax_classification": null, "item_added": "2018-01-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-01-17T00:00:00-08:00", "item_serviceperiod_end": "2018-02-16T00:00:00-08:00", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991152", "vid": "2eb1f8e3c041698d359ce7ae5154328a2abf60c4" } } ], "total_count": 3 }, "invoice_tax_items": { "object": "List", "data": [ { "object": "InvoiceItem", "index_number": 3, "type": "Tax", "sku": "VIN_SALES_TAX", "description": "Sales Tax Total", "quantity": 1, "unit_amount": 0, "tax_classification": "TaxExempt", "item_added": "2018-01-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-01-17T00:00:00-08:00", "item_serviceperiod_end": "2018-02-16T00:00:00-08:00" }, { "object": "InvoiceItem", "index_number": 4, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_0", "description": "Total", "quantity": 1, "unit_amount": 0, "tax_classification": "TaxExempt", "item_added": "2018-01-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-01-17T00:00:00-08:00", "item_serviceperiod_end": "2018-02-16T00:00:00-08:00" }, { "object": "InvoiceItem", "index_number": 5, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_1", "description": "Total", "quantity": 1, "unit_amount": 0, "tax_classification": "TaxExempt", "item_added": "2018-01-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-01-17T00:00:00-08:00", "item_serviceperiod_end": "2018-02-16T00:00:00-08:00", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991151", "vid": "69429c1a934109a662d28f27df3cd7398742f538" } }, { "object": "InvoiceItem", "index_number": 6, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_2", "description": "Total", "quantity": 1, "unit_amount": 0, "tax_classification": "TaxExempt", "item_added": "2018-01-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-01-17T00:00:00-08:00", "item_serviceperiod_end": "2018-02-16T00:00:00-08:00", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991152", "vid": "2eb1f8e3c041698d359ce7ae5154328a2abf60c4" } } ], "total_count": 4 }, "invoice_payments": { "object": "List", "data": [ { "object": "Transaction", "id": "FOXTEL_MIGR_TX_1517263163548", "vid": "aadc90cf8d75dff72476f6965d347fe4d7b68352", "created": "2017-12-17T01:30:40-08:00", "amount": 20, "currency": "AUD", "account": { "object": "Account", "id": "1513638273260", "vid": "fcbd81d0959e795c766cff2b1150610f6f4e26a4", "created": "2017-12-18T15:04:34-08:00", "default_currency": "AUD", "email": "nkidman@aullywood.au", "email_type": "html", "name": "Nicole Kidman", "shipping_address": { "object": "Address", "vid": "90716c4cedd106ccd0bb403ee6caada875dbdb0a", "line1": " SUITE 109", "line2": "FLOOR 5 240 WANDALOO ESP", "city": "NEW CANBERRA", "district": "WA", "postal_code": "1234", "country": "AU", "phone": "2340689829" }, "payment_methods": { "object": "List", "data": [ { "object": "PaymentMethod", "id": "PM_MAP_1513638273260", "vid": "43e5c9fd89568e107be9565a364fe25b0767e652", "created": "2017-12-18T15:04:34-08:00", "type": "MerchantAcceptedPayment", "merchant_accepted_payment": { "object": "MerchantAcceptedPayment", "amount": 0, "currency": "USD", "created": "2017-12-18T15:04:34-08:00", "payment_type": "TELCOBILL", "account": "XXX" }, "primary": true, "active": true } ], "total_count": 1 } }, "source_payment_method": { "object": "PaymentMethod", "id": "PM_MAP_TELSTRA1517263163844", "vid": "415b7e659cffd822a63269f39e0410af7937276a", "created": "2018-01-29T13:59:32-08:00", "type": "MerchantAcceptedPayment", "merchant_accepted_payment": { "object": "MerchantAcceptedPayment", "amount": 1, "currency": "USD", "created": "2018-01-29T13:59:32-08:00", "payment_type": "TELSTRA", "account": "XXX" }, "primary": false, "active": false }, "status_log": { "object": "List", "data": [ { "object": "TransactionStatus", "status": "Captured", "created": "2017-12-17T01:30:40-08:00", "payment_method_type": "MerchantAcceptedPayment" } ], "total_count": 1 }, "shipping_address": { "object": "Address", "vid": "90716c4cedd106ccd0bb403ee6caada875dbdb0a", "line1": " SUITE 109", "line2": "FLOOR 5 240 WANDALOO ESP", "city": "NEW CANBERRA", "district": "WA", "postal_code": "1234", "country": "AU", "phone": "2340689829" }, "metadata": { "vin:RetryNumber": "0", "vin:MigrationDate": "2018-01-29 13:59:32", "vin:BillingCycle": "2" }, "items": { "object": "List", "data": [ { "object": "TransactionItem", "sku": "Monthly_unlimited", "index_number": 1, "item_type": "Purchase", "name": "Foxtel Now Monthly Bill Cycle", "quantity": 1, "tax_classification": null, "service_period_starts": "2018-01-17T00:00:00-08:00", "service_period_ends": "2018-02-16T00:00:00-08:00", "tax_type": "Exclusive Sales", "total": 0 }, { "object": "TransactionItem", "sku": "991151", "index_number": 2, "item_type": "Purchase", "name": "Docos pack", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991151", "vid": "69429c1a934109a662d28f27df3cd7398742f538" }, "price": 10, "quantity": 1, "tax_classification": null, "service_period_starts": "2018-01-17T00:00:00-08:00", "service_period_ends": "2018-02-16T00:00:00-08:00", "tax_type": "Exclusive Sales", "subtotal": 10, "total": 10 }, { "object": "TransactionItem", "sku": "991152", "index_number": 3, "item_type": "Purchase", "name": "Kids pack", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991152", "vid": "2eb1f8e3c041698d359ce7ae5154328a2abf60c4" }, "price": 10, "quantity": 1, "tax_classification": null, "service_period_starts": "2018-01-17T00:00:00-08:00", "service_period_ends": "2018-02-16T00:00:00-08:00", "tax_type": "Exclusive Sales", "subtotal": 10, "total": 10 }, { "object": "TransactionItem", "sku": "Total Tax", "index_number": 4, "item_type": "Purchase", "name": "Total Tax", "price": 0, "quantity": 1, "tax_classification": "TaxExempt", "service_period_starts": "2018-01-17T00:00:00-08:00", "service_period_ends": "2018-02-16T00:00:00-08:00", "tax_type": "Exclusive Sales", "discount": 0, "subtotal": 0, "total": 0 } ], "total_count": 4 }, "billing_attempt": 0, "subscription": { "object": "Subscription", "id": "Aggregator_AB_1517263163548", "vid": "5b85ddafe5476b93dac89d35a6b5bfb1c23b2428" } } ], "total_count": 1 }, "account": { "object": "Account", "id": "1513638273260", "vid": "fcbd81d0959e795c766cff2b1150610f6f4e26a4" }, "subscription": { "object": "Subscription", "id": "Aggregator_AB_1517263163548", "vid": "5b85ddafe5476b93dac89d35a6b5bfb1c23b2428" }, "billing_sequence": 2 }, { "object": "Invoice", "id": "Aggregator_AB_1517263163548-00000003", "billing_service_period_start": "2018-02-17T00:00:00-08:00", "billing_service_period_end": "2018-03-16T00:00:00-07:00", "due_date": "2018-03-19T00:00:00-07:00", "invoice_date": "2018-02-17T00:00:00-08:00", "status": "Due", "invoice_currency": "AUD", "invoice_balance": 44.19, "gross_charges_total": 44.19, "tax_charges_total": 4.02, "credit_total": 0, "payments_received_total": 0, "invoice_line_items": { "object": "List", "data": [ { "object": "InvoiceItem", "index_number": 0, "type": "NonRecurringCharge", "sku": "991149 prorated", "description": "Drama pack", "quantity": 1, "unit_amount": 9.19, "tax_classification": "DV017194", "item_added": "2018-01-29T14:08:54-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Aggregator_AB_1517263163548_1517263733756", "vid": "34d9db4ca57df7f8a33b0926d3e92665d6bbadeb" } }, { "object": "InvoiceItem", "index_number": 1, "type": "RecurringCharge", "sku": "Monthly_unlimited", "description": "Foxtel Now Monthly Bill Cycle", "quantity": 1, "unit_amount": 0, "tax_classification": "DV017194", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00" }, { "object": "InvoiceItem", "index_number": 2, "type": "RecurringCharge", "sku": "991151", "description": "Docos Pack", "quantity": 1, "unit_amount": 10, "tax_classification": "DV017194", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991151", "vid": "69429c1a934109a662d28f27df3cd7398742f538" } }, { "object": "InvoiceItem", "index_number": 3, "type": "RecurringCharge", "sku": "991152", "description": "Kids pack", "quantity": 1, "unit_amount": 10, "tax_classification": "DV017194", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991152", "vid": "2eb1f8e3c041698d359ce7ae5154328a2abf60c4" } }, { "object": "InvoiceItem", "index_number": 4, "type": "RecurringCharge", "sku": "991149", "description": "Drama pack", "quantity": 1, "unit_amount": 15, "tax_classification": "DV017194", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Aggregator_AB_1517263163548_1517263733756", "vid": "34d9db4ca57df7f8a33b0926d3e92665d6bbadeb" } } ], "total_count": 5 }, "invoice_tax_items": { "object": "List", "data": [ { "object": "InvoiceItem", "index_number": 5, "type": "Tax", "sku": "VIN_SALES_TAX", "description": "Inclusive Sales Tax Total", "quantity": 1, "unit_amount": 4.02, "tax_classification": "TaxExempt", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00" }, { "object": "InvoiceItem", "index_number": 6, "type": "Tax", "sku": "VIN_SALES_TAX_COUNTRY_AU", "description": "Inclusive AUSTRALIA COUNTRY OUTPUT TAX", "quantity": 1, "unit_amount": 4.02, "tax_classification": "TaxExempt", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00" }, { "object": "InvoiceItem", "index_number": 7, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_0", "description": "Inclusive Total", "quantity": 1, "unit_amount": 0.84, "tax_classification": "TaxExempt", "item_added": "2018-01-29T14:08:54-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Aggregator_AB_1517263163548_1517263733756", "vid": "34d9db4ca57df7f8a33b0926d3e92665d6bbadeb" } }, { "object": "InvoiceItem", "index_number": 8, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_0_COUNTRY_AU", "description": "Inclusive AUSTRALIA COUNTRY OUTPUT TAX", "quantity": 1, "unit_amount": 0.84, "tax_classification": "TaxExempt", "item_added": "2018-01-29T14:08:54-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Aggregator_AB_1517263163548_1517263733756", "vid": "34d9db4ca57df7f8a33b0926d3e92665d6bbadeb" } }, { "object": "InvoiceItem", "index_number": 9, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_2", "description": "Inclusive Total", "quantity": 1, "unit_amount": 0.91, "tax_classification": "TaxExempt", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991151", "vid": "69429c1a934109a662d28f27df3cd7398742f538" } }, { "object": "InvoiceItem", "index_number": 10, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_2_COUNTRY_AU", "description": "Inclusive AUSTRALIA COUNTRY OUTPUT TAX", "quantity": 1, "unit_amount": 0.91, "tax_classification": "TaxExempt", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991151", "vid": "69429c1a934109a662d28f27df3cd7398742f538" } }, { "object": "InvoiceItem", "index_number": 11, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_3", "description": "Inclusive Total", "quantity": 1, "unit_amount": 0.91, "tax_classification": "TaxExempt", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991152", "vid": "2eb1f8e3c041698d359ce7ae5154328a2abf60c4" } }, { "object": "InvoiceItem", "index_number": 12, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_3_COUNTRY_AU", "description": "Inclusive AUSTRALIA COUNTRY OUTPUT TAX", "quantity": 1, "unit_amount": 0.91, "tax_classification": "TaxExempt", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Free_AB_1517263163548_991152", "vid": "2eb1f8e3c041698d359ce7ae5154328a2abf60c4" } }, { "object": "InvoiceItem", "index_number": 13, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_4", "description": "Inclusive Total", "quantity": 1, "unit_amount": 1.36, "tax_classification": "TaxExempt", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Aggregator_AB_1517263163548_1517263733756", "vid": "34d9db4ca57df7f8a33b0926d3e92665d6bbadeb" } }, { "object": "InvoiceItem", "index_number": 14, "type": "Tax", "sku": "VIN_SALES_TAX_ITEM_4_COUNTRY_AU", "description": "Inclusive AUSTRALIA COUNTRY OUTPUT TAX", "quantity": 1, "unit_amount": 1.36, "tax_classification": "TaxExempt", "item_added": "2018-02-17T00:00:00-08:00", "item_removed": null, "item_serviceperiod_start": "2018-02-17T00:00:00-08:00", "item_serviceperiod_end": "2018-03-16T00:00:00-07:00", "subscription_item": { "object": "SubscriptionItem", "id": "Aggregator_AB_1517263163548_1517263733756", "vid": "34d9db4ca57df7f8a33b0926d3e92665d6bbadeb" } } ], "total_count": 10 }, "account": { "object": "Account", "id": "1513638273260", "vid": "fcbd81d0959e795c766cff2b1150610f6f4e26a4" }, "subscription": { "object": "Subscription", "id": "Aggregator_AB_1517263163548", "vid": "5b85ddafe5476b93dac89d35a6b5bfb1c23b2428" }, "billing_sequence": 3 }, { "object": "Invoice", "id": "Aggregator_AB_1517263163548-00000004", "billing_service_period_start": "2018-03-17T00:00:00-07:00", "billing_service_period_end": "2018-04-16T00:00:00-07:00", "due_date": "2018-04-16T00:00:00-07:00", "invoice_date": "2018-03-17T00:00:00-07:00", "status": "Open", "invoice_currency": "AUD", "credit_total": 0, "payments_received_total": 0, "account": { "object": "Account", "id": "1513638273260", "vid": "fcbd81d0959e795c766cff2b1150610f6f4e26a4" }, "subscription": { "object": "Subscription", "id": "Aggregator_AB_1517263163548", "vid": "5b85ddafe5476b93dac89d35a6b5bfb1c23b2428" }, "billing_sequence": 4 } ], "total_count": 3, "url": "/invoices?subscription=Aggregator_AB_1517263163548", "next": "/invoices?subscription=Aggregator_AB_1517263163548&starting_after=Aggregator_AB_1517263163548-00000004", "previous": "/invoices?subscription=Aggregator_AB_1517263163548&ending_before=Aggregator_AB_1517263163548-00000002" }
Check invoice Aggregator_AB_1517263163548-00000003 for product 991149

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.