Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.79 KB | None | 0 0
  1. #<Tax:0x007fa6bbf26930
  2. id: 10,
  3. business_id: 7,
  4. name: "Combined tax for ILD Voice and Text (13/51=60%-13/622=40%)",
  5. value: nil,
  6. brm_id: nil,
  7. created_at: Fri, 26 Aug 2016 11:00:51 UTC +00:00,
  8. updated_at: Fri, 26 Aug 2016 11:00:51 UTC +00:00,
  9. code: "ILD_VOICE_AND_TEXT_TAX",
  10. description: "Combined tax for ILD Voice and Text (13/51=60%-13/622=40%)",
  11. tax_type: "communication",
  12. ere_id: 41,
  13. valid_from: "2016-08-26 10:58:27 +0000",
  14. valid_to: "2200-01-31 23:59:59 +0000",
  15. tax_allocations: [{"category"=>"13", "service"=>"51", "allocation"=>60}, {"category"=>"13", "service"=>"622", "allocation"=>40}]
  16.  
  17. {
  18. "active": true,
  19. "valid_from": 1472211683000,
  20. "valid_to": 7260796799000,
  21. "create_balance_group": false,
  22. "plan": {
  23. "id": 14
  24. }
  25. }
  26. {
  27. "subscription_id": 17,
  28. "purchased_products": [
  29. {
  30. "product_id": 83,
  31. "purchased_product_id": 57
  32. },
  33. {
  34. "product_id": 84,
  35. "purchased_product_id": 58
  36. },
  37. {
  38. "product_id": 80,
  39. "purchased_product_id": 59
  40. },
  41. {
  42. "product_id": 82,
  43. "purchased_product_id": 60
  44. },
  45. {
  46. "product_id": 81,
  47. "purchased_product_id": 61
  48. }
  49. ],
  50. "rated_events": [
  51. {
  52. "rated_type": "charge",
  53. "amount": 3.8
  54. },
  55. {
  56. "rated_type": "tax",
  57. "amount": 0.66
  58. }
  59. ],
  60. "temp": {
  61. "data": [
  62. {
  63. "event": {
  64. "event_id": "4ecf1f54-dd26-4adf-92cb-ee5879f0d8b3",
  65. "created_at": 1472211825658,
  66. "type": "subscription",
  67. "customer": {
  68. "id": 23,
  69. "balance_groups": [
  70. {
  71. "id": 23
  72. }
  73. ]
  74. },
  75. "product": {
  76. "id": 83,
  77. "quantity": 1
  78. },
  79. "tax_supplier": {
  80. "id": 12
  81. },
  82. "tax": {
  83. "id": 38
  84. },
  85. "processed": true
  86. },
  87. "rated_events": [
  88. {
  89. "event_id": "4ecf1f54-dd26-4adf-92cb-ee5879f0d8b3",
  90. "created_at": 1472211825681,
  91. "rated_event_id": "2df8d5e7-fdd7-45dd-89b4-08178f7f956b",
  92. "amount": -408021892.93,
  93. "quantity": 408021892.93,
  94. "rated_type": "discount",
  95. "balance_group": {
  96. "id": 23
  97. },
  98. "general_ledger": {
  99. "id": 39
  100. },
  101. "resource": {
  102. "id": 31
  103. }
  104. }
  105. ]
  106. },
  107. {
  108. "event": {
  109. "event_id": "2d8639b7-df7b-4561-ac44-8b02fa5da006",
  110. "created_at": 1472211825682,
  111. "type": "subscription",
  112. "customer": {
  113. "id": 23,
  114. "balance_groups": [
  115. {
  116. "id": 23
  117. }
  118. ]
  119. },
  120. "product": {
  121. "id": 84,
  122. "quantity": 1
  123. },
  124. "tax_supplier": {
  125. "id": 12
  126. },
  127. "tax": {
  128. "id": 41
  129. },
  130. "processed": true
  131. },
  132. "rated_events": [
  133. {
  134. "event_id": "2d8639b7-df7b-4561-ac44-8b02fa5da006",
  135. "created_at": 1472211825704,
  136. "rated_event_id": "2996a026-429b-4a59-a5f2-94ea3505ce0f",
  137. "amount": 3.8,
  138. "quantity": 1.0,
  139. "rated_type": "charge",
  140. "balance_group": {
  141. "id": 23
  142. },
  143. "bill_item": {
  144. "name": "Mast Mobile Core Platform Software License Monthly Product",
  145. "due_amount": 4.45897878144,
  146. "total_amount": 4.45897878144,
  147. "quantity": 1.0,
  148. "status": "active",
  149. "bill": {
  150. "id": 45
  151. },
  152. "bill_item_type": {
  153. "id": 28
  154. },
  155. "customer": {
  156. "id": 23
  157. },
  158. "service": {
  159. "id": 26
  160. },
  161. "valid_from": 1472211826730,
  162. "valid_to": 1472687999999,
  163. "created_at": 1472211826730,
  164. "active": true
  165. }
  166. },
  167. {
  168. "event_id": "2d8639b7-df7b-4561-ac44-8b02fa5da006",
  169. "created_at": 1472211825704,
  170. "tax_supplier": {
  171. "id": 12
  172. },
  173. "tax": {
  174. "id": 41
  175. },
  176. "rated_event_id": "1de5e0b1-cae3-48e4-94d0-0797edf91ef2",
  177. "amount": 0.6589787814399999,
  178. "quantity": 0.6589787814399999,
  179. "rated_type": "tax",
  180. "balance_group": {
  181. "id": 23
  182. },
  183. "tax_info": {
  184. "tax_details": [
  185. {
  186. "tax_type_code": 1,
  187. "tax_type_description": "Sales Tax",
  188. "tax_category": "SALES AND USE TAXES",
  189. "tax_rate": 0.0625,
  190. "tax_amount": 105.0,
  191. "tax_level": "1"
  192. },
  193. {
  194. "tax_type_code": 275,
  195. "tax_type_description": "Excise Tax (Wireless)",
  196. "tax_category": "EXCISE TAXES",
  197. "tax_rate": 0.029,
  198. "tax_amount": 2.2368734534399994,
  199. "tax_level": "1"
  200. },
  201. {
  202. "tax_type_code": 18,
  203. "tax_type_description": "Fed Universal Service Fund",
  204. "tax_category": "CONNECTIVITY CHARGES",
  205. "tax_rate": 0.179,
  206. "tax_amount": 6.529920000000001,
  207. "tax_level": "0"
  208. },
  209. {
  210. "tax_type_code": 313,
  211. "tax_type_description": "NY Sales Tax",
  212. "tax_category": "SALES AND USE TAXES",
  213. "tax_rate": 0.04,
  214. "tax_amount": 1.0018293247999996,
  215. "tax_level": "2"
  216. },
  217. {
  218. "tax_type_code": 313,
  219. "tax_type_description": "NY Sales Tax",
  220. "tax_category": "SALES AND USE TAXES",
  221. "tax_rate": 0.04,
  222. "tax_amount": 1.0018293247999996,
  223. "tax_level": "1"
  224. }
  225. ]
  226. }
  227. }
  228. ]
  229. },
  230. {
  231. "event": {
  232. "event_id": "8f1f157e-8962-4168-abc4-f937c5efbab0",
  233. "created_at": 1472211826731,
  234. "type": "subscription",
  235. "customer": {
  236. "id": 23,
  237. "balance_groups": [
  238. {
  239. "id": 23
  240. }
  241. ]
  242. },
  243. "product": {
  244. "id": 80,
  245. "quantity": 1
  246. },
  247. "tax_supplier": {
  248. "id": 12
  249. },
  250. "tax": {
  251. "id": 38
  252. },
  253. "processed": true
  254. },
  255. "rated_events": [
  256.  
  257. ]
  258. },
  259. {
  260. "event": {
  261. "event_id": "a0e56748-32f4-4398-adee-495b1af68353",
  262. "created_at": 1472211826756,
  263. "type": "subscription",
  264. "customer": {
  265. "id": 23,
  266. "balance_groups": [
  267. {
  268. "id": 23
  269. }
  270. ]
  271. },
  272. "product": {
  273. "id": 82,
  274. "quantity": 1
  275. },
  276. "tax_supplier": {
  277. "id": 12
  278. },
  279. "tax": {
  280. "id": 38
  281. },
  282. "processed": true
  283. },
  284. "rated_events": [
  285.  
  286. ]
  287. },
  288. {
  289. "event": {
  290. "event_id": "d8af3dd0-fe11-46b9-9737-949da91c036d",
  291. "created_at": 1472211826782,
  292. "type": "subscription",
  293. "customer": {
  294. "id": 23,
  295. "balance_groups": [
  296. {
  297. "id": 23
  298. }
  299. ]
  300. },
  301. "product": {
  302. "id": 81,
  303. "quantity": 1
  304. },
  305. "tax_supplier": {
  306. "id": 12
  307. },
  308. "tax": {
  309. "id": 38
  310. },
  311. "processed": true
  312. },
  313. "rated_events": [
  314. {
  315. "event_id": "d8af3dd0-fe11-46b9-9737-949da91c036d",
  316. "created_at": 1472211826805,
  317. "rated_event_id": "c1439ac1-9097-41f8-968a-c49cff9eb63b",
  318. "amount": -408021892.93,
  319. "quantity": 408021892.93,
  320. "rated_type": "discount",
  321. "balance_group": {
  322. "id": 23
  323. },
  324. "general_ledger": {
  325. "id": 39
  326. },
  327. "resource": {
  328. "id": 30
  329. }
  330. }
  331. ]
  332. }
  333. ]
  334. }
  335. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement