Advertisement
yafithekid-mokapos

External - Latest Transactions V1

Jan 29th, 2018
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 176.57 KB | None | 0 0
  1. {
  2. "data": {
  3. "next_url": "https://api-staging.mokapos.com/v1/outlets/28076/reports/get_latest_transactions?per_page=50&mobile_device=true&until=1517060430.505206&access_token=e9ebff74bf79ac30aaa0f20ae84d8b64b70f3918b85189c4a0e3c24a7b7ffcf7",
  4. "completed": true,
  5. "payments": [
  6. {
  7. "id": 89722,
  8. "status": "Done",
  9. "payment_no": "INV3BO4LP",
  10. "payment_type": "invoice",
  11. "amount_pay": 69300,
  12. "amount_change": 0,
  13. "total_discount_amount": 0,
  14. "total_gratuity_amount": 3000,
  15. "total_item_price_amount": 0,
  16. "total_tax_amount": 6300,
  17. "total_checkouts_amount": 60000,
  18. "is_refunded": false,
  19. "refunded_reason": null,
  20. "refunded_date": null,
  21. "business_id": 18368,
  22. "customer_id": 163124,
  23. "discount_id": null,
  24. "is_deleted": false,
  25. "created_at": "2018-01-27T20:40:14.872+07:00",
  26. "updated_at": "2018-01-27T20:40:30.505+07:00",
  27. "total_custom_price_amount": 0,
  28. "include_gratuity_tax": false,
  29. "parent_payment_id": null,
  30. "refund_amount": 0,
  31. "refund_type": null,
  32. "card_no": null,
  33. "created_by": 31698,
  34. "note": "",
  35. "total_collected_amount": 69300,
  36. "server_id": 31698,
  37. "server_name": "API Test",
  38. "server_title": "",
  39. "auth_code": null,
  40. "cc_name": null,
  41. "card_type": null,
  42. "transaction_number": null,
  43. "transaction_reference": null,
  44. "outlet_id": 28076,
  45. "guid": "e3966080-5b7c-4f6b-8949-a08ded6e7da0",
  46. "synchronized_at": "2018-01-27T20:40:30.505+07:00",
  47. "uniq_id": "2",
  48. "transaction_certificate": null,
  49. "transaction_status_info": null,
  50. "merchant_id": null,
  51. "mpos_device_id": null,
  52. "pg_mid": null,
  53. "pg_setting": null,
  54. "order_info": null,
  55. "tvr": null,
  56. "cvm_result": null,
  57. "aid": null,
  58. "transaction_date": null,
  59. "pii": null,
  60. "collected_by": "API Test",
  61. "shift_id": 0,
  62. "invoice_no": "INV3BO4LP",
  63. "invoice_deposit_amount": 0,
  64. "invoice_due_date": "2018-01-27",
  65. "invoice_status": "cancelled",
  66. "latitude": null,
  67. "longitude": null,
  68. "refund_ids": "---\n- 89725\n",
  69. "total_gross_sales": 60000,
  70. "total_net_sales": 60000,
  71. "is_refund_breakdown": true,
  72. "customer_name": "Renata",
  73. "customer_email": "renata@mailinator.com",
  74. "customer_phone": "+62856366952255555",
  75. "subtotal": 60000,
  76. "creator_name": "API Test",
  77. "table_name": null,
  78. "collector_id": 31698,
  79. "cashlezz_transaction_id": null,
  80. "sms_id": null,
  81. "receipt_count": null,
  82. "order_id": null,
  83. "is_loyalty": false,
  84. "total_redeem_amount": 0,
  85. "is_offline": false,
  86. "is_sales_type": true,
  87. "payment_taxes": [
  88. {
  89. "id": 77717,
  90. "name": "tax",
  91. "amount": 10,
  92. "total": 6300,
  93. "taxable_amount": 63000,
  94. "payment_id": 89722,
  95. "created_at": "2018-01-27T20:40:14.872+07:00",
  96. "updated_at": "2018-01-27T20:40:14.786+07:00",
  97. "tax_id": 11945
  98. }
  99. ],
  100. "payment_gratuities": [
  101. {
  102. "id": 89404,
  103. "name": "Dine In",
  104. "amount": 5,
  105. "total": 3000,
  106. "payment_id": 89722,
  107. "created_at": "2018-01-27T20:40:14.872+07:00",
  108. "updated_at": "2018-01-27T20:40:14.783+07:00",
  109. "gratuity_id": 5826
  110. }
  111. ],
  112. "payment_discounts": [],
  113. "payment_refunds": [
  114. {
  115. "id": 89725,
  116. "status": "Done",
  117. "payment_no": "INV3BO4LP",
  118. "payment_type": "invoice",
  119. "amount_pay": 0,
  120. "amount_change": 0,
  121. "total_discount_amount": 0,
  122. "total_gratuity_amount": -3000,
  123. "total_item_price_amount": 0,
  124. "total_tax_amount": -6300,
  125. "total_checkouts_amount": -60000,
  126. "is_refunded": true,
  127. "refunded_reason": "Accidental Charge",
  128. "refunded_date": "2018-01-27T20:40:24.068+07:00",
  129. "business_id": 18368,
  130. "customer_id": 163124,
  131. "discount_id": null,
  132. "is_deleted": false,
  133. "created_at": "2018-01-27T20:40:24.068+07:00",
  134. "updated_at": "2018-01-27T20:40:30.496+07:00",
  135. "total_custom_price_amount": 0,
  136. "include_gratuity_tax": false,
  137. "parent_payment_id": 89722,
  138. "refund_amount": 60000,
  139. "refund_type": "full",
  140. "card_no": null,
  141. "created_by": 31698,
  142. "note": "",
  143. "total_collected_amount": -69300,
  144. "server_id": 31698,
  145. "server_name": "API Test",
  146. "server_title": "",
  147. "auth_code": null,
  148. "cc_name": null,
  149. "card_type": null,
  150. "transaction_number": null,
  151. "transaction_reference": null,
  152. "outlet_id": 28076,
  153. "guid": "bc82e1cb-67e3-45c8-a0f8-9429e6f56b9c",
  154. "synchronized_at": "2018-01-27T20:40:30.496+07:00",
  155. "uniq_id": "0",
  156. "transaction_certificate": null,
  157. "transaction_status_info": null,
  158. "merchant_id": null,
  159. "mpos_device_id": null,
  160. "pg_mid": null,
  161. "pg_setting": null,
  162. "order_info": null,
  163. "tvr": null,
  164. "cvm_result": null,
  165. "aid": null,
  166. "transaction_date": null,
  167. "pii": null,
  168. "collected_by": "API Test",
  169. "shift_id": null,
  170. "invoice_no": "INV3BO4LP",
  171. "invoice_deposit_amount": 0,
  172. "invoice_due_date": "2018-01-27",
  173. "invoice_status": "cancelled",
  174. "latitude": null,
  175. "longitude": null,
  176. "refund_ids": "--- []\n",
  177. "total_gross_sales": -60000,
  178. "total_net_sales": -60000,
  179. "is_refund_breakdown": true,
  180. "customer_name": "Renata",
  181. "customer_email": "renata@mailinator.com",
  182. "customer_phone": "+62856366952255555",
  183. "subtotal": -60000,
  184. "creator_name": "API Test",
  185. "table_name": null,
  186. "collector_id": null,
  187. "cashlezz_transaction_id": null,
  188. "sms_id": null,
  189. "receipt_count": 0,
  190. "order_id": null,
  191. "is_loyalty": false,
  192. "total_redeem_amount": 0,
  193. "is_offline": null,
  194. "is_sales_type": true
  195. }
  196. ],
  197. "checkouts": [
  198. {
  199. "id": 142307,
  200. "custom_amount": 0,
  201. "item_variant_id": 1865661,
  202. "quantity": 1,
  203. "discount_amount": 0,
  204. "tax_amount": 6300,
  205. "business_id": 18368,
  206. "payment_id": 89722,
  207. "is_deleted": false,
  208. "created_at": "2018-01-27T20:40:14.872+07:00",
  209. "updated_at": "2018-01-27T20:40:14.775+07:00",
  210. "item_id": 3191698,
  211. "item_discount": 0,
  212. "item_price_library": 60000,
  213. "item_price": 60000,
  214. "item_price_discount": 60000,
  215. "gratuity_amount": 3000,
  216. "item_price_discount_gratuity": 0,
  217. "total_price": 60000,
  218. "item_price_quantity": 60000,
  219. "category_name": "Uncategorized",
  220. "category_id": 100844,
  221. "item_name": "Custom Amount",
  222. "item_variant_name": "",
  223. "sku": "",
  224. "note": null,
  225. "cogs": null,
  226. "gross_sales": 60000,
  227. "outlet_id": 28076,
  228. "position": null,
  229. "net_sales": 60000,
  230. "track_stock": false,
  231. "item_image": null,
  232. "parent_checkout_id": null,
  233. "is_recipe": false,
  234. "redeem_amount": 0,
  235. "sales_type_id": 7177,
  236. "sales_type_name": "Dine In",
  237. "checkout_modifiers": [],
  238. "checkout_discounts": []
  239. }
  240. ]
  241. },
  242. {
  243. "id": 89725,
  244. "status": "Done",
  245. "payment_no": "INV3BO4LP",
  246. "payment_type": "invoice",
  247. "amount_pay": 0,
  248. "amount_change": 0,
  249. "total_discount_amount": 0,
  250. "total_gratuity_amount": -3000,
  251. "total_item_price_amount": 0,
  252. "total_tax_amount": -6300,
  253. "total_checkouts_amount": -60000,
  254. "is_refunded": true,
  255. "refunded_reason": "Accidental Charge",
  256. "refunded_date": "2018-01-27T20:40:24.068+07:00",
  257. "business_id": 18368,
  258. "customer_id": 163124,
  259. "discount_id": null,
  260. "is_deleted": false,
  261. "created_at": "2018-01-27T20:40:24.068+07:00",
  262. "updated_at": "2018-01-27T20:40:30.496+07:00",
  263. "total_custom_price_amount": 0,
  264. "include_gratuity_tax": false,
  265. "parent_payment_id": 89722,
  266. "refund_amount": 60000,
  267. "refund_type": "full",
  268. "card_no": null,
  269. "created_by": 31698,
  270. "note": "",
  271. "total_collected_amount": -69300,
  272. "server_id": 31698,
  273. "server_name": "API Test",
  274. "server_title": "",
  275. "auth_code": null,
  276. "cc_name": null,
  277. "card_type": null,
  278. "transaction_number": null,
  279. "transaction_reference": null,
  280. "outlet_id": 28076,
  281. "guid": "bc82e1cb-67e3-45c8-a0f8-9429e6f56b9c",
  282. "synchronized_at": "2018-01-27T20:40:30.496+07:00",
  283. "uniq_id": "0",
  284. "transaction_certificate": null,
  285. "transaction_status_info": null,
  286. "merchant_id": null,
  287. "mpos_device_id": null,
  288. "pg_mid": null,
  289. "pg_setting": null,
  290. "order_info": null,
  291. "tvr": null,
  292. "cvm_result": null,
  293. "aid": null,
  294. "transaction_date": null,
  295. "pii": null,
  296. "collected_by": "API Test",
  297. "shift_id": null,
  298. "invoice_no": "INV3BO4LP",
  299. "invoice_deposit_amount": 0,
  300. "invoice_due_date": "2018-01-27",
  301. "invoice_status": "cancelled",
  302. "latitude": null,
  303. "longitude": null,
  304. "refund_ids": "--- []\n",
  305. "total_gross_sales": -60000,
  306. "total_net_sales": -60000,
  307. "is_refund_breakdown": true,
  308. "customer_name": "Renata",
  309. "customer_email": "renata@mailinator.com",
  310. "customer_phone": "+62856366952255555",
  311. "subtotal": -60000,
  312. "creator_name": "API Test",
  313. "table_name": null,
  314. "collector_id": null,
  315. "cashlezz_transaction_id": null,
  316. "sms_id": null,
  317. "receipt_count": 0,
  318. "order_id": null,
  319. "is_loyalty": false,
  320. "total_redeem_amount": 0,
  321. "is_offline": null,
  322. "is_sales_type": true,
  323. "payment_taxes": [
  324. {
  325. "id": 77720,
  326. "name": "tax",
  327. "amount": 10,
  328. "total": -6300,
  329. "taxable_amount": -63000,
  330. "payment_id": 89725,
  331. "created_at": "2018-01-27T20:40:30.493+07:00",
  332. "updated_at": "2018-01-27T20:40:30.493+07:00",
  333. "tax_id": 11945
  334. }
  335. ],
  336. "payment_gratuities": [
  337. {
  338. "id": 89407,
  339. "name": "Dine In",
  340. "amount": 5,
  341. "total": -3000,
  342. "payment_id": 89725,
  343. "created_at": "2018-01-27T20:40:30.490+07:00",
  344. "updated_at": "2018-01-27T20:40:30.490+07:00",
  345. "gratuity_id": 5826
  346. }
  347. ],
  348. "payment_discounts": [],
  349. "payment_refunds": [],
  350. "checkouts": [
  351. {
  352. "id": 142310,
  353. "custom_amount": 0,
  354. "item_variant_id": 1865661,
  355. "quantity": -1,
  356. "discount_amount": 0,
  357. "tax_amount": -6300,
  358. "business_id": 18368,
  359. "payment_id": 89725,
  360. "is_deleted": false,
  361. "created_at": "2018-01-27T20:40:24.068+07:00",
  362. "updated_at": "2018-01-27T20:40:30.481+07:00",
  363. "item_id": 3191698,
  364. "item_discount": 0,
  365. "item_price_library": 60000,
  366. "item_price": 60000,
  367. "item_price_discount": -60000,
  368. "gratuity_amount": -3000,
  369. "item_price_discount_gratuity": 0,
  370. "total_price": -60000,
  371. "item_price_quantity": -60000,
  372. "category_name": "Uncategorized",
  373. "category_id": 100844,
  374. "item_name": "Custom Amount",
  375. "item_variant_name": "",
  376. "sku": "",
  377. "note": null,
  378. "cogs": null,
  379. "gross_sales": -60000,
  380. "outlet_id": 28076,
  381. "position": null,
  382. "net_sales": -60000,
  383. "track_stock": false,
  384. "item_image": null,
  385. "parent_checkout_id": 142307,
  386. "is_recipe": false,
  387. "redeem_amount": 0,
  388. "sales_type_id": 7177,
  389. "sales_type_name": "Dine In",
  390. "checkout_modifiers": [],
  391. "checkout_discounts": []
  392. }
  393. ]
  394. },
  395. {
  396. "id": 89721,
  397. "status": "Done",
  398. "payment_no": "INV3BO4LO",
  399. "payment_type": "invoice",
  400. "amount_pay": 2425500,
  401. "amount_change": 0,
  402. "total_discount_amount": 0,
  403. "total_gratuity_amount": 105000,
  404. "total_item_price_amount": 0,
  405. "total_tax_amount": 220500,
  406. "total_checkouts_amount": 2000000,
  407. "is_refunded": false,
  408. "refunded_reason": null,
  409. "refunded_date": null,
  410. "business_id": 18368,
  411. "customer_id": 163129,
  412. "discount_id": null,
  413. "is_deleted": false,
  414. "created_at": "2018-01-27T20:39:58.610+07:00",
  415. "updated_at": "2018-01-27T20:39:58.930+07:00",
  416. "total_custom_price_amount": 0,
  417. "include_gratuity_tax": false,
  418. "parent_payment_id": null,
  419. "refund_amount": 0,
  420. "refund_type": null,
  421. "card_no": null,
  422. "created_by": 31698,
  423. "note": "",
  424. "total_collected_amount": 2425500,
  425. "server_id": 31698,
  426. "server_name": "API Test",
  427. "server_title": "",
  428. "auth_code": null,
  429. "cc_name": null,
  430. "card_type": null,
  431. "transaction_number": null,
  432. "transaction_reference": null,
  433. "outlet_id": 28076,
  434. "guid": "330647e9-ac87-4214-abbf-3fe72f815015",
  435. "synchronized_at": "2018-01-27T20:39:58.930+07:00",
  436. "uniq_id": "2",
  437. "transaction_certificate": null,
  438. "transaction_status_info": null,
  439. "merchant_id": null,
  440. "mpos_device_id": null,
  441. "pg_mid": null,
  442. "pg_setting": null,
  443. "order_info": null,
  444. "tvr": null,
  445. "cvm_result": null,
  446. "aid": null,
  447. "transaction_date": null,
  448. "pii": null,
  449. "collected_by": "API Test",
  450. "shift_id": 0,
  451. "invoice_no": "INV3BO4LO",
  452. "invoice_deposit_amount": 0,
  453. "invoice_due_date": "2018-02-03",
  454. "invoice_status": "unpaid",
  455. "latitude": null,
  456. "longitude": null,
  457. "refund_ids": "--- []\n",
  458. "total_gross_sales": 2200000,
  459. "total_net_sales": 2100000,
  460. "is_refund_breakdown": true,
  461. "customer_name": "Desy",
  462. "customer_email": "desy@mokapos.com",
  463. "customer_phone": "+6281288004402",
  464. "subtotal": 2100000,
  465. "creator_name": "API Test",
  466. "table_name": null,
  467. "collector_id": 31698,
  468. "cashlezz_transaction_id": null,
  469. "sms_id": null,
  470. "receipt_count": null,
  471. "order_id": null,
  472. "is_loyalty": true,
  473. "total_redeem_amount": 100000,
  474. "is_offline": false,
  475. "is_sales_type": true,
  476. "payment_taxes": [
  477. {
  478. "id": 77716,
  479. "name": "tax",
  480. "amount": 10,
  481. "total": 220500,
  482. "taxable_amount": 2205000,
  483. "payment_id": 89721,
  484. "created_at": "2018-01-27T20:39:58.610+07:00",
  485. "updated_at": "2018-01-27T20:39:58.752+07:00",
  486. "tax_id": 11945
  487. }
  488. ],
  489. "payment_gratuities": [
  490. {
  491. "id": 89403,
  492. "name": "Dine In",
  493. "amount": 5,
  494. "total": 105000,
  495. "payment_id": 89721,
  496. "created_at": "2018-01-27T20:39:58.610+07:00",
  497. "updated_at": "2018-01-27T20:39:58.748+07:00",
  498. "gratuity_id": 5826
  499. }
  500. ],
  501. "payment_discounts": [],
  502. "payment_refunds": [],
  503. "checkouts": [
  504. {
  505. "id": 142306,
  506. "custom_amount": 0,
  507. "item_variant_id": 1865661,
  508. "quantity": 1,
  509. "discount_amount": 0,
  510. "tax_amount": 70159.091,
  511. "business_id": 18368,
  512. "payment_id": 89721,
  513. "is_deleted": false,
  514. "created_at": "2018-01-27T20:39:58.610+07:00",
  515. "updated_at": "2018-01-27T20:39:58.740+07:00",
  516. "item_id": 3191698,
  517. "item_discount": 0,
  518. "item_price_library": 700000,
  519. "item_price": 700000,
  520. "item_price_discount": 700000,
  521. "gratuity_amount": 33409.0909,
  522. "item_price_discount_gratuity": 0,
  523. "total_price": 668181.818181818,
  524. "item_price_quantity": 700000,
  525. "category_name": "Uncategorized",
  526. "category_id": 100844,
  527. "item_name": "Custom Amount",
  528. "item_variant_name": "",
  529. "sku": "",
  530. "note": null,
  531. "cogs": null,
  532. "gross_sales": 700000,
  533. "outlet_id": 28076,
  534. "position": null,
  535. "net_sales": 668181.818,
  536. "track_stock": false,
  537. "item_image": null,
  538. "parent_checkout_id": null,
  539. "is_recipe": false,
  540. "redeem_amount": 31818.1818181818,
  541. "sales_type_id": 7177,
  542. "sales_type_name": "Dine In",
  543. "checkout_modifiers": [],
  544. "checkout_discounts": []
  545. },
  546. {
  547. "id": 142305,
  548. "custom_amount": 0,
  549. "item_variant_id": 1865661,
  550. "quantity": 1,
  551. "discount_amount": 0,
  552. "tax_amount": 90204.545,
  553. "business_id": 18368,
  554. "payment_id": 89721,
  555. "is_deleted": false,
  556. "created_at": "2018-01-27T20:39:58.610+07:00",
  557. "updated_at": "2018-01-27T20:39:58.735+07:00",
  558. "item_id": 3191698,
  559. "item_discount": 0,
  560. "item_price_library": 900000,
  561. "item_price": 900000,
  562. "item_price_discount": 900000,
  563. "gratuity_amount": 42954.54545,
  564. "item_price_discount_gratuity": 0,
  565. "total_price": 859090.909090909,
  566. "item_price_quantity": 900000,
  567. "category_name": "Uncategorized",
  568. "category_id": 100844,
  569. "item_name": "Custom Amount",
  570. "item_variant_name": "",
  571. "sku": "",
  572. "note": null,
  573. "cogs": null,
  574. "gross_sales": 900000,
  575. "outlet_id": 28076,
  576. "position": null,
  577. "net_sales": 859090.909,
  578. "track_stock": false,
  579. "item_image": null,
  580. "parent_checkout_id": null,
  581. "is_recipe": false,
  582. "redeem_amount": 40909.0909090909,
  583. "sales_type_id": 7177,
  584. "sales_type_name": "Dine In",
  585. "checkout_modifiers": [],
  586. "checkout_discounts": []
  587. },
  588. {
  589. "id": 142304,
  590. "custom_amount": 0,
  591. "item_variant_id": 1865661,
  592. "quantity": 1,
  593. "discount_amount": 0,
  594. "tax_amount": 60136.364,
  595. "business_id": 18368,
  596. "payment_id": 89721,
  597. "is_deleted": false,
  598. "created_at": "2018-01-27T20:39:58.610+07:00",
  599. "updated_at": "2018-01-27T20:39:58.729+07:00",
  600. "item_id": 3191698,
  601. "item_discount": 0,
  602. "item_price_library": 600000,
  603. "item_price": 600000,
  604. "item_price_discount": 600000,
  605. "gratuity_amount": 28636.36365,
  606. "item_price_discount_gratuity": 0,
  607. "total_price": 572727.272727273,
  608. "item_price_quantity": 600000,
  609. "category_name": "Uncategorized",
  610. "category_id": 100844,
  611. "item_name": "Custom Amount",
  612. "item_variant_name": "",
  613. "sku": "",
  614. "note": null,
  615. "cogs": null,
  616. "gross_sales": 600000,
  617. "outlet_id": 28076,
  618. "position": null,
  619. "net_sales": 572727.273,
  620. "track_stock": false,
  621. "item_image": null,
  622. "parent_checkout_id": null,
  623. "is_recipe": false,
  624. "redeem_amount": 27272.7272727273,
  625. "sales_type_id": 7177,
  626. "sales_type_name": "Dine In",
  627. "checkout_modifiers": [],
  628. "checkout_discounts": []
  629. }
  630. ]
  631. },
  632. {
  633. "id": 89720,
  634. "status": "Done",
  635. "payment_no": "3BO4LN",
  636. "payment_type": "other",
  637. "amount_pay": 79233,
  638. "amount_change": 0,
  639. "total_discount_amount": 269400,
  640. "total_gratuity_amount": 3430,
  641. "total_item_price_amount": 0,
  642. "total_tax_amount": 7203,
  643. "total_checkouts_amount": -200800,
  644. "is_refunded": false,
  645. "refunded_reason": null,
  646. "refunded_date": null,
  647. "business_id": 18368,
  648. "customer_id": null,
  649. "discount_id": null,
  650. "is_deleted": false,
  651. "created_at": "2018-01-27T20:39:15.688+07:00",
  652. "updated_at": "2018-01-27T20:39:15.688+07:00",
  653. "total_custom_price_amount": 0,
  654. "include_gratuity_tax": false,
  655. "parent_payment_id": null,
  656. "refund_amount": 0,
  657. "refund_type": null,
  658. "card_no": null,
  659. "created_by": 31698,
  660. "note": "notes other payment",
  661. "total_collected_amount": 79233,
  662. "server_id": 31699,
  663. "server_name": "API Staff",
  664. "server_title": "",
  665. "auth_code": null,
  666. "cc_name": null,
  667. "card_type": null,
  668. "transaction_number": null,
  669. "transaction_reference": null,
  670. "outlet_id": 28076,
  671. "guid": "af12302f-f114-42a5-8214-2c12174d7d7c",
  672. "synchronized_at": "2018-01-27T20:39:16.434+07:00",
  673. "uniq_id": "2",
  674. "transaction_certificate": null,
  675. "transaction_status_info": null,
  676. "merchant_id": null,
  677. "mpos_device_id": null,
  678. "pg_mid": null,
  679. "pg_setting": null,
  680. "order_info": null,
  681. "tvr": null,
  682. "cvm_result": null,
  683. "aid": null,
  684. "transaction_date": null,
  685. "pii": null,
  686. "collected_by": "API Test",
  687. "shift_id": 0,
  688. "invoice_no": null,
  689. "invoice_deposit_amount": null,
  690. "invoice_due_date": null,
  691. "invoice_status": null,
  692. "latitude": null,
  693. "longitude": null,
  694. "refund_ids": "--- []\n",
  695. "total_gross_sales": 338000,
  696. "total_net_sales": 68600,
  697. "is_refund_breakdown": true,
  698. "customer_name": null,
  699. "customer_email": null,
  700. "customer_phone": null,
  701. "subtotal": 68600,
  702. "creator_name": "API Test",
  703. "table_name": null,
  704. "collector_id": 31698,
  705. "cashlezz_transaction_id": null,
  706. "sms_id": null,
  707. "receipt_count": null,
  708. "order_id": null,
  709. "is_loyalty": false,
  710. "total_redeem_amount": 0,
  711. "is_offline": false,
  712. "is_sales_type": true,
  713. "payment_taxes": [
  714. {
  715. "id": 77715,
  716. "name": "tax",
  717. "amount": 10,
  718. "total": 7203,
  719. "taxable_amount": 72030,
  720. "payment_id": 89720,
  721. "created_at": "2018-01-27T20:39:15.688+07:00",
  722. "updated_at": "2018-01-27T20:39:16.432+07:00",
  723. "tax_id": 11945
  724. }
  725. ],
  726. "payment_gratuities": [
  727. {
  728. "id": 89402,
  729. "name": "Dine In",
  730. "amount": 5,
  731. "total": 3430,
  732. "payment_id": 89720,
  733. "created_at": "2018-01-27T20:39:15.688+07:00",
  734. "updated_at": "2018-01-27T20:39:16.428+07:00",
  735. "gratuity_id": 5826
  736. }
  737. ],
  738. "payment_discounts": [
  739. {
  740. "id": 7514,
  741. "payment_id": 89720,
  742. "discount_id": 17444,
  743. "discount_amount": 50000,
  744. "discount_name": "Discount D",
  745. "discount_type": "cash",
  746. "is_deleted": false,
  747. "created_at": "2018-01-27T20:39:15.688+07:00",
  748. "updated_at": "2018-01-27T20:39:16.424+07:00",
  749. "discount_cash": 50000
  750. },
  751. {
  752. "id": 7513,
  753. "payment_id": 89720,
  754. "discount_id": 17442,
  755. "discount_amount": 20000,
  756. "discount_name": "Discount B",
  757. "discount_type": "cash",
  758. "is_deleted": false,
  759. "created_at": "2018-01-27T20:39:15.688+07:00",
  760. "updated_at": "2018-01-27T20:39:16.422+07:00",
  761. "discount_cash": 20000
  762. }
  763. ],
  764. "payment_refunds": [],
  765. "checkouts": [
  766. {
  767. "id": 142303,
  768. "custom_amount": 0,
  769. "item_variant_id": 1865664,
  770. "quantity": 4,
  771. "discount_amount": 140000,
  772. "tax_amount": 0,
  773. "business_id": 18368,
  774. "payment_id": 89720,
  775. "is_deleted": false,
  776. "created_at": "2018-01-27T20:39:15.688+07:00",
  777. "updated_at": "2018-01-27T20:39:16.041+07:00",
  778. "item_id": 3191701,
  779. "item_discount": 0,
  780. "item_price_library": 35000,
  781. "item_price": 35000,
  782. "item_price_discount": 0,
  783. "gratuity_amount": 0,
  784. "item_price_discount_gratuity": 0,
  785. "total_price": 0,
  786. "item_price_quantity": 140000,
  787. "category_name": "Main Dish",
  788. "category_id": 100847,
  789. "item_name": "Meat Soup",
  790. "item_variant_name": "",
  791. "sku": "",
  792. "note": null,
  793. "cogs": 16000,
  794. "gross_sales": 140000,
  795. "outlet_id": 28076,
  796. "position": null,
  797. "net_sales": 0,
  798. "track_stock": false,
  799. "item_image": null,
  800. "parent_checkout_id": null,
  801. "is_recipe": true,
  802. "redeem_amount": 0,
  803. "sales_type_id": 7177,
  804. "sales_type_name": "Dine In",
  805. "checkout_modifiers": [],
  806. "checkout_discounts": []
  807. },
  808. {
  809. "id": 142302,
  810. "custom_amount": 0,
  811. "item_variant_id": 1865664,
  812. "quantity": 4,
  813. "discount_amount": 91494.949,
  814. "tax_amount": 5093.03,
  815. "business_id": 18368,
  816. "payment_id": 89720,
  817. "is_deleted": false,
  818. "created_at": "2018-01-27T20:39:15.688+07:00",
  819. "updated_at": "2018-01-27T20:39:16.031+07:00",
  820. "item_id": 3191701,
  821. "item_discount": 0,
  822. "item_price_library": 35000,
  823. "item_price": 35000,
  824. "item_price_discount": 48505.051,
  825. "gratuity_amount": 2425.25255,
  826. "item_price_discount_gratuity": 0,
  827. "total_price": 48505.051,
  828. "item_price_quantity": 140000,
  829. "category_name": "Main Dish",
  830. "category_id": 100847,
  831. "item_name": "Meat Soup",
  832. "item_variant_name": "",
  833. "sku": "",
  834. "note": null,
  835. "cogs": 16000,
  836. "gross_sales": 140000,
  837. "outlet_id": 28076,
  838. "position": null,
  839. "net_sales": 48505.051,
  840. "track_stock": false,
  841. "item_image": null,
  842. "parent_checkout_id": null,
  843. "is_recipe": true,
  844. "redeem_amount": 0,
  845. "sales_type_id": 7177,
  846. "sales_type_name": "Dine In",
  847. "checkout_modifiers": [],
  848. "checkout_discounts": [
  849. {
  850. "id": 27339,
  851. "discount_id": 0,
  852. "is_deleted": false,
  853. "created_at": "2018-01-27T20:39:15.688+07:00",
  854. "updated_at": "2018-01-27T20:39:16.034+07:00",
  855. "checkout_id": 142302,
  856. "discount_amount": 91494,
  857. "discount_name": "All Discount",
  858. "discount_type": "Rupiah and Percentage",
  859. "discount_percentage": 0,
  860. "payment_id": 89720,
  861. "discount_hash": [
  862. {
  863. "discount_id": 17443,
  864. "discount_type": "percentage",
  865. "discount_name": "Discount C",
  866. "discount_percentage": "20",
  867. "discount_cash": "0.0",
  868. "discount_amount": "28000.0"
  869. },
  870. {
  871. "discount_id": 17441,
  872. "discount_type": "percentage",
  873. "discount_name": "Discount A",
  874. "discount_percentage": "10",
  875. "discount_cash": "0.0",
  876. "discount_amount": "14000.0"
  877. },
  878. {
  879. "discount_id": 17442,
  880. "discount_type": "cash",
  881. "discount_name": "Discount B",
  882. "discount_percentage": "0",
  883. "discount_cash": "20000.0",
  884. "discount_amount": "14141.414"
  885. },
  886. {
  887. "discount_id": 17444,
  888. "discount_type": "cash",
  889. "discount_name": "Discount D",
  890. "discount_percentage": "0",
  891. "discount_cash": "50000.0",
  892. "discount_amount": "35353.535"
  893. }
  894. ]
  895. }
  896. ]
  897. },
  898. {
  899. "id": 142301,
  900. "custom_amount": 0,
  901. "item_variant_id": 1865661,
  902. "quantity": 1,
  903. "discount_amount": 37905.051,
  904. "tax_amount": 2109.97,
  905. "business_id": 18368,
  906. "payment_id": 89720,
  907. "is_deleted": false,
  908. "created_at": "2018-01-27T20:39:15.688+07:00",
  909. "updated_at": "2018-01-27T20:39:16.020+07:00",
  910. "item_id": 3191698,
  911. "item_discount": 0,
  912. "item_price_library": 58000,
  913. "item_price": 58000,
  914. "item_price_discount": 20094.949,
  915. "gratuity_amount": 1004.74745,
  916. "item_price_discount_gratuity": 0,
  917. "total_price": 20094.949,
  918. "item_price_quantity": 58000,
  919. "category_name": "Uncategorized",
  920. "category_id": 100844,
  921. "item_name": "Custom Amount",
  922. "item_variant_name": "",
  923. "sku": "",
  924. "note": null,
  925. "cogs": null,
  926. "gross_sales": 58000,
  927. "outlet_id": 28076,
  928. "position": null,
  929. "net_sales": 20094.949,
  930. "track_stock": false,
  931. "item_image": null,
  932. "parent_checkout_id": null,
  933. "is_recipe": false,
  934. "redeem_amount": 0,
  935. "sales_type_id": 7177,
  936. "sales_type_name": "Dine In",
  937. "checkout_modifiers": [],
  938. "checkout_discounts": [
  939. {
  940. "id": 27338,
  941. "discount_id": 0,
  942. "is_deleted": false,
  943. "created_at": "2018-01-27T20:39:15.688+07:00",
  944. "updated_at": "2018-01-27T20:39:16.022+07:00",
  945. "checkout_id": 142301,
  946. "discount_amount": 37905,
  947. "discount_name": "All Discount",
  948. "discount_type": "Rupiah and Percentage",
  949. "discount_percentage": 0,
  950. "payment_id": 89720,
  951. "discount_hash": [
  952. {
  953. "discount_id": 17443,
  954. "discount_type": "percentage",
  955. "discount_name": "Discount C",
  956. "discount_percentage": "20",
  957. "discount_cash": "0.0",
  958. "discount_amount": "11600.0"
  959. },
  960. {
  961. "discount_id": 17441,
  962. "discount_type": "percentage",
  963. "discount_name": "Discount A",
  964. "discount_percentage": "10",
  965. "discount_cash": "0.0",
  966. "discount_amount": "5800.0"
  967. },
  968. {
  969. "discount_id": 17442,
  970. "discount_type": "cash",
  971. "discount_name": "Discount B",
  972. "discount_percentage": "0",
  973. "discount_cash": "20000.0",
  974. "discount_amount": "5858.586"
  975. },
  976. {
  977. "discount_id": 17444,
  978. "discount_type": "cash",
  979. "discount_name": "Discount D",
  980. "discount_percentage": "0",
  981. "discount_cash": "50000.0",
  982. "discount_amount": "14646.465"
  983. }
  984. ]
  985. }
  986. ]
  987. }
  988. ]
  989. },
  990. {
  991. "id": 89719,
  992. "status": "Done",
  993. "payment_no": "3BO4LM",
  994. "payment_type": "edc",
  995. "amount_pay": 649110,
  996. "amount_change": 0,
  997. "total_discount_amount": 0,
  998. "total_gratuity_amount": 28100,
  999. "total_item_price_amount": 0,
  1000. "total_tax_amount": 59010,
  1001. "total_checkouts_amount": 562000,
  1002. "is_refunded": false,
  1003. "refunded_reason": null,
  1004. "refunded_date": null,
  1005. "business_id": 18368,
  1006. "customer_id": null,
  1007. "discount_id": null,
  1008. "is_deleted": false,
  1009. "created_at": "2018-01-27T20:38:42.630+07:00",
  1010. "updated_at": "2018-01-27T20:38:42.630+07:00",
  1011. "total_custom_price_amount": 0,
  1012. "include_gratuity_tax": false,
  1013. "parent_payment_id": null,
  1014. "refund_amount": 0,
  1015. "refund_type": null,
  1016. "card_no": null,
  1017. "created_by": 31698,
  1018. "note": "",
  1019. "total_collected_amount": 649110,
  1020. "server_id": 31698,
  1021. "server_name": "API Test",
  1022. "server_title": "",
  1023. "auth_code": null,
  1024. "cc_name": null,
  1025. "card_type": null,
  1026. "transaction_number": null,
  1027. "transaction_reference": null,
  1028. "outlet_id": 28076,
  1029. "guid": "4430d40a-6afc-4764-af17-6f2496dc076e",
  1030. "synchronized_at": "2018-01-27T20:38:42.570+07:00",
  1031. "uniq_id": "2",
  1032. "transaction_certificate": null,
  1033. "transaction_status_info": null,
  1034. "merchant_id": null,
  1035. "mpos_device_id": null,
  1036. "pg_mid": null,
  1037. "pg_setting": null,
  1038. "order_info": null,
  1039. "tvr": null,
  1040. "cvm_result": null,
  1041. "aid": null,
  1042. "transaction_date": null,
  1043. "pii": null,
  1044. "collected_by": "API Test",
  1045. "shift_id": 0,
  1046. "invoice_no": null,
  1047. "invoice_deposit_amount": null,
  1048. "invoice_due_date": null,
  1049. "invoice_status": null,
  1050. "latitude": null,
  1051. "longitude": null,
  1052. "refund_ids": "--- []\n",
  1053. "total_gross_sales": 562000,
  1054. "total_net_sales": 562000,
  1055. "is_refund_breakdown": true,
  1056. "customer_name": null,
  1057. "customer_email": null,
  1058. "customer_phone": null,
  1059. "subtotal": 562000,
  1060. "creator_name": "API Test",
  1061. "table_name": null,
  1062. "collector_id": 31698,
  1063. "cashlezz_transaction_id": null,
  1064. "sms_id": null,
  1065. "receipt_count": null,
  1066. "order_id": null,
  1067. "is_loyalty": false,
  1068. "total_redeem_amount": 0,
  1069. "is_offline": false,
  1070. "is_sales_type": true,
  1071. "payment_taxes": [
  1072. {
  1073. "id": 77714,
  1074. "name": "tax",
  1075. "amount": 10,
  1076. "total": 59010,
  1077. "taxable_amount": 590100,
  1078. "payment_id": 89719,
  1079. "created_at": "2018-01-27T20:38:42.630+07:00",
  1080. "updated_at": "2018-01-27T20:38:42.567+07:00",
  1081. "tax_id": 11945
  1082. }
  1083. ],
  1084. "payment_gratuities": [
  1085. {
  1086. "id": 89401,
  1087. "name": "Dine In",
  1088. "amount": 5,
  1089. "total": 28100,
  1090. "payment_id": 89719,
  1091. "created_at": "2018-01-27T20:38:42.630+07:00",
  1092. "updated_at": "2018-01-27T20:38:42.564+07:00",
  1093. "gratuity_id": 5826
  1094. }
  1095. ],
  1096. "payment_discounts": [],
  1097. "payment_refunds": [],
  1098. "checkouts": [
  1099. {
  1100. "id": 142300,
  1101. "custom_amount": 0,
  1102. "item_variant_id": 1865661,
  1103. "quantity": 1,
  1104. "discount_amount": 0,
  1105. "tax_amount": 59010,
  1106. "business_id": 18368,
  1107. "payment_id": 89719,
  1108. "is_deleted": false,
  1109. "created_at": "2018-01-27T20:38:42.630+07:00",
  1110. "updated_at": "2018-01-27T20:38:42.556+07:00",
  1111. "item_id": 3191698,
  1112. "item_discount": 0,
  1113. "item_price_library": 562000,
  1114. "item_price": 562000,
  1115. "item_price_discount": 562000,
  1116. "gratuity_amount": 28100,
  1117. "item_price_discount_gratuity": 0,
  1118. "total_price": 562000,
  1119. "item_price_quantity": 562000,
  1120. "category_name": "Uncategorized",
  1121. "category_id": 100844,
  1122. "item_name": "Custom Amount",
  1123. "item_variant_name": "",
  1124. "sku": "",
  1125. "note": null,
  1126. "cogs": null,
  1127. "gross_sales": 562000,
  1128. "outlet_id": 28076,
  1129. "position": null,
  1130. "net_sales": 562000,
  1131. "track_stock": false,
  1132. "item_image": null,
  1133. "parent_checkout_id": null,
  1134. "is_recipe": false,
  1135. "redeem_amount": 0,
  1136. "sales_type_id": 7177,
  1137. "sales_type_name": "Dine In",
  1138. "checkout_modifiers": [],
  1139. "checkout_discounts": []
  1140. }
  1141. ]
  1142. },
  1143. {
  1144. "id": 89718,
  1145. "status": "Done",
  1146. "payment_no": "3BO4LL",
  1147. "payment_type": "gift_card",
  1148. "amount_pay": 10459680,
  1149. "amount_change": 0,
  1150. "total_discount_amount": 0,
  1151. "total_gratuity_amount": 452800,
  1152. "total_item_price_amount": 0,
  1153. "total_tax_amount": 950880,
  1154. "total_checkouts_amount": 9056000,
  1155. "is_refunded": false,
  1156. "refunded_reason": null,
  1157. "refunded_date": null,
  1158. "business_id": 18368,
  1159. "customer_id": null,
  1160. "discount_id": null,
  1161. "is_deleted": false,
  1162. "created_at": "2018-01-27T20:38:11.447+07:00",
  1163. "updated_at": "2018-01-27T20:38:11.447+07:00",
  1164. "total_custom_price_amount": 0,
  1165. "include_gratuity_tax": false,
  1166. "parent_payment_id": null,
  1167. "refund_amount": 0,
  1168. "refund_type": null,
  1169. "card_no": null,
  1170. "created_by": 31698,
  1171. "note": "",
  1172. "total_collected_amount": 10459680,
  1173. "server_id": 31699,
  1174. "server_name": "API Staff",
  1175. "server_title": "",
  1176. "auth_code": null,
  1177. "cc_name": null,
  1178. "card_type": null,
  1179. "transaction_number": null,
  1180. "transaction_reference": null,
  1181. "outlet_id": 28076,
  1182. "guid": "0a75dd9c-b96e-4c98-9c74-7db7709cd190",
  1183. "synchronized_at": "2018-01-27T20:38:11.723+07:00",
  1184. "uniq_id": "2",
  1185. "transaction_certificate": null,
  1186. "transaction_status_info": null,
  1187. "merchant_id": null,
  1188. "mpos_device_id": null,
  1189. "pg_mid": null,
  1190. "pg_setting": null,
  1191. "order_info": null,
  1192. "tvr": null,
  1193. "cvm_result": null,
  1194. "aid": null,
  1195. "transaction_date": null,
  1196. "pii": null,
  1197. "collected_by": "API Test",
  1198. "shift_id": 0,
  1199. "invoice_no": null,
  1200. "invoice_deposit_amount": null,
  1201. "invoice_due_date": null,
  1202. "invoice_status": null,
  1203. "latitude": null,
  1204. "longitude": null,
  1205. "refund_ids": "--- []\n",
  1206. "total_gross_sales": 9056000,
  1207. "total_net_sales": 9056000,
  1208. "is_refund_breakdown": true,
  1209. "customer_name": null,
  1210. "customer_email": null,
  1211. "customer_phone": null,
  1212. "subtotal": 9056000,
  1213. "creator_name": "API Test",
  1214. "table_name": null,
  1215. "collector_id": 31698,
  1216. "cashlezz_transaction_id": null,
  1217. "sms_id": null,
  1218. "receipt_count": null,
  1219. "order_id": null,
  1220. "is_loyalty": false,
  1221. "total_redeem_amount": 0,
  1222. "is_offline": false,
  1223. "is_sales_type": true,
  1224. "payment_taxes": [
  1225. {
  1226. "id": 77713,
  1227. "name": "tax",
  1228. "amount": 10,
  1229. "total": 950880,
  1230. "taxable_amount": 9508800,
  1231. "payment_id": 89718,
  1232. "created_at": "2018-01-27T20:38:11.447+07:00",
  1233. "updated_at": "2018-01-27T20:38:11.720+07:00",
  1234. "tax_id": 11945
  1235. }
  1236. ],
  1237. "payment_gratuities": [
  1238. {
  1239. "id": 89400,
  1240. "name": "Dine In",
  1241. "amount": 5,
  1242. "total": 452800,
  1243. "payment_id": 89718,
  1244. "created_at": "2018-01-27T20:38:11.447+07:00",
  1245. "updated_at": "2018-01-27T20:38:11.715+07:00",
  1246. "gratuity_id": 5826
  1247. }
  1248. ],
  1249. "payment_discounts": [],
  1250. "payment_refunds": [],
  1251. "checkouts": [
  1252. {
  1253. "id": 142299,
  1254. "custom_amount": 0,
  1255. "item_variant_id": 1865661,
  1256. "quantity": 1,
  1257. "discount_amount": 0,
  1258. "tax_amount": 945000,
  1259. "business_id": 18368,
  1260. "payment_id": 89718,
  1261. "is_deleted": false,
  1262. "created_at": "2018-01-27T20:38:11.447+07:00",
  1263. "updated_at": "2018-01-27T20:38:11.706+07:00",
  1264. "item_id": 3191698,
  1265. "item_discount": 0,
  1266. "item_price_library": 9000000,
  1267. "item_price": 9000000,
  1268. "item_price_discount": 9000000,
  1269. "gratuity_amount": 450000,
  1270. "item_price_discount_gratuity": 0,
  1271. "total_price": 9000000,
  1272. "item_price_quantity": 9000000,
  1273. "category_name": "Uncategorized",
  1274. "category_id": 100844,
  1275. "item_name": "Custom Amount",
  1276. "item_variant_name": "",
  1277. "sku": "",
  1278. "note": null,
  1279. "cogs": null,
  1280. "gross_sales": 9000000,
  1281. "outlet_id": 28076,
  1282. "position": null,
  1283. "net_sales": 9000000,
  1284. "track_stock": false,
  1285. "item_image": null,
  1286. "parent_checkout_id": null,
  1287. "is_recipe": false,
  1288. "redeem_amount": 0,
  1289. "sales_type_id": 7177,
  1290. "sales_type_name": "Dine In",
  1291. "checkout_modifiers": [],
  1292. "checkout_discounts": []
  1293. },
  1294. {
  1295. "id": 142298,
  1296. "custom_amount": 0,
  1297. "item_variant_id": 1865661,
  1298. "quantity": 1,
  1299. "discount_amount": 0,
  1300. "tax_amount": 5880,
  1301. "business_id": 18368,
  1302. "payment_id": 89718,
  1303. "is_deleted": false,
  1304. "created_at": "2018-01-27T20:38:11.447+07:00",
  1305. "updated_at": "2018-01-27T20:38:11.698+07:00",
  1306. "item_id": 3191698,
  1307. "item_discount": 0,
  1308. "item_price_library": 56000,
  1309. "item_price": 56000,
  1310. "item_price_discount": 56000,
  1311. "gratuity_amount": 2800,
  1312. "item_price_discount_gratuity": 0,
  1313. "total_price": 56000,
  1314. "item_price_quantity": 56000,
  1315. "category_name": "Uncategorized",
  1316. "category_id": 100844,
  1317. "item_name": "Custom Amount",
  1318. "item_variant_name": "",
  1319. "sku": "",
  1320. "note": null,
  1321. "cogs": null,
  1322. "gross_sales": 56000,
  1323. "outlet_id": 28076,
  1324. "position": null,
  1325. "net_sales": 56000,
  1326. "track_stock": false,
  1327. "item_image": null,
  1328. "parent_checkout_id": null,
  1329. "is_recipe": false,
  1330. "redeem_amount": 0,
  1331. "sales_type_id": 7177,
  1332. "sales_type_name": "Dine In",
  1333. "checkout_modifiers": [],
  1334. "checkout_discounts": []
  1335. }
  1336. ]
  1337. },
  1338. {
  1339. "id": 89717,
  1340. "status": "Done",
  1341. "payment_no": "3BO4LK",
  1342. "payment_type": "gift_card",
  1343. "amount_pay": 346500,
  1344. "amount_change": 0,
  1345. "total_discount_amount": 348000,
  1346. "total_gratuity_amount": 15000,
  1347. "total_item_price_amount": 0,
  1348. "total_tax_amount": 31500,
  1349. "total_checkouts_amount": -48000,
  1350. "is_refunded": false,
  1351. "refunded_reason": null,
  1352. "refunded_date": null,
  1353. "business_id": 18368,
  1354. "customer_id": null,
  1355. "discount_id": null,
  1356. "is_deleted": false,
  1357. "created_at": "2018-01-27T20:35:09.798+07:00",
  1358. "updated_at": "2018-01-27T20:35:09.798+07:00",
  1359. "total_custom_price_amount": 0,
  1360. "include_gratuity_tax": false,
  1361. "parent_payment_id": null,
  1362. "refund_amount": 0,
  1363. "refund_type": null,
  1364. "card_no": null,
  1365. "created_by": 31699,
  1366. "note": "",
  1367. "total_collected_amount": 346500,
  1368. "server_id": null,
  1369. "server_name": null,
  1370. "server_title": null,
  1371. "auth_code": null,
  1372. "cc_name": null,
  1373. "card_type": null,
  1374. "transaction_number": null,
  1375. "transaction_reference": null,
  1376. "outlet_id": 28076,
  1377. "guid": "43cf4f1d-46ce-459a-b145-26c9bc7df626",
  1378. "synchronized_at": "2018-01-27T20:35:10.634+07:00",
  1379. "uniq_id": "2",
  1380. "transaction_certificate": null,
  1381. "transaction_status_info": null,
  1382. "merchant_id": null,
  1383. "mpos_device_id": null,
  1384. "pg_mid": null,
  1385. "pg_setting": null,
  1386. "order_info": null,
  1387. "tvr": null,
  1388. "cvm_result": null,
  1389. "aid": null,
  1390. "transaction_date": null,
  1391. "pii": null,
  1392. "collected_by": "API Staff",
  1393. "shift_id": 0,
  1394. "invoice_no": null,
  1395. "invoice_deposit_amount": null,
  1396. "invoice_due_date": null,
  1397. "invoice_status": null,
  1398. "latitude": null,
  1399. "longitude": null,
  1400. "refund_ids": "--- []\n",
  1401. "total_gross_sales": 648000,
  1402. "total_net_sales": 300000,
  1403. "is_refund_breakdown": true,
  1404. "customer_name": null,
  1405. "customer_email": null,
  1406. "customer_phone": null,
  1407. "subtotal": 300000,
  1408. "creator_name": "API Staff",
  1409. "table_name": null,
  1410. "collector_id": 31699,
  1411. "cashlezz_transaction_id": null,
  1412. "sms_id": null,
  1413. "receipt_count": null,
  1414. "order_id": null,
  1415. "is_loyalty": false,
  1416. "total_redeem_amount": 0,
  1417. "is_offline": false,
  1418. "is_sales_type": true,
  1419. "payment_taxes": [
  1420. {
  1421. "id": 77712,
  1422. "name": "tax",
  1423. "amount": 10,
  1424. "total": 31500,
  1425. "taxable_amount": 315000,
  1426. "payment_id": 89717,
  1427. "created_at": "2018-01-27T20:35:09.798+07:00",
  1428. "updated_at": "2018-01-27T20:35:10.631+07:00",
  1429. "tax_id": 11945
  1430. }
  1431. ],
  1432. "payment_gratuities": [
  1433. {
  1434. "id": 89399,
  1435. "name": "Dine In",
  1436. "amount": 5,
  1437. "total": 15000,
  1438. "payment_id": 89717,
  1439. "created_at": "2018-01-27T20:35:09.798+07:00",
  1440. "updated_at": "2018-01-27T20:35:10.627+07:00",
  1441. "gratuity_id": 5826
  1442. }
  1443. ],
  1444. "payment_discounts": [],
  1445. "payment_refunds": [],
  1446. "checkouts": [
  1447. {
  1448. "id": 142297,
  1449. "custom_amount": 0,
  1450. "item_variant_id": 1865670,
  1451. "quantity": 4,
  1452. "discount_amount": 200000,
  1453. "tax_amount": 9240,
  1454. "business_id": 18368,
  1455. "payment_id": 89717,
  1456. "is_deleted": false,
  1457. "created_at": "2018-01-27T20:35:09.798+07:00",
  1458. "updated_at": "2018-01-27T20:35:10.327+07:00",
  1459. "item_id": 3191705,
  1460. "item_discount": 0,
  1461. "item_price_library": 72000,
  1462. "item_price": 72000,
  1463. "item_price_discount": 88000,
  1464. "gratuity_amount": 4400,
  1465. "item_price_discount_gratuity": 0,
  1466. "total_price": 88000,
  1467. "item_price_quantity": 288000,
  1468. "category_name": "Uncategorized",
  1469. "category_id": 100844,
  1470. "item_name": "Custom",
  1471. "item_variant_name": "",
  1472. "sku": "",
  1473. "note": null,
  1474. "cogs": null,
  1475. "gross_sales": 288000,
  1476. "outlet_id": 28076,
  1477. "position": null,
  1478. "net_sales": 88000,
  1479. "track_stock": false,
  1480. "item_image": null,
  1481. "parent_checkout_id": null,
  1482. "is_recipe": false,
  1483. "redeem_amount": 0,
  1484. "sales_type_id": 7177,
  1485. "sales_type_name": "Dine In",
  1486. "checkout_modifiers": [
  1487. {
  1488. "id": 35181,
  1489. "checkout_id": 142297,
  1490. "modifier_id": 17984,
  1491. "modifier_option_id": 97444,
  1492. "modifier_name": "Makanan",
  1493. "modifier_option_name": "Rice",
  1494. "price": 5000,
  1495. "created_at": "2018-01-27T20:35:09.798+07:00",
  1496. "updated_at": "2018-01-27T20:35:10.335+07:00",
  1497. "cogs": null,
  1498. "outlet_id": 28076,
  1499. "payment_id": 89717,
  1500. "discount_amount": 13888.889,
  1501. "gross_sales": 20000,
  1502. "net_sales": 6111.111,
  1503. "discount_hash": null,
  1504. "redeem_amount": 0
  1505. },
  1506. {
  1507. "id": 35180,
  1508. "checkout_id": 142297,
  1509. "modifier_id": 17984,
  1510. "modifier_option_id": 97446,
  1511. "modifier_name": "Makanan",
  1512. "modifier_option_name": "Meat",
  1513. "price": 10000,
  1514. "created_at": "2018-01-27T20:35:09.798+07:00",
  1515. "updated_at": "2018-01-27T20:35:10.332+07:00",
  1516. "cogs": null,
  1517. "outlet_id": 28076,
  1518. "payment_id": 89717,
  1519. "discount_amount": 27777.778,
  1520. "gross_sales": 40000,
  1521. "net_sales": 12222.222,
  1522. "discount_hash": null,
  1523. "redeem_amount": 0
  1524. },
  1525. {
  1526. "id": 35179,
  1527. "checkout_id": 142297,
  1528. "modifier_id": 17984,
  1529. "modifier_option_id": 97445,
  1530. "modifier_name": "Makanan",
  1531. "modifier_option_name": "Cheese",
  1532. "price": 7000,
  1533. "created_at": "2018-01-27T20:35:09.798+07:00",
  1534. "updated_at": "2018-01-27T20:35:10.329+07:00",
  1535. "cogs": null,
  1536. "outlet_id": 28076,
  1537. "payment_id": 89717,
  1538. "discount_amount": 19444.444,
  1539. "gross_sales": 28000,
  1540. "net_sales": 8555.556,
  1541. "discount_hash": null,
  1542. "redeem_amount": 0
  1543. }
  1544. ],
  1545. "checkout_discounts": []
  1546. },
  1547. {
  1548. "id": 142296,
  1549. "custom_amount": 0,
  1550. "item_variant_id": 1865666,
  1551. "quantity": 1,
  1552. "discount_amount": 2000,
  1553. "tax_amount": 1890,
  1554. "business_id": 18368,
  1555. "payment_id": 89717,
  1556. "is_deleted": false,
  1557. "created_at": "2018-01-27T20:35:09.798+07:00",
  1558. "updated_at": "2018-01-27T20:35:10.319+07:00",
  1559. "item_id": 3191702,
  1560. "item_discount": 0,
  1561. "item_price_library": 20000,
  1562. "item_price": 20000,
  1563. "item_price_discount": 18000,
  1564. "gratuity_amount": 900,
  1565. "item_price_discount_gratuity": 0,
  1566. "total_price": 18000,
  1567. "item_price_quantity": 20000,
  1568. "category_name": "Main Dish",
  1569. "category_id": 100847,
  1570. "item_name": "Chicken",
  1571. "item_variant_name": "Chiken Paha",
  1572. "sku": "",
  1573. "note": null,
  1574. "cogs": null,
  1575. "gross_sales": 20000,
  1576. "outlet_id": 28076,
  1577. "position": null,
  1578. "net_sales": 18000,
  1579. "track_stock": false,
  1580. "item_image": null,
  1581. "parent_checkout_id": null,
  1582. "is_recipe": false,
  1583. "redeem_amount": 0,
  1584. "sales_type_id": 7177,
  1585. "sales_type_name": "Dine In",
  1586. "checkout_modifiers": [],
  1587. "checkout_discounts": []
  1588. },
  1589. {
  1590. "id": 142295,
  1591. "custom_amount": 0,
  1592. "item_variant_id": 1865665,
  1593. "quantity": 4,
  1594. "discount_amount": 6000,
  1595. "tax_amount": 5670,
  1596. "business_id": 18368,
  1597. "payment_id": 89717,
  1598. "is_deleted": false,
  1599. "created_at": "2018-01-27T20:35:09.798+07:00",
  1600. "updated_at": "2018-01-27T20:35:10.313+07:00",
  1601. "item_id": 3191702,
  1602. "item_discount": 0,
  1603. "item_price_library": 15000,
  1604. "item_price": 15000,
  1605. "item_price_discount": 54000,
  1606. "gratuity_amount": 2700,
  1607. "item_price_discount_gratuity": 0,
  1608. "total_price": 54000,
  1609. "item_price_quantity": 60000,
  1610. "category_name": "Main Dish",
  1611. "category_id": 100847,
  1612. "item_name": "Chicken",
  1613. "item_variant_name": "Chiken Wings",
  1614. "sku": "",
  1615. "note": null,
  1616. "cogs": null,
  1617. "gross_sales": 60000,
  1618. "outlet_id": 28076,
  1619. "position": null,
  1620. "net_sales": 54000,
  1621. "track_stock": false,
  1622. "item_image": null,
  1623. "parent_checkout_id": null,
  1624. "is_recipe": false,
  1625. "redeem_amount": 0,
  1626. "sales_type_id": 7177,
  1627. "sales_type_name": "Dine In",
  1628. "checkout_modifiers": [],
  1629. "checkout_discounts": []
  1630. },
  1631. {
  1632. "id": 142294,
  1633. "custom_amount": 0,
  1634. "item_variant_id": 1865664,
  1635. "quantity": 4,
  1636. "discount_amount": 140000,
  1637. "tax_amount": 0,
  1638. "business_id": 18368,
  1639. "payment_id": 89717,
  1640. "is_deleted": false,
  1641. "created_at": "2018-01-27T20:35:09.798+07:00",
  1642. "updated_at": "2018-01-27T20:35:10.307+07:00",
  1643. "item_id": 3191701,
  1644. "item_discount": 0,
  1645. "item_price_library": 35000,
  1646. "item_price": 35000,
  1647. "item_price_discount": 0,
  1648. "gratuity_amount": 0,
  1649. "item_price_discount_gratuity": 0,
  1650. "total_price": 0,
  1651. "item_price_quantity": 140000,
  1652. "category_name": "Main Dish",
  1653. "category_id": 100847,
  1654. "item_name": "Meat Soup",
  1655. "item_variant_name": "",
  1656. "sku": "",
  1657. "note": null,
  1658. "cogs": 16000,
  1659. "gross_sales": 140000,
  1660. "outlet_id": 28076,
  1661. "position": null,
  1662. "net_sales": 0,
  1663. "track_stock": false,
  1664. "item_image": null,
  1665. "parent_checkout_id": null,
  1666. "is_recipe": true,
  1667. "redeem_amount": 0,
  1668. "sales_type_id": 7177,
  1669. "sales_type_name": "Dine In",
  1670. "checkout_modifiers": [],
  1671. "checkout_discounts": []
  1672. },
  1673. {
  1674. "id": 142293,
  1675. "custom_amount": 0,
  1676. "item_variant_id": 1865664,
  1677. "quantity": 4,
  1678. "discount_amount": 0,
  1679. "tax_amount": 14700,
  1680. "business_id": 18368,
  1681. "payment_id": 89717,
  1682. "is_deleted": false,
  1683. "created_at": "2018-01-27T20:35:09.798+07:00",
  1684. "updated_at": "2018-01-27T20:35:10.301+07:00",
  1685. "item_id": 3191701,
  1686. "item_discount": 0,
  1687. "item_price_library": 35000,
  1688. "item_price": 35000,
  1689. "item_price_discount": 140000,
  1690. "gratuity_amount": 7000,
  1691. "item_price_discount_gratuity": 0,
  1692. "total_price": 140000,
  1693. "item_price_quantity": 140000,
  1694. "category_name": "Main Dish",
  1695. "category_id": 100847,
  1696. "item_name": "Meat Soup",
  1697. "item_variant_name": "",
  1698. "sku": "",
  1699. "note": null,
  1700. "cogs": 16000,
  1701. "gross_sales": 140000,
  1702. "outlet_id": 28076,
  1703. "position": null,
  1704. "net_sales": 140000,
  1705. "track_stock": false,
  1706. "item_image": null,
  1707. "parent_checkout_id": null,
  1708. "is_recipe": true,
  1709. "redeem_amount": 0,
  1710. "sales_type_id": 7177,
  1711. "sales_type_name": "Dine In",
  1712. "checkout_modifiers": [],
  1713. "checkout_discounts": []
  1714. }
  1715. ]
  1716. },
  1717. {
  1718. "id": 89716,
  1719. "status": "Done",
  1720. "payment_no": "3BO4LJ",
  1721. "payment_type": "edc",
  1722. "amount_pay": 161700,
  1723. "amount_change": 0,
  1724. "total_discount_amount": 140000,
  1725. "total_gratuity_amount": 7000,
  1726. "total_item_price_amount": 0,
  1727. "total_tax_amount": 14700,
  1728. "total_checkouts_amount": 0,
  1729. "is_refunded": false,
  1730. "refunded_reason": null,
  1731. "refunded_date": null,
  1732. "business_id": 18368,
  1733. "customer_id": 163124,
  1734. "discount_id": null,
  1735. "is_deleted": false,
  1736. "created_at": "2018-01-27T20:34:33.710+07:00",
  1737. "updated_at": "2018-01-27T20:34:33.710+07:00",
  1738. "total_custom_price_amount": 0,
  1739. "include_gratuity_tax": false,
  1740. "parent_payment_id": null,
  1741. "refund_amount": 0,
  1742. "refund_type": null,
  1743. "card_no": null,
  1744. "created_by": 31699,
  1745. "note": "",
  1746. "total_collected_amount": 161700,
  1747. "server_id": null,
  1748. "server_name": null,
  1749. "server_title": null,
  1750. "auth_code": null,
  1751. "cc_name": null,
  1752. "card_type": null,
  1753. "transaction_number": null,
  1754. "transaction_reference": null,
  1755. "outlet_id": 28076,
  1756. "guid": "002765df-926f-4cb3-aa64-59881805f275",
  1757. "synchronized_at": "2018-01-27T20:34:34.411+07:00",
  1758. "uniq_id": "2",
  1759. "transaction_certificate": null,
  1760. "transaction_status_info": null,
  1761. "merchant_id": null,
  1762. "mpos_device_id": null,
  1763. "pg_mid": null,
  1764. "pg_setting": null,
  1765. "order_info": null,
  1766. "tvr": null,
  1767. "cvm_result": null,
  1768. "aid": null,
  1769. "transaction_date": null,
  1770. "pii": null,
  1771. "collected_by": "API Staff",
  1772. "shift_id": 0,
  1773. "invoice_no": null,
  1774. "invoice_deposit_amount": null,
  1775. "invoice_due_date": null,
  1776. "invoice_status": null,
  1777. "latitude": null,
  1778. "longitude": null,
  1779. "refund_ids": "--- []\n",
  1780. "total_gross_sales": 280000,
  1781. "total_net_sales": 140000,
  1782. "is_refund_breakdown": true,
  1783. "customer_name": "Renata",
  1784. "customer_email": "renata@mailinator.com",
  1785. "customer_phone": "+62856366952255555",
  1786. "subtotal": 140000,
  1787. "creator_name": "API Staff",
  1788. "table_name": null,
  1789. "collector_id": 31699,
  1790. "cashlezz_transaction_id": null,
  1791. "sms_id": null,
  1792. "receipt_count": null,
  1793. "order_id": null,
  1794. "is_loyalty": false,
  1795. "total_redeem_amount": 0,
  1796. "is_offline": false,
  1797. "is_sales_type": true,
  1798. "payment_taxes": [
  1799. {
  1800. "id": 77711,
  1801. "name": "tax",
  1802. "amount": 10,
  1803. "total": 14700,
  1804. "taxable_amount": 147000,
  1805. "payment_id": 89716,
  1806. "created_at": "2018-01-27T20:34:33.710+07:00",
  1807. "updated_at": "2018-01-27T20:34:34.409+07:00",
  1808. "tax_id": 11945
  1809. }
  1810. ],
  1811. "payment_gratuities": [
  1812. {
  1813. "id": 89398,
  1814. "name": "Dine In",
  1815. "amount": 5,
  1816. "total": 7000,
  1817. "payment_id": 89716,
  1818. "created_at": "2018-01-27T20:34:33.710+07:00",
  1819. "updated_at": "2018-01-27T20:34:34.405+07:00",
  1820. "gratuity_id": 5826
  1821. }
  1822. ],
  1823. "payment_discounts": [],
  1824. "payment_refunds": [],
  1825. "checkouts": [
  1826. {
  1827. "id": 142292,
  1828. "custom_amount": 0,
  1829. "item_variant_id": 1865664,
  1830. "quantity": 4,
  1831. "discount_amount": 140000,
  1832. "tax_amount": 0,
  1833. "business_id": 18368,
  1834. "payment_id": 89716,
  1835. "is_deleted": false,
  1836. "created_at": "2018-01-27T20:34:33.710+07:00",
  1837. "updated_at": "2018-01-27T20:34:33.982+07:00",
  1838. "item_id": 3191701,
  1839. "item_discount": 0,
  1840. "item_price_library": 35000,
  1841. "item_price": 35000,
  1842. "item_price_discount": 0,
  1843. "gratuity_amount": 0,
  1844. "item_price_discount_gratuity": 0,
  1845. "total_price": 0,
  1846. "item_price_quantity": 140000,
  1847. "category_name": "Main Dish",
  1848. "category_id": 100847,
  1849. "item_name": "Meat Soup",
  1850. "item_variant_name": "",
  1851. "sku": "",
  1852. "note": null,
  1853. "cogs": 16000,
  1854. "gross_sales": 140000,
  1855. "outlet_id": 28076,
  1856. "position": null,
  1857. "net_sales": 0,
  1858. "track_stock": false,
  1859. "item_image": null,
  1860. "parent_checkout_id": null,
  1861. "is_recipe": true,
  1862. "redeem_amount": 0,
  1863. "sales_type_id": 7177,
  1864. "sales_type_name": "Dine In",
  1865. "checkout_modifiers": [],
  1866. "checkout_discounts": []
  1867. },
  1868. {
  1869. "id": 142291,
  1870. "custom_amount": 0,
  1871. "item_variant_id": 1865664,
  1872. "quantity": 4,
  1873. "discount_amount": 0,
  1874. "tax_amount": 14700,
  1875. "business_id": 18368,
  1876. "payment_id": 89716,
  1877. "is_deleted": false,
  1878. "created_at": "2018-01-27T20:34:33.710+07:00",
  1879. "updated_at": "2018-01-27T20:34:33.972+07:00",
  1880. "item_id": 3191701,
  1881. "item_discount": 0,
  1882. "item_price_library": 35000,
  1883. "item_price": 35000,
  1884. "item_price_discount": 140000,
  1885. "gratuity_amount": 7000,
  1886. "item_price_discount_gratuity": 0,
  1887. "total_price": 140000,
  1888. "item_price_quantity": 140000,
  1889. "category_name": "Main Dish",
  1890. "category_id": 100847,
  1891. "item_name": "Meat Soup",
  1892. "item_variant_name": "",
  1893. "sku": "",
  1894. "note": null,
  1895. "cogs": 16000,
  1896. "gross_sales": 140000,
  1897. "outlet_id": 28076,
  1898. "position": null,
  1899. "net_sales": 140000,
  1900. "track_stock": false,
  1901. "item_image": null,
  1902. "parent_checkout_id": null,
  1903. "is_recipe": true,
  1904. "redeem_amount": 0,
  1905. "sales_type_id": 7177,
  1906. "sales_type_name": "Dine In",
  1907. "checkout_modifiers": [],
  1908. "checkout_discounts": []
  1909. }
  1910. ]
  1911. },
  1912. {
  1913. "id": 89715,
  1914. "status": "Done",
  1915. "payment_no": "3BO4LI",
  1916. "payment_type": "cash",
  1917. "amount_pay": 7935000,
  1918. "amount_change": 4000,
  1919. "total_discount_amount": 0,
  1920. "total_gratuity_amount": 210000,
  1921. "total_item_price_amount": 0,
  1922. "total_tax_amount": 721000,
  1923. "total_checkouts_amount": 7000000,
  1924. "is_refunded": false,
  1925. "refunded_reason": null,
  1926. "refunded_date": null,
  1927. "business_id": 18368,
  1928. "customer_id": null,
  1929. "discount_id": null,
  1930. "is_deleted": false,
  1931. "created_at": "2018-01-27T20:33:00.271+07:00",
  1932. "updated_at": "2018-01-27T20:33:00.271+07:00",
  1933. "total_custom_price_amount": 0,
  1934. "include_gratuity_tax": false,
  1935. "parent_payment_id": null,
  1936. "refund_amount": 0,
  1937. "refund_type": null,
  1938. "card_no": null,
  1939. "created_by": 31698,
  1940. "note": null,
  1941. "total_collected_amount": 7931000,
  1942. "server_id": null,
  1943. "server_name": null,
  1944. "server_title": null,
  1945. "auth_code": null,
  1946. "cc_name": null,
  1947. "card_type": null,
  1948. "transaction_number": null,
  1949. "transaction_reference": null,
  1950. "outlet_id": 28076,
  1951. "guid": "23075d7f-76bf-41c9-8838-5f4431d00a2f",
  1952. "synchronized_at": "2018-01-27T20:33:00.672+07:00",
  1953. "uniq_id": "2",
  1954. "transaction_certificate": null,
  1955. "transaction_status_info": null,
  1956. "merchant_id": null,
  1957. "mpos_device_id": null,
  1958. "pg_mid": null,
  1959. "pg_setting": null,
  1960. "order_info": null,
  1961. "tvr": null,
  1962. "cvm_result": null,
  1963. "aid": null,
  1964. "transaction_date": null,
  1965. "pii": null,
  1966. "collected_by": "API Test",
  1967. "shift_id": 0,
  1968. "invoice_no": null,
  1969. "invoice_deposit_amount": null,
  1970. "invoice_due_date": null,
  1971. "invoice_status": null,
  1972. "latitude": null,
  1973. "longitude": null,
  1974. "refund_ids": "--- []\n",
  1975. "total_gross_sales": 7000000,
  1976. "total_net_sales": 7000000,
  1977. "is_refund_breakdown": true,
  1978. "customer_name": null,
  1979. "customer_email": null,
  1980. "customer_phone": null,
  1981. "subtotal": 7000000,
  1982. "creator_name": "API Test",
  1983. "table_name": null,
  1984. "collector_id": 31698,
  1985. "cashlezz_transaction_id": null,
  1986. "sms_id": null,
  1987. "receipt_count": null,
  1988. "order_id": null,
  1989. "is_loyalty": false,
  1990. "total_redeem_amount": 0,
  1991. "is_offline": false,
  1992. "is_sales_type": true,
  1993. "payment_taxes": [
  1994. {
  1995. "id": 77710,
  1996. "name": "tax",
  1997. "amount": 10,
  1998. "total": 721000,
  1999. "taxable_amount": 7210000,
  2000. "payment_id": 89715,
  2001. "created_at": "2018-01-27T20:33:00.271+07:00",
  2002. "updated_at": "2018-01-27T20:33:00.669+07:00",
  2003. "tax_id": 11945
  2004. }
  2005. ],
  2006. "payment_gratuities": [
  2007. {
  2008. "id": 89397,
  2009. "name": "Take Away",
  2010. "amount": 3,
  2011. "total": 210000,
  2012. "payment_id": 89715,
  2013. "created_at": "2018-01-27T20:33:00.271+07:00",
  2014. "updated_at": "2018-01-27T20:33:00.666+07:00",
  2015. "gratuity_id": 5827
  2016. }
  2017. ],
  2018. "payment_discounts": [],
  2019. "payment_refunds": [],
  2020. "checkouts": [
  2021. {
  2022. "id": 142290,
  2023. "custom_amount": 0,
  2024. "item_variant_id": 1865661,
  2025. "quantity": 1,
  2026. "discount_amount": 0,
  2027. "tax_amount": 669500,
  2028. "business_id": 18368,
  2029. "payment_id": 89715,
  2030. "is_deleted": false,
  2031. "created_at": "2018-01-27T20:33:00.271+07:00",
  2032. "updated_at": "2018-01-27T20:33:00.657+07:00",
  2033. "item_id": 3191698,
  2034. "item_discount": 0,
  2035. "item_price_library": 6500000,
  2036. "item_price": 6500000,
  2037. "item_price_discount": 6500000,
  2038. "gratuity_amount": 195000,
  2039. "item_price_discount_gratuity": 0,
  2040. "total_price": 6500000,
  2041. "item_price_quantity": 6500000,
  2042. "category_name": "Uncategorized",
  2043. "category_id": 100844,
  2044. "item_name": "Custom Amount",
  2045. "item_variant_name": "",
  2046. "sku": "",
  2047. "note": null,
  2048. "cogs": null,
  2049. "gross_sales": 6500000,
  2050. "outlet_id": 28076,
  2051. "position": null,
  2052. "net_sales": 6500000,
  2053. "track_stock": false,
  2054. "item_image": null,
  2055. "parent_checkout_id": null,
  2056. "is_recipe": false,
  2057. "redeem_amount": 0,
  2058. "sales_type_id": 7178,
  2059. "sales_type_name": "Take Away",
  2060. "checkout_modifiers": [],
  2061. "checkout_discounts": []
  2062. },
  2063. {
  2064. "id": 142289,
  2065. "custom_amount": 0,
  2066. "item_variant_id": 1865661,
  2067. "quantity": 1,
  2068. "discount_amount": 0,
  2069. "tax_amount": 51500,
  2070. "business_id": 18368,
  2071. "payment_id": 89715,
  2072. "is_deleted": false,
  2073. "created_at": "2018-01-27T20:33:00.271+07:00",
  2074. "updated_at": "2018-01-27T20:33:00.633+07:00",
  2075. "item_id": 3191698,
  2076. "item_discount": 0,
  2077. "item_price_library": 500000,
  2078. "item_price": 500000,
  2079. "item_price_discount": 500000,
  2080. "gratuity_amount": 15000,
  2081. "item_price_discount_gratuity": 0,
  2082. "total_price": 500000,
  2083. "item_price_quantity": 500000,
  2084. "category_name": "Uncategorized",
  2085. "category_id": 100844,
  2086. "item_name": "Custom Amount",
  2087. "item_variant_name": "",
  2088. "sku": "",
  2089. "note": null,
  2090. "cogs": null,
  2091. "gross_sales": 500000,
  2092. "outlet_id": 28076,
  2093. "position": null,
  2094. "net_sales": 500000,
  2095. "track_stock": false,
  2096. "item_image": null,
  2097. "parent_checkout_id": null,
  2098. "is_recipe": false,
  2099. "redeem_amount": 0,
  2100. "sales_type_id": 7178,
  2101. "sales_type_name": "Take Away",
  2102. "checkout_modifiers": [],
  2103. "checkout_discounts": []
  2104. }
  2105. ]
  2106. },
  2107. {
  2108. "id": 89714,
  2109. "status": "Done",
  2110. "payment_no": "INV3BO4LH",
  2111. "payment_type": "invoice",
  2112. "amount_pay": 1254000,
  2113. "amount_change": 0,
  2114. "total_discount_amount": 0,
  2115. "total_gratuity_amount": 55000,
  2116. "total_item_price_amount": 0,
  2117. "total_tax_amount": 115500,
  2118. "total_checkouts_amount": 783500,
  2119. "is_refunded": false,
  2120. "refunded_reason": null,
  2121. "refunded_date": null,
  2122. "business_id": 18368,
  2123. "customer_id": 163129,
  2124. "discount_id": null,
  2125. "is_deleted": false,
  2126. "created_at": "2018-01-27T20:31:15.692+07:00",
  2127. "updated_at": "2018-01-27T20:31:15.970+07:00",
  2128. "total_custom_price_amount": 0,
  2129. "include_gratuity_tax": false,
  2130. "parent_payment_id": null,
  2131. "refund_amount": 0,
  2132. "refund_type": null,
  2133. "card_no": null,
  2134. "created_by": 31698,
  2135. "note": "",
  2136. "total_collected_amount": 1254000,
  2137. "server_id": null,
  2138. "server_name": null,
  2139. "server_title": null,
  2140. "auth_code": null,
  2141. "cc_name": null,
  2142. "card_type": null,
  2143. "transaction_number": null,
  2144. "transaction_reference": null,
  2145. "outlet_id": 28076,
  2146. "guid": "98e53de5-d281-49bb-a36a-57bdd0e94061",
  2147. "synchronized_at": "2018-01-27T20:31:15.970+07:00",
  2148. "uniq_id": "2",
  2149. "transaction_certificate": null,
  2150. "transaction_status_info": null,
  2151. "merchant_id": null,
  2152. "mpos_device_id": null,
  2153. "pg_mid": null,
  2154. "pg_setting": null,
  2155. "order_info": null,
  2156. "tvr": null,
  2157. "cvm_result": null,
  2158. "aid": null,
  2159. "transaction_date": null,
  2160. "pii": null,
  2161. "collected_by": "API Test",
  2162. "shift_id": 0,
  2163. "invoice_no": "INV3BO4LH",
  2164. "invoice_deposit_amount": 0,
  2165. "invoice_due_date": "2018-02-03",
  2166. "invoice_status": "unpaid",
  2167. "latitude": null,
  2168. "longitude": null,
  2169. "refund_ids": "--- []\n",
  2170. "total_gross_sales": 1400000,
  2171. "total_net_sales": 1100000,
  2172. "is_refund_breakdown": true,
  2173. "customer_name": "Desy",
  2174. "customer_email": "desy@mokapos.com",
  2175. "customer_phone": "+6281288004402",
  2176. "subtotal": 1100000,
  2177. "creator_name": "API Test",
  2178. "table_name": null,
  2179. "collector_id": 31698,
  2180. "cashlezz_transaction_id": null,
  2181. "sms_id": null,
  2182. "receipt_count": null,
  2183. "order_id": null,
  2184. "is_loyalty": true,
  2185. "total_redeem_amount": 300000,
  2186. "is_offline": false,
  2187. "is_sales_type": true,
  2188. "payment_taxes": [
  2189. {
  2190. "id": 77709,
  2191. "name": "tax",
  2192. "amount": 10,
  2193. "total": 115500,
  2194. "taxable_amount": 1155000,
  2195. "payment_id": 89714,
  2196. "created_at": "2018-01-27T20:31:15.692+07:00",
  2197. "updated_at": "2018-01-27T20:31:15.780+07:00",
  2198. "tax_id": 11945
  2199. }
  2200. ],
  2201. "payment_gratuities": [
  2202. {
  2203. "id": 89396,
  2204. "name": "Dine In",
  2205. "amount": 5,
  2206. "total": 55000,
  2207. "payment_id": 89714,
  2208. "created_at": "2018-01-27T20:31:15.692+07:00",
  2209. "updated_at": "2018-01-27T20:31:15.776+07:00",
  2210. "gratuity_id": 5826
  2211. }
  2212. ],
  2213. "payment_discounts": [],
  2214. "payment_refunds": [],
  2215. "checkouts": [
  2216. {
  2217. "id": 142288,
  2218. "custom_amount": 0,
  2219. "item_variant_id": 1865661,
  2220. "quantity": 1,
  2221. "discount_amount": 0,
  2222. "tax_amount": 74250,
  2223. "business_id": 18368,
  2224. "payment_id": 89714,
  2225. "is_deleted": false,
  2226. "created_at": "2018-01-27T20:31:15.692+07:00",
  2227. "updated_at": "2018-01-27T20:31:15.767+07:00",
  2228. "item_id": 3191698,
  2229. "item_discount": 0,
  2230. "item_price_library": 900000,
  2231. "item_price": 900000,
  2232. "item_price_discount": 900000,
  2233. "gratuity_amount": 35357.14285,
  2234. "item_price_discount_gratuity": 0,
  2235. "total_price": 707142.857,
  2236. "item_price_quantity": 900000,
  2237. "category_name": "Uncategorized",
  2238. "category_id": 100844,
  2239. "item_name": "Custom Amount",
  2240. "item_variant_name": "",
  2241. "sku": "",
  2242. "note": null,
  2243. "cogs": null,
  2244. "gross_sales": 900000,
  2245. "outlet_id": 28076,
  2246. "position": null,
  2247. "net_sales": 707142.857,
  2248. "track_stock": false,
  2249. "item_image": null,
  2250. "parent_checkout_id": null,
  2251. "is_recipe": false,
  2252. "redeem_amount": 192857.143,
  2253. "sales_type_id": 7177,
  2254. "sales_type_name": "Dine In",
  2255. "checkout_modifiers": [],
  2256. "checkout_discounts": []
  2257. },
  2258. {
  2259. "id": 142287,
  2260. "custom_amount": 0,
  2261. "item_variant_id": 1865661,
  2262. "quantity": 1,
  2263. "discount_amount": 0,
  2264. "tax_amount": 41250,
  2265. "business_id": 18368,
  2266. "payment_id": 89714,
  2267. "is_deleted": false,
  2268. "created_at": "2018-01-27T20:31:15.692+07:00",
  2269. "updated_at": "2018-01-27T20:31:15.759+07:00",
  2270. "item_id": 3191698,
  2271. "item_discount": 0,
  2272. "item_price_library": 500000,
  2273. "item_price": 500000,
  2274. "item_price_discount": 500000,
  2275. "gratuity_amount": 19642.85715,
  2276. "item_price_discount_gratuity": 0,
  2277. "total_price": 392857.143,
  2278. "item_price_quantity": 500000,
  2279. "category_name": "Uncategorized",
  2280. "category_id": 100844,
  2281. "item_name": "Custom Amount",
  2282. "item_variant_name": "",
  2283. "sku": "",
  2284. "note": null,
  2285. "cogs": null,
  2286. "gross_sales": 500000,
  2287. "outlet_id": 28076,
  2288. "position": null,
  2289. "net_sales": 392857.143,
  2290. "track_stock": false,
  2291. "item_image": null,
  2292. "parent_checkout_id": null,
  2293. "is_recipe": false,
  2294. "redeem_amount": 107142.857,
  2295. "sales_type_id": 7177,
  2296. "sales_type_name": "Dine In",
  2297. "checkout_modifiers": [],
  2298. "checkout_discounts": []
  2299. }
  2300. ]
  2301. },
  2302. {
  2303. "id": 89713,
  2304. "status": "Done",
  2305. "payment_no": "INV3BO4LG",
  2306. "payment_type": "invoice",
  2307. "amount_pay": 9313920,
  2308. "amount_change": 0,
  2309. "total_discount_amount": 0,
  2310. "total_gratuity_amount": 403200,
  2311. "total_item_price_amount": 0,
  2312. "total_tax_amount": 846720,
  2313. "total_checkouts_amount": 8064000,
  2314. "is_refunded": false,
  2315. "refunded_reason": null,
  2316. "refunded_date": null,
  2317. "business_id": 18368,
  2318. "customer_id": 163129,
  2319. "discount_id": null,
  2320. "is_deleted": false,
  2321. "created_at": "2018-01-27T20:20:27.338+07:00",
  2322. "updated_at": "2018-01-27T20:21:25.939+07:00",
  2323. "total_custom_price_amount": 0,
  2324. "include_gratuity_tax": false,
  2325. "parent_payment_id": null,
  2326. "refund_amount": 0,
  2327. "refund_type": null,
  2328. "card_no": null,
  2329. "created_by": 31698,
  2330. "note": "",
  2331. "total_collected_amount": 9313920,
  2332. "server_id": null,
  2333. "server_name": null,
  2334. "server_title": null,
  2335. "auth_code": null,
  2336. "cc_name": null,
  2337. "card_type": null,
  2338. "transaction_number": null,
  2339. "transaction_reference": null,
  2340. "outlet_id": 28076,
  2341. "guid": "abc6ce5b-9750-4a2d-b21d-fed5d7947c14",
  2342. "synchronized_at": "2018-01-27T20:21:25.939+07:00",
  2343. "uniq_id": "2",
  2344. "transaction_certificate": null,
  2345. "transaction_status_info": null,
  2346. "merchant_id": null,
  2347. "mpos_device_id": null,
  2348. "pg_mid": null,
  2349. "pg_setting": null,
  2350. "order_info": null,
  2351. "tvr": null,
  2352. "cvm_result": null,
  2353. "aid": null,
  2354. "transaction_date": null,
  2355. "pii": null,
  2356. "collected_by": "API Test",
  2357. "shift_id": 0,
  2358. "invoice_no": "INV3BO4LG",
  2359. "invoice_deposit_amount": 0,
  2360. "invoice_due_date": "2018-02-26",
  2361. "invoice_status": "paid",
  2362. "latitude": null,
  2363. "longitude": null,
  2364. "refund_ids": "--- []\n",
  2365. "total_gross_sales": 8064000,
  2366. "total_net_sales": 8064000,
  2367. "is_refund_breakdown": true,
  2368. "customer_name": "Desy",
  2369. "customer_email": "desy@mokapos.com",
  2370. "customer_phone": "+6281288004402",
  2371. "subtotal": 8064000,
  2372. "creator_name": "API Test",
  2373. "table_name": null,
  2374. "collector_id": 31698,
  2375. "cashlezz_transaction_id": null,
  2376. "sms_id": null,
  2377. "receipt_count": null,
  2378. "order_id": "6SA0004",
  2379. "is_loyalty": true,
  2380. "total_redeem_amount": 0,
  2381. "is_offline": false,
  2382. "is_sales_type": true,
  2383. "payment_taxes": [
  2384. {
  2385. "id": 77708,
  2386. "name": "tax",
  2387. "amount": 10,
  2388. "total": 846720,
  2389. "taxable_amount": 8467200,
  2390. "payment_id": 89713,
  2391. "created_at": "2018-01-27T20:20:27.338+07:00",
  2392. "updated_at": "2018-01-27T20:20:27.184+07:00",
  2393. "tax_id": 11945
  2394. }
  2395. ],
  2396. "payment_gratuities": [
  2397. {
  2398. "id": 89395,
  2399. "name": "Dine In",
  2400. "amount": 5,
  2401. "total": 403200,
  2402. "payment_id": 89713,
  2403. "created_at": "2018-01-27T20:20:27.338+07:00",
  2404. "updated_at": "2018-01-27T20:20:27.181+07:00",
  2405. "gratuity_id": 5826
  2406. }
  2407. ],
  2408. "payment_discounts": [],
  2409. "payment_refunds": [],
  2410. "checkouts": [
  2411. {
  2412. "id": 142286,
  2413. "custom_amount": 0,
  2414. "item_variant_id": 1865661,
  2415. "quantity": 1,
  2416. "discount_amount": 0,
  2417. "tax_amount": 840000,
  2418. "business_id": 18368,
  2419. "payment_id": 89713,
  2420. "is_deleted": false,
  2421. "created_at": "2018-01-27T20:20:27.338+07:00",
  2422. "updated_at": "2018-01-27T20:20:27.173+07:00",
  2423. "item_id": 3191698,
  2424. "item_discount": 0,
  2425. "item_price_library": 8000000,
  2426. "item_price": 8000000,
  2427. "item_price_discount": 8000000,
  2428. "gratuity_amount": 400000,
  2429. "item_price_discount_gratuity": 0,
  2430. "total_price": 8000000,
  2431. "item_price_quantity": 8000000,
  2432. "category_name": "Uncategorized",
  2433. "category_id": 100844,
  2434. "item_name": "Custom Amount",
  2435. "item_variant_name": "",
  2436. "sku": "",
  2437. "note": null,
  2438. "cogs": null,
  2439. "gross_sales": 8000000,
  2440. "outlet_id": 28076,
  2441. "position": null,
  2442. "net_sales": 8000000,
  2443. "track_stock": false,
  2444. "item_image": null,
  2445. "parent_checkout_id": null,
  2446. "is_recipe": false,
  2447. "redeem_amount": 0,
  2448. "sales_type_id": 7177,
  2449. "sales_type_name": "Dine In",
  2450. "checkout_modifiers": [],
  2451. "checkout_discounts": []
  2452. },
  2453. {
  2454. "id": 142285,
  2455. "custom_amount": 0,
  2456. "item_variant_id": 1865671,
  2457. "quantity": 8,
  2458. "discount_amount": 0,
  2459. "tax_amount": 6720,
  2460. "business_id": 18368,
  2461. "payment_id": 89713,
  2462. "is_deleted": false,
  2463. "created_at": "2018-01-27T20:20:27.338+07:00",
  2464. "updated_at": "2018-01-27T20:20:27.166+07:00",
  2465. "item_id": 3191706,
  2466. "item_discount": 0,
  2467. "item_price_library": 8000,
  2468. "item_price": 8000,
  2469. "item_price_discount": 64000,
  2470. "gratuity_amount": 3200,
  2471. "item_price_discount_gratuity": 0,
  2472. "total_price": 64000,
  2473. "item_price_quantity": 64000,
  2474. "category_name": "Main Dish",
  2475. "category_id": 100847,
  2476. "item_name": "Rice",
  2477. "item_variant_name": "",
  2478. "sku": "",
  2479. "note": null,
  2480. "cogs": null,
  2481. "gross_sales": 64000,
  2482. "outlet_id": 28076,
  2483. "position": null,
  2484. "net_sales": 64000,
  2485. "track_stock": false,
  2486. "item_image": "#f44336",
  2487. "parent_checkout_id": null,
  2488. "is_recipe": false,
  2489. "redeem_amount": 0,
  2490. "sales_type_id": 7177,
  2491. "sales_type_name": "Dine In",
  2492. "checkout_modifiers": [],
  2493. "checkout_discounts": []
  2494. }
  2495. ]
  2496. },
  2497. {
  2498. "id": 89712,
  2499. "status": "Done",
  2500. "payment_no": "3BO4LF",
  2501. "payment_type": "edc",
  2502. "amount_pay": 99907.5,
  2503. "amount_change": 0,
  2504. "total_discount_amount": 201500,
  2505. "total_gratuity_amount": 4325,
  2506. "total_item_price_amount": 0,
  2507. "total_tax_amount": 9082.5,
  2508. "total_checkouts_amount": -152000,
  2509. "is_refunded": false,
  2510. "refunded_reason": null,
  2511. "refunded_date": null,
  2512. "business_id": 18368,
  2513. "customer_id": 163129,
  2514. "discount_id": null,
  2515. "is_deleted": false,
  2516. "created_at": "2018-01-27T20:19:00.366+07:00",
  2517. "updated_at": "2018-01-27T20:19:00.366+07:00",
  2518. "total_custom_price_amount": 0,
  2519. "include_gratuity_tax": false,
  2520. "parent_payment_id": null,
  2521. "refund_amount": 0,
  2522. "refund_type": null,
  2523. "card_no": null,
  2524. "created_by": 31698,
  2525. "note": "",
  2526. "total_collected_amount": 99907.5,
  2527. "server_id": null,
  2528. "server_name": null,
  2529. "server_title": null,
  2530. "auth_code": null,
  2531. "cc_name": null,
  2532. "card_type": null,
  2533. "transaction_number": null,
  2534. "transaction_reference": null,
  2535. "outlet_id": 28076,
  2536. "guid": "482c0a69-d33b-4f4e-ae5f-ef93abf0f971",
  2537. "synchronized_at": "2018-01-27T20:19:30.887+07:00",
  2538. "uniq_id": "2",
  2539. "transaction_certificate": null,
  2540. "transaction_status_info": null,
  2541. "merchant_id": null,
  2542. "mpos_device_id": null,
  2543. "pg_mid": null,
  2544. "pg_setting": null,
  2545. "order_info": null,
  2546. "tvr": null,
  2547. "cvm_result": null,
  2548. "aid": null,
  2549. "transaction_date": null,
  2550. "pii": null,
  2551. "collected_by": "API Test",
  2552. "shift_id": 0,
  2553. "invoice_no": null,
  2554. "invoice_deposit_amount": null,
  2555. "invoice_due_date": null,
  2556. "invoice_status": null,
  2557. "latitude": null,
  2558. "longitude": null,
  2559. "refund_ids": "--- []\n",
  2560. "total_gross_sales": 325000,
  2561. "total_net_sales": 86500,
  2562. "is_refund_breakdown": true,
  2563. "customer_name": "Desy",
  2564. "customer_email": "",
  2565. "customer_phone": "+6281288004402",
  2566. "subtotal": 86500,
  2567. "creator_name": "API Test",
  2568. "table_name": null,
  2569. "collector_id": 31698,
  2570. "cashlezz_transaction_id": null,
  2571. "sms_id": null,
  2572. "receipt_count": null,
  2573. "order_id": null,
  2574. "is_loyalty": true,
  2575. "total_redeem_amount": 37000,
  2576. "is_offline": false,
  2577. "is_sales_type": true,
  2578. "payment_taxes": [
  2579. {
  2580. "id": 77707,
  2581. "name": "tax",
  2582. "amount": 10,
  2583. "total": 9082.5,
  2584. "taxable_amount": 90825,
  2585. "payment_id": 89712,
  2586. "created_at": "2018-01-27T20:19:00.366+07:00",
  2587. "updated_at": "2018-01-27T20:19:30.885+07:00",
  2588. "tax_id": 11945
  2589. }
  2590. ],
  2591. "payment_gratuities": [
  2592. {
  2593. "id": 89394,
  2594. "name": "Dine In",
  2595. "amount": 5,
  2596. "total": 4325,
  2597. "payment_id": 89712,
  2598. "created_at": "2018-01-27T20:19:00.366+07:00",
  2599. "updated_at": "2018-01-27T20:19:30.881+07:00",
  2600. "gratuity_id": 5826
  2601. }
  2602. ],
  2603. "payment_discounts": [
  2604. {
  2605. "id": 7512,
  2606. "payment_id": 89712,
  2607. "discount_id": 17442,
  2608. "discount_amount": 20000,
  2609. "discount_name": "Discount B",
  2610. "discount_type": "cash",
  2611. "is_deleted": false,
  2612. "created_at": "2018-01-27T20:19:00.366+07:00",
  2613. "updated_at": "2018-01-27T20:19:30.877+07:00",
  2614. "discount_cash": 20000
  2615. }
  2616. ],
  2617. "payment_refunds": [],
  2618. "checkouts": [
  2619. {
  2620. "id": 142284,
  2621. "custom_amount": 0,
  2622. "item_variant_id": 1865664,
  2623. "quantity": 4,
  2624. "discount_amount": 140000,
  2625. "tax_amount": 0,
  2626. "business_id": 18368,
  2627. "payment_id": 89712,
  2628. "is_deleted": false,
  2629. "created_at": "2018-01-27T20:19:00.366+07:00",
  2630. "updated_at": "2018-01-27T20:19:30.546+07:00",
  2631. "item_id": 3191701,
  2632. "item_discount": 0,
  2633. "item_price_library": 35000,
  2634. "item_price": 35000,
  2635. "item_price_discount": 0,
  2636. "gratuity_amount": 0,
  2637. "item_price_discount_gratuity": 0,
  2638. "total_price": 0,
  2639. "item_price_quantity": 140000,
  2640. "category_name": "Main Dish",
  2641. "category_id": 100847,
  2642. "item_name": "Meat Soup",
  2643. "item_variant_name": "",
  2644. "sku": "",
  2645. "note": null,
  2646. "cogs": 16000,
  2647. "gross_sales": 140000,
  2648. "outlet_id": 28076,
  2649. "position": null,
  2650. "net_sales": 0,
  2651. "track_stock": false,
  2652. "item_image": null,
  2653. "parent_checkout_id": null,
  2654. "is_recipe": true,
  2655. "redeem_amount": 0,
  2656. "sales_type_id": 7177,
  2657. "sales_type_name": "Dine In",
  2658. "checkout_modifiers": [],
  2659. "checkout_discounts": []
  2660. },
  2661. {
  2662. "id": 142283,
  2663. "custom_amount": 0,
  2664. "item_variant_id": 1865664,
  2665. "quantity": 4,
  2666. "discount_amount": 43774.648,
  2667. "tax_amount": 7163.662,
  2668. "business_id": 18368,
  2669. "payment_id": 89712,
  2670. "is_deleted": false,
  2671. "created_at": "2018-01-27T20:19:00.366+07:00",
  2672. "updated_at": "2018-01-27T20:19:30.537+07:00",
  2673. "item_id": 3191701,
  2674. "item_discount": 0,
  2675. "item_price_library": 35000,
  2676. "item_price": 35000,
  2677. "item_price_discount": 96225.352,
  2678. "gratuity_amount": 3411.2676,
  2679. "item_price_discount_gratuity": 0,
  2680. "total_price": 68225.352,
  2681. "item_price_quantity": 140000,
  2682. "category_name": "Main Dish",
  2683. "category_id": 100847,
  2684. "item_name": "Meat Soup",
  2685. "item_variant_name": "",
  2686. "sku": "",
  2687. "note": null,
  2688. "cogs": 16000,
  2689. "gross_sales": 140000,
  2690. "outlet_id": 28076,
  2691. "position": null,
  2692. "net_sales": 68225.352,
  2693. "track_stock": false,
  2694. "item_image": null,
  2695. "parent_checkout_id": null,
  2696. "is_recipe": true,
  2697. "redeem_amount": 28000,
  2698. "sales_type_id": 7177,
  2699. "sales_type_name": "Dine In",
  2700. "checkout_modifiers": [],
  2701. "checkout_discounts": [
  2702. {
  2703. "id": 27337,
  2704. "discount_id": 0,
  2705. "is_deleted": false,
  2706. "created_at": "2018-01-27T20:19:00.366+07:00",
  2707. "updated_at": "2018-01-27T20:19:30.539+07:00",
  2708. "checkout_id": 142283,
  2709. "discount_amount": 43774,
  2710. "discount_name": "All Discount",
  2711. "discount_type": "Rupiah and Percentage",
  2712. "discount_percentage": 0,
  2713. "payment_id": 89712,
  2714. "discount_hash": [
  2715. {
  2716. "discount_id": 17443,
  2717. "discount_type": "percentage",
  2718. "discount_name": "Discount C",
  2719. "discount_percentage": "20",
  2720. "discount_cash": "0.0",
  2721. "discount_amount": "28000.0"
  2722. },
  2723. {
  2724. "discount_id": 17442,
  2725. "discount_type": "cash",
  2726. "discount_name": "Discount B",
  2727. "discount_percentage": "0",
  2728. "discount_cash": "20000.0",
  2729. "discount_amount": "15774.648"
  2730. }
  2731. ]
  2732. }
  2733. ]
  2734. },
  2735. {
  2736. "id": 142282,
  2737. "custom_amount": 0,
  2738. "item_variant_id": 1865669,
  2739. "quantity": 1,
  2740. "discount_amount": 0,
  2741. "tax_amount": 0,
  2742. "business_id": 18368,
  2743. "payment_id": 89712,
  2744. "is_deleted": false,
  2745. "created_at": "2018-01-27T20:19:00.366+07:00",
  2746. "updated_at": "2018-01-27T20:19:30.527+07:00",
  2747. "item_id": 3191704,
  2748. "item_discount": 0,
  2749. "item_price_library": 0,
  2750. "item_price": 0,
  2751. "item_price_discount": 0,
  2752. "gratuity_amount": 0,
  2753. "item_price_discount_gratuity": 0,
  2754. "total_price": 0,
  2755. "item_price_quantity": 0,
  2756. "category_name": "Uncategorized",
  2757. "category_id": 100844,
  2758. "item_name": "Sumpit",
  2759. "item_variant_name": "",
  2760. "sku": "",
  2761. "note": null,
  2762. "cogs": null,
  2763. "gross_sales": 0,
  2764. "outlet_id": 28076,
  2765. "position": null,
  2766. "net_sales": 0,
  2767. "track_stock": false,
  2768. "item_image": null,
  2769. "parent_checkout_id": null,
  2770. "is_recipe": false,
  2771. "redeem_amount": 0,
  2772. "sales_type_id": 7177,
  2773. "sales_type_name": "Dine In",
  2774. "checkout_modifiers": [],
  2775. "checkout_discounts": [
  2776. {
  2777. "id": 27336,
  2778. "discount_id": 0,
  2779. "is_deleted": false,
  2780. "created_at": "2018-01-27T20:19:00.366+07:00",
  2781. "updated_at": "2018-01-27T20:19:30.529+07:00",
  2782. "checkout_id": 142282,
  2783. "discount_amount": 0,
  2784. "discount_name": "All Discount",
  2785. "discount_type": "Rupiah and Percentage",
  2786. "discount_percentage": 0,
  2787. "payment_id": 89712,
  2788. "discount_hash": [
  2789. {
  2790. "discount_id": 17443,
  2791. "discount_type": "percentage",
  2792. "discount_name": "Discount C",
  2793. "discount_percentage": "20",
  2794. "discount_cash": "0.0",
  2795. "discount_amount": "0.0"
  2796. },
  2797. {
  2798. "discount_id": 17442,
  2799. "discount_type": "cash",
  2800. "discount_name": "Discount B",
  2801. "discount_percentage": "0",
  2802. "discount_cash": "20000.0",
  2803. "discount_amount": "0.0"
  2804. }
  2805. ]
  2806. }
  2807. ]
  2808. },
  2809. {
  2810. "id": 142281,
  2811. "custom_amount": 0,
  2812. "item_variant_id": 1865665,
  2813. "quantity": 3,
  2814. "discount_amount": 17725.352,
  2815. "tax_amount": 1918.838,
  2816. "business_id": 18368,
  2817. "payment_id": 89712,
  2818. "is_deleted": false,
  2819. "created_at": "2018-01-27T20:19:00.366+07:00",
  2820. "updated_at": "2018-01-27T20:19:30.515+07:00",
  2821. "item_id": 3191702,
  2822. "item_discount": 0,
  2823. "item_price_library": 15000,
  2824. "item_price": 15000,
  2825. "item_price_discount": 27274.648,
  2826. "gratuity_amount": 913.7324,
  2827. "item_price_discount_gratuity": 0,
  2828. "total_price": 18274.648,
  2829. "item_price_quantity": 45000,
  2830. "category_name": "Main Dish",
  2831. "category_id": 100847,
  2832. "item_name": "Chicken",
  2833. "item_variant_name": "Chiken Wings",
  2834. "sku": "",
  2835. "note": null,
  2836. "cogs": null,
  2837. "gross_sales": 45000,
  2838. "outlet_id": 28076,
  2839. "position": null,
  2840. "net_sales": 18274.648,
  2841. "track_stock": false,
  2842. "item_image": null,
  2843. "parent_checkout_id": null,
  2844. "is_recipe": false,
  2845. "redeem_amount": 9000,
  2846. "sales_type_id": 7177,
  2847. "sales_type_name": "Dine In",
  2848. "checkout_modifiers": [],
  2849. "checkout_discounts": [
  2850. {
  2851. "id": 27335,
  2852. "discount_id": 0,
  2853. "is_deleted": false,
  2854. "created_at": "2018-01-27T20:19:00.366+07:00",
  2855. "updated_at": "2018-01-27T20:19:30.518+07:00",
  2856. "checkout_id": 142281,
  2857. "discount_amount": 13225,
  2858. "discount_name": "All Discount",
  2859. "discount_type": "Rupiah and Percentage",
  2860. "discount_percentage": 0,
  2861. "payment_id": 89712,
  2862. "discount_hash": [
  2863. {
  2864. "discount_id": 17443,
  2865. "discount_type": "percentage",
  2866. "discount_name": "Discount C",
  2867. "discount_percentage": "20",
  2868. "discount_cash": "0.0",
  2869. "discount_amount": "9000.0"
  2870. },
  2871. {
  2872. "discount_id": 17442,
  2873. "discount_type": "cash",
  2874. "discount_name": "Discount B",
  2875. "discount_percentage": "0",
  2876. "discount_cash": "20000.0",
  2877. "discount_amount": "4225.352"
  2878. }
  2879. ]
  2880. }
  2881. ]
  2882. }
  2883. ]
  2884. },
  2885. {
  2886. "id": 89709,
  2887. "status": "Done",
  2888. "payment_no": "3BO4LE",
  2889. "payment_type": "cash",
  2890. "amount_pay": 50000,
  2891. "amount_change": 4724,
  2892. "total_discount_amount": 298800,
  2893. "total_gratuity_amount": 4962.6556,
  2894. "total_item_price_amount": 0,
  2895. "total_tax_amount": 10421.577,
  2896. "total_checkouts_amount": -268908.2326,
  2897. "is_refunded": false,
  2898. "refunded_reason": null,
  2899. "refunded_date": null,
  2900. "business_id": 18368,
  2901. "customer_id": 163129,
  2902. "discount_id": null,
  2903. "is_deleted": false,
  2904. "created_at": "2018-01-27T20:11:50.768+07:00",
  2905. "updated_at": "2018-01-27T20:11:50.768+07:00",
  2906. "total_custom_price_amount": 0,
  2907. "include_gratuity_tax": false,
  2908. "parent_payment_id": null,
  2909. "refund_amount": 0,
  2910. "refund_type": null,
  2911. "card_no": null,
  2912. "created_by": 31698,
  2913. "note": null,
  2914. "total_collected_amount": 45276,
  2915. "server_id": null,
  2916. "server_name": null,
  2917. "server_title": null,
  2918. "auth_code": null,
  2919. "cc_name": null,
  2920. "card_type": null,
  2921. "transaction_number": null,
  2922. "transaction_reference": null,
  2923. "outlet_id": 28076,
  2924. "guid": "051ec852-df50-4501-ad44-8fd913ec1b8e",
  2925. "synchronized_at": "2018-01-27T20:18:17.476+07:00",
  2926. "uniq_id": "2",
  2927. "transaction_certificate": null,
  2928. "transaction_status_info": null,
  2929. "merchant_id": null,
  2930. "mpos_device_id": null,
  2931. "pg_mid": null,
  2932. "pg_setting": null,
  2933. "order_info": null,
  2934. "tvr": null,
  2935. "cvm_result": null,
  2936. "aid": null,
  2937. "transaction_date": null,
  2938. "pii": null,
  2939. "collected_by": "API Test",
  2940. "shift_id": 0,
  2941. "invoice_no": null,
  2942. "invoice_deposit_amount": null,
  2943. "invoice_due_date": null,
  2944. "invoice_status": null,
  2945. "latitude": null,
  2946. "longitude": null,
  2947. "refund_ids": "--- []\n",
  2948. "total_gross_sales": 338000,
  2949. "total_net_sales": 99253.112,
  2950. "is_refund_breakdown": true,
  2951. "customer_name": "Desy",
  2952. "customer_email": "",
  2953. "customer_phone": "+6281288004402",
  2954. "subtotal": 39200,
  2955. "creator_name": "API Test",
  2956. "table_name": null,
  2957. "collector_id": 31698,
  2958. "cashlezz_transaction_id": null,
  2959. "sms_id": null,
  2960. "receipt_count": null,
  2961. "order_id": null,
  2962. "is_loyalty": true,
  2963. "total_redeem_amount": 0,
  2964. "is_offline": true,
  2965. "is_sales_type": true,
  2966. "payment_taxes": [
  2967. {
  2968. "id": 77704,
  2969. "name": "tax",
  2970. "amount": 10,
  2971. "total": 10421.577,
  2972. "taxable_amount": 104215.7676,
  2973. "payment_id": 89709,
  2974. "created_at": "2018-01-27T20:11:50.768+07:00",
  2975. "updated_at": "2018-01-27T20:18:17.473+07:00",
  2976. "tax_id": 11945
  2977. }
  2978. ],
  2979. "payment_gratuities": [
  2980. {
  2981. "id": 89391,
  2982. "name": "Dine In",
  2983. "amount": 5,
  2984. "total": 4962.6556,
  2985. "payment_id": 89709,
  2986. "created_at": "2018-01-27T20:11:50.768+07:00",
  2987. "updated_at": "2018-01-27T20:18:17.469+07:00",
  2988. "gratuity_id": 5826
  2989. }
  2990. ],
  2991. "payment_discounts": [
  2992. {
  2993. "id": 7509,
  2994. "payment_id": 89709,
  2995. "discount_id": 17444,
  2996. "discount_amount": 50000,
  2997. "discount_name": "Discount D",
  2998. "discount_type": "cash",
  2999. "is_deleted": false,
  3000. "created_at": "2018-01-27T20:11:50.768+07:00",
  3001. "updated_at": "2018-01-27T20:18:17.466+07:00",
  3002. "discount_cash": 50000
  3003. }
  3004. ],
  3005. "payment_refunds": [],
  3006. "checkouts": [
  3007. {
  3008. "id": 142272,
  3009. "custom_amount": 0,
  3010. "item_variant_id": 1865670,
  3011. "quantity": 4,
  3012. "discount_amount": 248053.112,
  3013. "tax_amount": 0,
  3014. "business_id": 18368,
  3015. "payment_id": 89709,
  3016. "is_deleted": false,
  3017. "created_at": "2018-01-27T20:11:50.768+07:00",
  3018. "updated_at": "2018-01-27T20:18:17.443+07:00",
  3019. "item_id": 3191705,
  3020. "item_discount": 0,
  3021. "item_price_library": 47000,
  3022. "item_price": 47000,
  3023. "item_price_discount": -60053.112,
  3024. "gratuity_amount": 0,
  3025. "item_price_discount_gratuity": 0,
  3026. "total_price": -60053.112,
  3027. "item_price_quantity": 188000,
  3028. "category_name": "Uncategorized",
  3029. "category_id": 100844,
  3030. "item_name": "Custom",
  3031. "item_variant_name": "",
  3032. "sku": "",
  3033. "note": null,
  3034. "cogs": null,
  3035. "gross_sales": 188000,
  3036. "outlet_id": 28076,
  3037. "position": null,
  3038. "net_sales": 0,
  3039. "track_stock": false,
  3040. "item_image": null,
  3041. "parent_checkout_id": null,
  3042. "is_recipe": false,
  3043. "redeem_amount": 0,
  3044. "sales_type_id": 7177,
  3045. "sales_type_name": "Dine In",
  3046. "checkout_modifiers": [
  3047. {
  3048. "id": 35178,
  3049. "checkout_id": 142272,
  3050. "modifier_id": 17984,
  3051. "modifier_option_id": 97444,
  3052. "modifier_name": "Makanan",
  3053. "modifier_option_name": "Rice",
  3054. "price": 5000,
  3055. "created_at": "2018-01-27T20:11:50.768+07:00",
  3056. "updated_at": "2018-01-27T20:18:17.456+07:00",
  3057. "cogs": null,
  3058. "outlet_id": 28076,
  3059. "payment_id": 89709,
  3060. "discount_amount": 26388.629,
  3061. "gross_sales": 20000,
  3062. "net_sales": 0,
  3063. "discount_hash": "---\n- !ruby/hash:ActionController::Parameters\n discount_amount: '2000.0'\n discount_cash: '0.0'\n discount_guid: dcf1f419-fef0-4159-a71c-410b28558bf8\n discount_id: 17441\n discount_name: Discount A\n discount_percentage: '10'\n discount_type: percentage\n- !ruby/hash:ActionController::Parameters\n discount_amount: '3112.033'\n discount_cash: '50000.0'\n discount_guid: 6dfb3246-376f-4252-98c9-5d193ad4bd42\n discount_id: 17444\n discount_name: Discount D\n discount_percentage: '0'\n discount_type: cash\n",
  3064. "redeem_amount": 0
  3065. },
  3066. {
  3067. "id": 35177,
  3068. "checkout_id": 142272,
  3069. "modifier_id": 17984,
  3070. "modifier_option_id": 97446,
  3071. "modifier_name": "Makanan",
  3072. "modifier_option_name": "Meat",
  3073. "price": 10000,
  3074. "created_at": "2018-01-27T20:11:50.768+07:00",
  3075. "updated_at": "2018-01-27T20:18:17.453+07:00",
  3076. "cogs": null,
  3077. "outlet_id": 28076,
  3078. "payment_id": 89709,
  3079. "discount_amount": 52777.257,
  3080. "gross_sales": 40000,
  3081. "net_sales": 0,
  3082. "discount_hash": "---\n- !ruby/hash:ActionController::Parameters\n discount_amount: '4000.0'\n discount_cash: '0.0'\n discount_guid: dcf1f419-fef0-4159-a71c-410b28558bf8\n discount_id: 17441\n discount_name: Discount A\n discount_percentage: '10'\n discount_type: percentage\n- !ruby/hash:ActionController::Parameters\n discount_amount: '6224.066'\n discount_cash: '50000.0'\n discount_guid: 6dfb3246-376f-4252-98c9-5d193ad4bd42\n discount_id: 17444\n discount_name: Discount D\n discount_percentage: '0'\n discount_type: cash\n",
  3083. "redeem_amount": 0
  3084. },
  3085. {
  3086. "id": 35176,
  3087. "checkout_id": 142272,
  3088. "modifier_id": 17984,
  3089. "modifier_option_id": 97445,
  3090. "modifier_name": "Makanan",
  3091. "modifier_option_name": "Cheese",
  3092. "price": 7000,
  3093. "created_at": "2018-01-27T20:11:50.768+07:00",
  3094. "updated_at": "2018-01-27T20:18:17.449+07:00",
  3095. "cogs": null,
  3096. "outlet_id": 28076,
  3097. "payment_id": 89709,
  3098. "discount_amount": 36944.08,
  3099. "gross_sales": 28000,
  3100. "net_sales": 0,
  3101. "discount_hash": "---\n- !ruby/hash:ActionController::Parameters\n discount_amount: '2800.0'\n discount_cash: '0.0'\n discount_guid: dcf1f419-fef0-4159-a71c-410b28558bf8\n discount_id: 17441\n discount_name: Discount A\n discount_percentage: '10'\n discount_type: percentage\n- !ruby/hash:ActionController::Parameters\n discount_amount: '4356.846'\n discount_cash: '50000.0'\n discount_guid: 6dfb3246-376f-4252-98c9-5d193ad4bd42\n discount_id: 17444\n discount_name: Discount D\n discount_percentage: '0'\n discount_type: cash\n",
  3102. "redeem_amount": 0
  3103. }
  3104. ],
  3105. "checkout_discounts": [
  3106. {
  3107. "id": 27328,
  3108. "discount_id": 0,
  3109. "is_deleted": false,
  3110. "created_at": "2018-01-27T20:11:50.768+07:00",
  3111. "updated_at": "2018-01-27T20:18:17.446+07:00",
  3112. "checkout_id": 142272,
  3113. "discount_amount": 48053,
  3114. "discount_name": "All Discount",
  3115. "discount_type": "Rupiah and Percentage",
  3116. "discount_percentage": 0,
  3117. "payment_id": 89709,
  3118. "discount_hash": [
  3119. {
  3120. "discount_id": 17441,
  3121. "discount_type": "percentage",
  3122. "discount_name": "Discount A",
  3123. "discount_percentage": "10",
  3124. "discount_cash": "0.0",
  3125. "discount_amount": "18800.0"
  3126. },
  3127. {
  3128. "discount_id": 17444,
  3129. "discount_type": "cash",
  3130. "discount_name": "Discount D",
  3131. "discount_percentage": "0",
  3132. "discount_cash": "50000.0",
  3133. "discount_amount": "29253.112"
  3134. }
  3135. ]
  3136. }
  3137. ]
  3138. },
  3139. {
  3140. "id": 142271,
  3141. "custom_amount": 0,
  3142. "item_variant_id": 1865665,
  3143. "quantity": 10,
  3144. "discount_amount": 50746.888,
  3145. "tax_amount": 10421.577,
  3146. "business_id": 18368,
  3147. "payment_id": 89709,
  3148. "is_deleted": false,
  3149. "created_at": "2018-01-27T20:11:50.768+07:00",
  3150. "updated_at": "2018-01-27T20:18:17.429+07:00",
  3151. "item_id": 3191702,
  3152. "item_discount": 0,
  3153. "item_price_library": 15000,
  3154. "item_price": 15000,
  3155. "item_price_discount": 99253.112,
  3156. "gratuity_amount": 4962.6556,
  3157. "item_price_discount_gratuity": 0,
  3158. "total_price": 99253.112,
  3159. "item_price_quantity": 150000,
  3160. "category_name": "Main Dish",
  3161. "category_id": 100847,
  3162. "item_name": "Chicken",
  3163. "item_variant_name": "Chiken Wings",
  3164. "sku": "",
  3165. "note": null,
  3166. "cogs": null,
  3167. "gross_sales": 150000,
  3168. "outlet_id": 28076,
  3169. "position": null,
  3170. "net_sales": 99253.112,
  3171. "track_stock": false,
  3172. "item_image": null,
  3173. "parent_checkout_id": null,
  3174. "is_recipe": false,
  3175. "redeem_amount": 0,
  3176. "sales_type_id": 7177,
  3177. "sales_type_name": "Dine In",
  3178. "checkout_modifiers": [],
  3179. "checkout_discounts": [
  3180. {
  3181. "id": 27327,
  3182. "discount_id": 0,
  3183. "is_deleted": false,
  3184. "created_at": "2018-01-27T20:11:50.768+07:00",
  3185. "updated_at": "2018-01-27T20:18:17.432+07:00",
  3186. "checkout_id": 142271,
  3187. "discount_amount": 35746,
  3188. "discount_name": "All Discount",
  3189. "discount_type": "Rupiah and Percentage",
  3190. "discount_percentage": 0,
  3191. "payment_id": 89709,
  3192. "discount_hash": [
  3193. {
  3194. "discount_id": 17441,
  3195. "discount_type": "percentage",
  3196. "discount_name": "Discount A",
  3197. "discount_percentage": "10",
  3198. "discount_cash": "0.0",
  3199. "discount_amount": "15000.0"
  3200. },
  3201. {
  3202. "discount_id": 17444,
  3203. "discount_type": "cash",
  3204. "discount_name": "Discount D",
  3205. "discount_percentage": "0",
  3206. "discount_cash": "50000.0",
  3207. "discount_amount": "20746.888"
  3208. }
  3209. ]
  3210. }
  3211. ]
  3212. }
  3213. ]
  3214. },
  3215. {
  3216. "id": 89699,
  3217. "status": "Done",
  3218. "payment_no": "3BO4LD",
  3219. "payment_type": "gift_card",
  3220. "amount_pay": 299145,
  3221. "amount_change": 0,
  3222. "total_discount_amount": 371000,
  3223. "total_gratuity_amount": 12950,
  3224. "total_item_price_amount": 0,
  3225. "total_tax_amount": 27195,
  3226. "total_checkouts_amount": -112000,
  3227. "is_refunded": false,
  3228. "refunded_reason": null,
  3229. "refunded_date": null,
  3230. "business_id": 18368,
  3231. "customer_id": 163129,
  3232. "discount_id": null,
  3233. "is_deleted": false,
  3234. "created_at": "2018-01-27T19:08:03.943+07:00",
  3235. "updated_at": "2018-01-27T19:17:24.539+07:00",
  3236. "total_custom_price_amount": 0,
  3237. "include_gratuity_tax": false,
  3238. "parent_payment_id": null,
  3239. "refund_amount": 0,
  3240. "refund_type": null,
  3241. "card_no": null,
  3242. "created_by": 31698,
  3243. "note": "",
  3244. "total_collected_amount": 299145,
  3245. "server_id": null,
  3246. "server_name": null,
  3247. "server_title": null,
  3248. "auth_code": null,
  3249. "cc_name": null,
  3250. "card_type": null,
  3251. "transaction_number": null,
  3252. "transaction_reference": null,
  3253. "outlet_id": 28076,
  3254. "guid": "0f2ea89c-fc3e-41ef-aef9-ab413fbc74c9",
  3255. "synchronized_at": "2018-01-27T19:17:24.538+07:00",
  3256. "uniq_id": "2",
  3257. "transaction_certificate": null,
  3258. "transaction_status_info": null,
  3259. "merchant_id": null,
  3260. "mpos_device_id": null,
  3261. "pg_mid": null,
  3262. "pg_setting": null,
  3263. "order_info": null,
  3264. "tvr": null,
  3265. "cvm_result": null,
  3266. "aid": null,
  3267. "transaction_date": null,
  3268. "pii": null,
  3269. "collected_by": "API Test",
  3270. "shift_id": 0,
  3271. "invoice_no": null,
  3272. "invoice_deposit_amount": null,
  3273. "invoice_due_date": null,
  3274. "invoice_status": null,
  3275. "latitude": null,
  3276. "longitude": null,
  3277. "refund_ids": "---\n- 89700\n",
  3278. "total_gross_sales": 630000,
  3279. "total_net_sales": 259000,
  3280. "is_refund_breakdown": true,
  3281. "customer_name": "Desy",
  3282. "customer_email": "",
  3283. "customer_phone": "+6281288004402",
  3284. "subtotal": 259000,
  3285. "creator_name": "API Test",
  3286. "table_name": null,
  3287. "collector_id": 31698,
  3288. "cashlezz_transaction_id": null,
  3289. "sms_id": null,
  3290. "receipt_count": null,
  3291. "order_id": null,
  3292. "is_loyalty": true,
  3293. "total_redeem_amount": 0,
  3294. "is_offline": false,
  3295. "is_sales_type": true,
  3296. "payment_taxes": [
  3297. {
  3298. "id": 77694,
  3299. "name": "tax",
  3300. "amount": 10,
  3301. "total": 27195,
  3302. "taxable_amount": 271950,
  3303. "payment_id": 89699,
  3304. "created_at": "2018-01-27T19:08:03.943+07:00",
  3305. "updated_at": "2018-01-27T19:08:16.279+07:00",
  3306. "tax_id": 11945
  3307. }
  3308. ],
  3309. "payment_gratuities": [
  3310. {
  3311. "id": 89381,
  3312. "name": "Dine In",
  3313. "amount": 5,
  3314. "total": 12950,
  3315. "payment_id": 89699,
  3316. "created_at": "2018-01-27T19:08:03.943+07:00",
  3317. "updated_at": "2018-01-27T19:08:16.275+07:00",
  3318. "gratuity_id": 5826
  3319. }
  3320. ],
  3321. "payment_discounts": [],
  3322. "payment_refunds": [
  3323. {
  3324. "id": 89700,
  3325. "status": "Done",
  3326. "payment_no": "3BO4LD",
  3327. "payment_type": "gift_card",
  3328. "amount_pay": 0,
  3329. "amount_change": 0,
  3330. "total_discount_amount": -119000,
  3331. "total_gratuity_amount": -4550,
  3332. "total_item_price_amount": 0,
  3333. "total_tax_amount": -9555,
  3334. "total_checkouts_amount": 28000,
  3335. "is_refunded": true,
  3336. "refunded_reason": "Accidental Charge",
  3337. "refunded_date": "2018-01-27T19:17:16.000+07:00",
  3338. "business_id": 18368,
  3339. "customer_id": 163129,
  3340. "discount_id": null,
  3341. "is_deleted": false,
  3342. "created_at": "2018-01-27T19:17:16.000+07:00",
  3343. "updated_at": "2018-01-27T19:17:16.000+07:00",
  3344. "total_custom_price_amount": 0,
  3345. "include_gratuity_tax": false,
  3346. "parent_payment_id": 89699,
  3347. "refund_amount": 91000,
  3348. "refund_type": "partial",
  3349. "card_no": null,
  3350. "created_by": 31698,
  3351. "note": "",
  3352. "total_collected_amount": -105105,
  3353. "server_id": null,
  3354. "server_name": null,
  3355. "server_title": null,
  3356. "auth_code": null,
  3357. "cc_name": null,
  3358. "card_type": null,
  3359. "transaction_number": null,
  3360. "transaction_reference": null,
  3361. "outlet_id": 28076,
  3362. "guid": "5ff4f3c2-ec64-4f43-a210-d4b5b34c0090",
  3363. "synchronized_at": "2018-01-27T19:17:24.391+07:00",
  3364. "uniq_id": null,
  3365. "transaction_certificate": null,
  3366. "transaction_status_info": null,
  3367. "merchant_id": null,
  3368. "mpos_device_id": null,
  3369. "pg_mid": null,
  3370. "pg_setting": null,
  3371. "order_info": null,
  3372. "tvr": null,
  3373. "cvm_result": null,
  3374. "aid": null,
  3375. "transaction_date": null,
  3376. "pii": null,
  3377. "collected_by": "API Test",
  3378. "shift_id": null,
  3379. "invoice_no": null,
  3380. "invoice_deposit_amount": null,
  3381. "invoice_due_date": null,
  3382. "invoice_status": null,
  3383. "latitude": null,
  3384. "longitude": null,
  3385. "refund_ids": "--- []\n",
  3386. "total_gross_sales": -210000,
  3387. "total_net_sales": -91000,
  3388. "is_refund_breakdown": true,
  3389. "customer_name": "Desy",
  3390. "customer_email": "",
  3391. "customer_phone": "+6281288004402",
  3392. "subtotal": -7000,
  3393. "creator_name": "API Test",
  3394. "table_name": null,
  3395. "collector_id": null,
  3396. "cashlezz_transaction_id": null,
  3397. "sms_id": null,
  3398. "receipt_count": 0,
  3399. "order_id": null,
  3400. "is_loyalty": true,
  3401. "total_redeem_amount": 0,
  3402. "is_offline": null,
  3403. "is_sales_type": true
  3404. }
  3405. ],
  3406. "checkouts": [
  3407. {
  3408. "id": 142241,
  3409. "custom_amount": 0,
  3410. "item_variant_id": 1865664,
  3411. "quantity": 8,
  3412. "discount_amount": 280000,
  3413. "tax_amount": 0,
  3414. "business_id": 18368,
  3415. "payment_id": 89699,
  3416. "is_deleted": false,
  3417. "created_at": "2018-01-27T19:08:03.943+07:00",
  3418. "updated_at": "2018-01-27T19:08:15.564+07:00",
  3419. "item_id": 3191701,
  3420. "item_discount": 0,
  3421. "item_price_library": 35000,
  3422. "item_price": 35000,
  3423. "item_price_discount": 0,
  3424. "gratuity_amount": 0,
  3425. "item_price_discount_gratuity": 0,
  3426. "total_price": 0,
  3427. "item_price_quantity": 280000,
  3428. "category_name": "Main Dish",
  3429. "category_id": 100847,
  3430. "item_name": "Meat Soup",
  3431. "item_variant_name": "",
  3432. "sku": "",
  3433. "note": null,
  3434. "cogs": 16000,
  3435. "gross_sales": 280000,
  3436. "outlet_id": 28076,
  3437. "position": null,
  3438. "net_sales": 0,
  3439. "track_stock": false,
  3440. "item_image": null,
  3441. "parent_checkout_id": null,
  3442. "is_recipe": true,
  3443. "redeem_amount": 0,
  3444. "sales_type_id": 7177,
  3445. "sales_type_name": "Dine In",
  3446. "checkout_modifiers": [],
  3447. "checkout_discounts": []
  3448. },
  3449. {
  3450. "id": 142240,
  3451. "custom_amount": 0,
  3452. "item_variant_id": 1865664,
  3453. "quantity": 8,
  3454. "discount_amount": 56000,
  3455. "tax_amount": 23520,
  3456. "business_id": 18368,
  3457. "payment_id": 89699,
  3458. "is_deleted": false,
  3459. "created_at": "2018-01-27T19:08:03.943+07:00",
  3460. "updated_at": "2018-01-27T19:08:15.554+07:00",
  3461. "item_id": 3191701,
  3462. "item_discount": 0,
  3463. "item_price_library": 35000,
  3464. "item_price": 35000,
  3465. "item_price_discount": 224000,
  3466. "gratuity_amount": 11200,
  3467. "item_price_discount_gratuity": 0,
  3468. "total_price": 224000,
  3469. "item_price_quantity": 280000,
  3470. "category_name": "Main Dish",
  3471. "category_id": 100847,
  3472. "item_name": "Meat Soup",
  3473. "item_variant_name": "",
  3474. "sku": "",
  3475. "note": null,
  3476. "cogs": 16000,
  3477. "gross_sales": 280000,
  3478. "outlet_id": 28076,
  3479. "position": null,
  3480. "net_sales": 224000,
  3481. "track_stock": false,
  3482. "item_image": null,
  3483. "parent_checkout_id": null,
  3484. "is_recipe": true,
  3485. "redeem_amount": 0,
  3486. "sales_type_id": 7177,
  3487. "sales_type_name": "Dine In",
  3488. "checkout_modifiers": [],
  3489. "checkout_discounts": [
  3490. {
  3491. "id": 27315,
  3492. "discount_id": 0,
  3493. "is_deleted": false,
  3494. "created_at": "2018-01-27T19:08:03.943+07:00",
  3495. "updated_at": "2018-01-27T19:08:15.557+07:00",
  3496. "checkout_id": 142240,
  3497. "discount_amount": 56000,
  3498. "discount_name": "All Discount",
  3499. "discount_type": "Rupiah and Percentage",
  3500. "discount_percentage": 0,
  3501. "payment_id": 89699,
  3502. "discount_hash": [
  3503. {
  3504. "discount_id": 17443,
  3505. "discount_type": "percentage",
  3506. "discount_name": "Discount C",
  3507. "discount_percentage": "20",
  3508. "discount_cash": "0.0",
  3509. "discount_amount": "56000.0"
  3510. }
  3511. ]
  3512. }
  3513. ]
  3514. },
  3515. {
  3516. "id": 142239,
  3517. "custom_amount": 0,
  3518. "item_variant_id": 1865664,
  3519. "quantity": 1,
  3520. "discount_amount": 35000,
  3521. "tax_amount": 0,
  3522. "business_id": 18368,
  3523. "payment_id": 89699,
  3524. "is_deleted": false,
  3525. "created_at": "2018-01-27T19:08:03.943+07:00",
  3526. "updated_at": "2018-01-27T19:08:15.547+07:00",
  3527. "item_id": 3191701,
  3528. "item_discount": 0,
  3529. "item_price_library": 35000,
  3530. "item_price": 35000,
  3531. "item_price_discount": 0,
  3532. "gratuity_amount": 0,
  3533. "item_price_discount_gratuity": 0,
  3534. "total_price": 0,
  3535. "item_price_quantity": 35000,
  3536. "category_name": "Main Dish",
  3537. "category_id": 100847,
  3538. "item_name": "Meat Soup",
  3539. "item_variant_name": "",
  3540. "sku": "",
  3541. "note": null,
  3542. "cogs": 16000,
  3543. "gross_sales": 35000,
  3544. "outlet_id": 28076,
  3545. "position": null,
  3546. "net_sales": 0,
  3547. "track_stock": false,
  3548. "item_image": null,
  3549. "parent_checkout_id": null,
  3550. "is_recipe": true,
  3551. "redeem_amount": 0,
  3552. "sales_type_id": 7177,
  3553. "sales_type_name": "Dine In",
  3554. "checkout_modifiers": [],
  3555. "checkout_discounts": []
  3556. },
  3557. {
  3558. "id": 142238,
  3559. "custom_amount": 0,
  3560. "item_variant_id": 1865664,
  3561. "quantity": 1,
  3562. "discount_amount": 0,
  3563. "tax_amount": 3675,
  3564. "business_id": 18368,
  3565. "payment_id": 89699,
  3566. "is_deleted": false,
  3567. "created_at": "2018-01-27T19:08:03.943+07:00",
  3568. "updated_at": "2018-01-27T19:08:15.539+07:00",
  3569. "item_id": 3191701,
  3570. "item_discount": 0,
  3571. "item_price_library": 35000,
  3572. "item_price": 35000,
  3573. "item_price_discount": 35000,
  3574. "gratuity_amount": 1750,
  3575. "item_price_discount_gratuity": 0,
  3576. "total_price": 35000,
  3577. "item_price_quantity": 35000,
  3578. "category_name": "Main Dish",
  3579. "category_id": 100847,
  3580. "item_name": "Meat Soup",
  3581. "item_variant_name": "",
  3582. "sku": "",
  3583. "note": null,
  3584. "cogs": 16000,
  3585. "gross_sales": 35000,
  3586. "outlet_id": 28076,
  3587. "position": null,
  3588. "net_sales": 35000,
  3589. "track_stock": false,
  3590. "item_image": null,
  3591. "parent_checkout_id": null,
  3592. "is_recipe": true,
  3593. "redeem_amount": 0,
  3594. "sales_type_id": 7177,
  3595. "sales_type_name": "Dine In",
  3596. "checkout_modifiers": [],
  3597. "checkout_discounts": []
  3598. }
  3599. ]
  3600. },
  3601. {
  3602. "id": 89700,
  3603. "status": "Done",
  3604. "payment_no": "3BO4LD",
  3605. "payment_type": "gift_card",
  3606. "amount_pay": 0,
  3607. "amount_change": 0,
  3608. "total_discount_amount": -119000,
  3609. "total_gratuity_amount": -4550,
  3610. "total_item_price_amount": 0,
  3611. "total_tax_amount": -9555,
  3612. "total_checkouts_amount": 28000,
  3613. "is_refunded": true,
  3614. "refunded_reason": "Accidental Charge",
  3615. "refunded_date": "2018-01-27T19:17:16.000+07:00",
  3616. "business_id": 18368,
  3617. "customer_id": 163129,
  3618. "discount_id": null,
  3619. "is_deleted": false,
  3620. "created_at": "2018-01-27T19:17:16.000+07:00",
  3621. "updated_at": "2018-01-27T19:17:16.000+07:00",
  3622. "total_custom_price_amount": 0,
  3623. "include_gratuity_tax": false,
  3624. "parent_payment_id": 89699,
  3625. "refund_amount": 91000,
  3626. "refund_type": "partial",
  3627. "card_no": null,
  3628. "created_by": 31698,
  3629. "note": "",
  3630. "total_collected_amount": -105105,
  3631. "server_id": null,
  3632. "server_name": null,
  3633. "server_title": null,
  3634. "auth_code": null,
  3635. "cc_name": null,
  3636. "card_type": null,
  3637. "transaction_number": null,
  3638. "transaction_reference": null,
  3639. "outlet_id": 28076,
  3640. "guid": "5ff4f3c2-ec64-4f43-a210-d4b5b34c0090",
  3641. "synchronized_at": "2018-01-27T19:17:24.391+07:00",
  3642. "uniq_id": null,
  3643. "transaction_certificate": null,
  3644. "transaction_status_info": null,
  3645. "merchant_id": null,
  3646. "mpos_device_id": null,
  3647. "pg_mid": null,
  3648. "pg_setting": null,
  3649. "order_info": null,
  3650. "tvr": null,
  3651. "cvm_result": null,
  3652. "aid": null,
  3653. "transaction_date": null,
  3654. "pii": null,
  3655. "collected_by": "API Test",
  3656. "shift_id": null,
  3657. "invoice_no": null,
  3658. "invoice_deposit_amount": null,
  3659. "invoice_due_date": null,
  3660. "invoice_status": null,
  3661. "latitude": null,
  3662. "longitude": null,
  3663. "refund_ids": "--- []\n",
  3664. "total_gross_sales": -210000,
  3665. "total_net_sales": -91000,
  3666. "is_refund_breakdown": true,
  3667. "customer_name": "Desy",
  3668. "customer_email": "",
  3669. "customer_phone": "+6281288004402",
  3670. "subtotal": -7000,
  3671. "creator_name": "API Test",
  3672. "table_name": null,
  3673. "collector_id": null,
  3674. "cashlezz_transaction_id": null,
  3675. "sms_id": null,
  3676. "receipt_count": 0,
  3677. "order_id": null,
  3678. "is_loyalty": true,
  3679. "total_redeem_amount": 0,
  3680. "is_offline": null,
  3681. "is_sales_type": true,
  3682. "payment_taxes": [
  3683. {
  3684. "id": 77695,
  3685. "name": "tax",
  3686. "amount": 10,
  3687. "total": -9555,
  3688. "taxable_amount": -95550,
  3689. "payment_id": 89700,
  3690. "created_at": "2018-01-27T19:17:24.500+07:00",
  3691. "updated_at": "2018-01-27T19:17:24.500+07:00",
  3692. "tax_id": 11945
  3693. }
  3694. ],
  3695. "payment_gratuities": [
  3696. {
  3697. "id": 89382,
  3698. "name": "Dine In",
  3699. "amount": 5,
  3700. "total": -4550,
  3701. "payment_id": 89700,
  3702. "created_at": "2018-01-27T19:17:24.496+07:00",
  3703. "updated_at": "2018-01-27T19:17:24.496+07:00",
  3704. "gratuity_id": 5826
  3705. }
  3706. ],
  3707. "payment_discounts": [],
  3708. "payment_refunds": [],
  3709. "checkouts": [
  3710. {
  3711. "id": 142245,
  3712. "custom_amount": 0,
  3713. "item_variant_id": 1865664,
  3714. "quantity": -2,
  3715. "discount_amount": -70000,
  3716. "tax_amount": 0,
  3717. "business_id": 18368,
  3718. "payment_id": 89700,
  3719. "is_deleted": false,
  3720. "created_at": "2018-01-27T19:17:16.000+07:00",
  3721. "updated_at": "2018-01-27T19:17:24.489+07:00",
  3722. "item_id": 3191701,
  3723. "item_discount": 0,
  3724. "item_price_library": 35000,
  3725. "item_price": 35000,
  3726. "item_price_discount": 0,
  3727. "gratuity_amount": 0,
  3728. "item_price_discount_gratuity": 0,
  3729. "total_price": 0,
  3730. "item_price_quantity": -70000,
  3731. "category_name": "Main Dish",
  3732. "category_id": 100847,
  3733. "item_name": "Meat Soup",
  3734. "item_variant_name": "",
  3735. "sku": "",
  3736. "note": null,
  3737. "cogs": 0,
  3738. "gross_sales": -70000,
  3739. "outlet_id": 28076,
  3740. "position": null,
  3741. "net_sales": 0,
  3742. "track_stock": false,
  3743. "item_image": null,
  3744. "parent_checkout_id": 142241,
  3745. "is_recipe": true,
  3746. "redeem_amount": 0,
  3747. "sales_type_id": 7177,
  3748. "sales_type_name": "Dine In",
  3749. "checkout_modifiers": [],
  3750. "checkout_discounts": []
  3751. },
  3752. {
  3753. "id": 142244,
  3754. "custom_amount": 0,
  3755. "item_variant_id": 1865664,
  3756. "quantity": -2,
  3757. "discount_amount": -14000,
  3758. "tax_amount": -5880,
  3759. "business_id": 18368,
  3760. "payment_id": 89700,
  3761. "is_deleted": false,
  3762. "created_at": "2018-01-27T19:17:16.000+07:00",
  3763. "updated_at": "2018-01-27T19:17:24.480+07:00",
  3764. "item_id": 3191701,
  3765. "item_discount": 0,
  3766. "item_price_library": 35000,
  3767. "item_price": 35000,
  3768. "item_price_discount": -56000,
  3769. "gratuity_amount": -2800,
  3770. "item_price_discount_gratuity": 0,
  3771. "total_price": -56000,
  3772. "item_price_quantity": -70000,
  3773. "category_name": "Main Dish",
  3774. "category_id": 100847,
  3775. "item_name": "Meat Soup",
  3776. "item_variant_name": "",
  3777. "sku": "",
  3778. "note": null,
  3779. "cogs": 0,
  3780. "gross_sales": -70000,
  3781. "outlet_id": 28076,
  3782. "position": null,
  3783. "net_sales": -56000,
  3784. "track_stock": false,
  3785. "item_image": null,
  3786. "parent_checkout_id": 142240,
  3787. "is_recipe": true,
  3788. "redeem_amount": 0,
  3789. "sales_type_id": 7177,
  3790. "sales_type_name": "Dine In",
  3791. "checkout_modifiers": [],
  3792. "checkout_discounts": [
  3793. {
  3794. "id": 27316,
  3795. "discount_id": 0,
  3796. "is_deleted": false,
  3797. "created_at": "2018-01-27T19:17:16.000+07:00",
  3798. "updated_at": "2018-01-27T19:17:24.482+07:00",
  3799. "checkout_id": 142244,
  3800. "discount_amount": -14000,
  3801. "discount_name": "All Discount",
  3802. "discount_type": "Rupiah and Percentage",
  3803. "discount_percentage": 0,
  3804. "payment_id": 89700,
  3805. "discount_hash": [
  3806. {
  3807. "discount_id": 17443,
  3808. "discount_type": "percentage",
  3809. "discount_name": "Discount C",
  3810. "discount_percentage": "20",
  3811. "discount_cash": "0.0",
  3812. "discount_amount": -14000
  3813. }
  3814. ]
  3815. }
  3816. ]
  3817. },
  3818. {
  3819. "id": 142243,
  3820. "custom_amount": 0,
  3821. "item_variant_id": 1865664,
  3822. "quantity": -1,
  3823. "discount_amount": -35000,
  3824. "tax_amount": 0,
  3825. "business_id": 18368,
  3826. "payment_id": 89700,
  3827. "is_deleted": false,
  3828. "created_at": "2018-01-27T19:17:16.000+07:00",
  3829. "updated_at": "2018-01-27T19:17:24.473+07:00",
  3830. "item_id": 3191701,
  3831. "item_discount": 0,
  3832. "item_price_library": 35000,
  3833. "item_price": 35000,
  3834. "item_price_discount": 0,
  3835. "gratuity_amount": 0,
  3836. "item_price_discount_gratuity": 0,
  3837. "total_price": 0,
  3838. "item_price_quantity": -35000,
  3839. "category_name": "Main Dish",
  3840. "category_id": 100847,
  3841. "item_name": "Meat Soup",
  3842. "item_variant_name": "",
  3843. "sku": "",
  3844. "note": null,
  3845. "cogs": 0,
  3846. "gross_sales": -35000,
  3847. "outlet_id": 28076,
  3848. "position": null,
  3849. "net_sales": 0,
  3850. "track_stock": false,
  3851. "item_image": null,
  3852. "parent_checkout_id": 142239,
  3853. "is_recipe": true,
  3854. "redeem_amount": 0,
  3855. "sales_type_id": 7177,
  3856. "sales_type_name": "Dine In",
  3857. "checkout_modifiers": [],
  3858. "checkout_discounts": []
  3859. },
  3860. {
  3861. "id": 142242,
  3862. "custom_amount": 0,
  3863. "item_variant_id": 1865664,
  3864. "quantity": -1,
  3865. "discount_amount": 0,
  3866. "tax_amount": -3675,
  3867. "business_id": 18368,
  3868. "payment_id": 89700,
  3869. "is_deleted": false,
  3870. "created_at": "2018-01-27T19:17:16.000+07:00",
  3871. "updated_at": "2018-01-27T19:17:24.466+07:00",
  3872. "item_id": 3191701,
  3873. "item_discount": 0,
  3874. "item_price_library": 35000,
  3875. "item_price": 35000,
  3876. "item_price_discount": -35000,
  3877. "gratuity_amount": -1750,
  3878. "item_price_discount_gratuity": 0,
  3879. "total_price": -35000,
  3880. "item_price_quantity": -35000,
  3881. "category_name": "Main Dish",
  3882. "category_id": 100847,
  3883. "item_name": "Meat Soup",
  3884. "item_variant_name": "",
  3885. "sku": "",
  3886. "note": null,
  3887. "cogs": 0,
  3888. "gross_sales": -35000,
  3889. "outlet_id": 28076,
  3890. "position": null,
  3891. "net_sales": -35000,
  3892. "track_stock": false,
  3893. "item_image": null,
  3894. "parent_checkout_id": 142238,
  3895. "is_recipe": true,
  3896. "redeem_amount": 0,
  3897. "sales_type_id": 7177,
  3898. "sales_type_name": "Dine In",
  3899. "checkout_modifiers": [],
  3900. "checkout_discounts": []
  3901. }
  3902. ]
  3903. }
  3904. ]
  3905. },
  3906. "meta": {
  3907. "code": 200,
  3908. "errors": {}
  3909. }
  3910. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement