Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #<Tax:0x007fa6bbf26930
- id: 10,
- business_id: 7,
- name: "Combined tax for ILD Voice and Text (13/51=60%-13/622=40%)",
- value: nil,
- brm_id: nil,
- created_at: Fri, 26 Aug 2016 11:00:51 UTC +00:00,
- updated_at: Fri, 26 Aug 2016 11:00:51 UTC +00:00,
- code: "ILD_VOICE_AND_TEXT_TAX",
- description: "Combined tax for ILD Voice and Text (13/51=60%-13/622=40%)",
- tax_type: "communication",
- ere_id: 41,
- valid_from: "2016-08-26 10:58:27 +0000",
- valid_to: "2200-01-31 23:59:59 +0000",
- tax_allocations: [{"category"=>"13", "service"=>"51", "allocation"=>60}, {"category"=>"13", "service"=>"622", "allocation"=>40}]
- {
- "active": true,
- "valid_from": 1472211683000,
- "valid_to": 7260796799000,
- "create_balance_group": false,
- "plan": {
- "id": 14
- }
- }
- {
- "subscription_id": 17,
- "purchased_products": [
- {
- "product_id": 83,
- "purchased_product_id": 57
- },
- {
- "product_id": 84,
- "purchased_product_id": 58
- },
- {
- "product_id": 80,
- "purchased_product_id": 59
- },
- {
- "product_id": 82,
- "purchased_product_id": 60
- },
- {
- "product_id": 81,
- "purchased_product_id": 61
- }
- ],
- "rated_events": [
- {
- "rated_type": "charge",
- "amount": 3.8
- },
- {
- "rated_type": "tax",
- "amount": 0.66
- }
- ],
- "temp": {
- "data": [
- {
- "event": {
- "event_id": "4ecf1f54-dd26-4adf-92cb-ee5879f0d8b3",
- "created_at": 1472211825658,
- "type": "subscription",
- "customer": {
- "id": 23,
- "balance_groups": [
- {
- "id": 23
- }
- ]
- },
- "product": {
- "id": 83,
- "quantity": 1
- },
- "tax_supplier": {
- "id": 12
- },
- "tax": {
- "id": 38
- },
- "processed": true
- },
- "rated_events": [
- {
- "event_id": "4ecf1f54-dd26-4adf-92cb-ee5879f0d8b3",
- "created_at": 1472211825681,
- "rated_event_id": "2df8d5e7-fdd7-45dd-89b4-08178f7f956b",
- "amount": -408021892.93,
- "quantity": 408021892.93,
- "rated_type": "discount",
- "balance_group": {
- "id": 23
- },
- "general_ledger": {
- "id": 39
- },
- "resource": {
- "id": 31
- }
- }
- ]
- },
- {
- "event": {
- "event_id": "2d8639b7-df7b-4561-ac44-8b02fa5da006",
- "created_at": 1472211825682,
- "type": "subscription",
- "customer": {
- "id": 23,
- "balance_groups": [
- {
- "id": 23
- }
- ]
- },
- "product": {
- "id": 84,
- "quantity": 1
- },
- "tax_supplier": {
- "id": 12
- },
- "tax": {
- "id": 41
- },
- "processed": true
- },
- "rated_events": [
- {
- "event_id": "2d8639b7-df7b-4561-ac44-8b02fa5da006",
- "created_at": 1472211825704,
- "rated_event_id": "2996a026-429b-4a59-a5f2-94ea3505ce0f",
- "amount": 3.8,
- "quantity": 1.0,
- "rated_type": "charge",
- "balance_group": {
- "id": 23
- },
- "bill_item": {
- "name": "Mast Mobile Core Platform Software License Monthly Product",
- "due_amount": 4.45897878144,
- "total_amount": 4.45897878144,
- "quantity": 1.0,
- "status": "active",
- "bill": {
- "id": 45
- },
- "bill_item_type": {
- "id": 28
- },
- "customer": {
- "id": 23
- },
- "service": {
- "id": 26
- },
- "valid_from": 1472211826730,
- "valid_to": 1472687999999,
- "created_at": 1472211826730,
- "active": true
- }
- },
- {
- "event_id": "2d8639b7-df7b-4561-ac44-8b02fa5da006",
- "created_at": 1472211825704,
- "tax_supplier": {
- "id": 12
- },
- "tax": {
- "id": 41
- },
- "rated_event_id": "1de5e0b1-cae3-48e4-94d0-0797edf91ef2",
- "amount": 0.6589787814399999,
- "quantity": 0.6589787814399999,
- "rated_type": "tax",
- "balance_group": {
- "id": 23
- },
- "tax_info": {
- "tax_details": [
- {
- "tax_type_code": 1,
- "tax_type_description": "Sales Tax",
- "tax_category": "SALES AND USE TAXES",
- "tax_rate": 0.0625,
- "tax_amount": 105.0,
- "tax_level": "1"
- },
- {
- "tax_type_code": 275,
- "tax_type_description": "Excise Tax (Wireless)",
- "tax_category": "EXCISE TAXES",
- "tax_rate": 0.029,
- "tax_amount": 2.2368734534399994,
- "tax_level": "1"
- },
- {
- "tax_type_code": 18,
- "tax_type_description": "Fed Universal Service Fund",
- "tax_category": "CONNECTIVITY CHARGES",
- "tax_rate": 0.179,
- "tax_amount": 6.529920000000001,
- "tax_level": "0"
- },
- {
- "tax_type_code": 313,
- "tax_type_description": "NY Sales Tax",
- "tax_category": "SALES AND USE TAXES",
- "tax_rate": 0.04,
- "tax_amount": 1.0018293247999996,
- "tax_level": "2"
- },
- {
- "tax_type_code": 313,
- "tax_type_description": "NY Sales Tax",
- "tax_category": "SALES AND USE TAXES",
- "tax_rate": 0.04,
- "tax_amount": 1.0018293247999996,
- "tax_level": "1"
- }
- ]
- }
- }
- ]
- },
- {
- "event": {
- "event_id": "8f1f157e-8962-4168-abc4-f937c5efbab0",
- "created_at": 1472211826731,
- "type": "subscription",
- "customer": {
- "id": 23,
- "balance_groups": [
- {
- "id": 23
- }
- ]
- },
- "product": {
- "id": 80,
- "quantity": 1
- },
- "tax_supplier": {
- "id": 12
- },
- "tax": {
- "id": 38
- },
- "processed": true
- },
- "rated_events": [
- ]
- },
- {
- "event": {
- "event_id": "a0e56748-32f4-4398-adee-495b1af68353",
- "created_at": 1472211826756,
- "type": "subscription",
- "customer": {
- "id": 23,
- "balance_groups": [
- {
- "id": 23
- }
- ]
- },
- "product": {
- "id": 82,
- "quantity": 1
- },
- "tax_supplier": {
- "id": 12
- },
- "tax": {
- "id": 38
- },
- "processed": true
- },
- "rated_events": [
- ]
- },
- {
- "event": {
- "event_id": "d8af3dd0-fe11-46b9-9737-949da91c036d",
- "created_at": 1472211826782,
- "type": "subscription",
- "customer": {
- "id": 23,
- "balance_groups": [
- {
- "id": 23
- }
- ]
- },
- "product": {
- "id": 81,
- "quantity": 1
- },
- "tax_supplier": {
- "id": 12
- },
- "tax": {
- "id": 38
- },
- "processed": true
- },
- "rated_events": [
- {
- "event_id": "d8af3dd0-fe11-46b9-9737-949da91c036d",
- "created_at": 1472211826805,
- "rated_event_id": "c1439ac1-9097-41f8-968a-c49cff9eb63b",
- "amount": -408021892.93,
- "quantity": 408021892.93,
- "rated_type": "discount",
- "balance_group": {
- "id": 23
- },
- "general_ledger": {
- "id": 39
- },
- "resource": {
- "id": 30
- }
- }
- ]
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement