Advertisement
Guest User

Untitled

a guest
Oct 9th, 2017
579
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.10 KB | None | 0 0
  1. Invoice Add (2017-10-09 17:27:14)
  2. Woocommerce Data:
  3. Array
  4. (
  5. [wc_inv_id] => 2545
  6. [wc_inv_num] => OR-4478
  7. [order_type] =>
  8. [wc_inv_date] => 2017-10-09 11:01:59
  9. [wc_inv_due_date] => 2017-10-09 11:01:59
  10. [customer_note] => En la mañana
  11. [order_status] => wc-on-hold
  12. [wc_cus_id] => 104
  13. [wc_customerid] => 104
  14. [_order_key] => wc_order_59dbab877727e
  15. [_customer_user] => 104
  16. [_payment_method] => bacs
  17. [_payment_method_title] => Transferencia Bancaria
  18. [_transaction_id] =>
  19. [_customer_ip_address] => 186.15.169.226
  20. [_customer_user_agent] => mozilla/5.0 (windows nt 5.1; rv:52.0) gecko/20100101 firefox/52.0
  21. [_created_via] => checkout
  22. [_date_completed] =>
  23. [_completed_date] =>
  24. [_date_paid] =>
  25. [_paid_date] =>
  26. [_cart_hash] => fb7dd5d9e0031671cfa1d1941f3b2a16
  27. [_billing_first_name] => Elena
  28. [_billing_last_name] => Cruz Mora
  29. [_billing_company] =>
  30. [_billing_address_1] => Condominio Villa Cedros
  31. [_billing_address_2] => Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1
  32. [_billing_city] => Sabanilla
  33. [_billing_state] => SAN_JOSE
  34. [_billing_postcode] =>
  35. [_billing_country] => CR
  36. [_billing_email] => cruz.ele@gmail.com
  37. [_billing_phone] => 70127773
  38. [_shipping_first_name] => Elena
  39. [_shipping_last_name] => Cruz Mora
  40. [_shipping_company] =>
  41. [_shipping_address_1] => Condominio Villa Cedros
  42. [_shipping_address_2] => Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1
  43. [_shipping_city] => Sabanilla
  44. [_shipping_state] => SAN_JOSE
  45. [_shipping_postcode] =>
  46. [_shipping_country] => CR
  47. [_order_currency] => CRC
  48. [_cart_discount] => 1000
  49. [_cart_discount_tax] =>
  50. [_order_shipping] => 2700
  51. [_order_shipping_tax] =>
  52. [_order_tax] =>
  53. [_order_total] => 23300.00
  54. [_order_version] => 3.1.2
  55. [_prices_include_tax] => no
  56. [_billing_address_index] => Elena Cruz Mora Condominio Villa Cedros Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1 Sabanilla SAN_JOSE CR cruz.ele@gmail.com 70127773
  57. [_shipping_address_index] => Elena Cruz Mora Condominio Villa Cedros Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1 Sabanilla SAN_JOSE CR
  58. [_shipping_method] => a:1:{i:0;s:11:"flat_rate:3";}
  59. [Fecha Entrega] => 15-10-2017
  60. [_order_number] => 4478
  61. [_order_number_formatted] => OR-4478
  62. [_order_number_meta] => a:3:{s:6:"prefix";s:3:"OR-";s:6:"suffix";s:0:"";s:6:"length";s:1:"4";}
  63. [_recorded_sales] => yes
  64. [_recorded_coupon_usage_counts] => yes
  65. [_order_stock_reduced] => yes
  66. [_ga_tracked] => 1
  67. [_edit_lock] => 1507569526:1
  68. [used_coupons] => Array
  69. (
  70. [0] => Array
  71. (
  72. [discount_amount] => 500
  73. [discount_amount_tax] => 0
  74. [name] => bol3ker
  75. [type] => coupon
  76. )
  77.  
  78. [1] => Array
  79. (
  80. [discount_amount] => 500
  81. [discount_amount_tax] => 0
  82. [name] => bol4des
  83. [type] => coupon
  84. )
  85.  
  86. )
  87.  
  88. [shipping_details] => Array
  89. (
  90. [0] => Array
  91. (
  92. [method_id] => flat_rate:3
  93. [cost] => 2700
  94. [total_tax] => 0
  95. [taxes] => a:1:{s:5:"total";a:0:{}}
  96. [Artículos] => Carne Mechada - 1 (150g) × 1, Lomito con Chimichurri - 1 (150g) × 1, Pollo Desmenuzado - 1 (150g) × 1, Pollo Oriental - 1 (150g) × 1, Bolsa Retornable (Reintegro al devolverla) × 1, Vainicas y Zanahorias - 1 (150g) × 4, Zuquini en Tiras - 1 (150g) × 1, Lomo Teriyaki × 2, Pollo Capresse - 1 (150g) × 1
  97. [name] => Fijo
  98. [type] => shipping
  99. )
  100.  
  101. )
  102.  
  103. [order_shipping_total] => 2700
  104. [tax_details] => Array
  105. (
  106. )
  107.  
  108. [qbo_inv_items] => Array
  109. (
  110. [0] => Array
  111. (
  112. [Description] => Carne Mechada - 1 (150g) - Porciones: 1-150g
  113. [Qty] => 1
  114. [UnitPrice] => 2400
  115. [ItemRef] => 1029
  116. [acof_map_product] =>
  117. [qbo_product_type] => NonInventory
  118. [Taxed] => 0
  119. [ClassRef] =>
  120. [product_id] => 1454
  121. [variation_id] => 1722
  122. [tax_class] =>
  123. [line_subtotal] => 2400
  124. [line_subtotal_tax] => 0
  125. [line_total] => 2288.89
  126. [line_tax] => 0
  127. [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
  128. [pa_porciones] => 1-150g
  129. [type] => line_item
  130. )
  131.  
  132. [1] => Array
  133. (
  134. [Description] => Lomito con Chimichurri - 1 (150g) - Porciones: 1-150g
  135. [Qty] => 1
  136. [UnitPrice] => 3500
  137. [ItemRef] => 963
  138. [acof_map_product] =>
  139. [qbo_product_type] => NonInventory
  140. [Taxed] => 0
  141. [ClassRef] =>
  142. [product_id] => 1452
  143. [variation_id] => 1770
  144. [tax_class] =>
  145. [line_subtotal] => 3500
  146. [line_subtotal_tax] => 0
  147. [line_total] => 3337.96
  148. [line_tax] => 0
  149. [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
  150. [pa_porciones] => 1-150g
  151. [type] => line_item
  152. )
  153.  
  154. [2] => Array
  155. (
  156. [Description] => Pollo Desmenuzado - 1 (150g) - Porciones: 1-150g
  157. [Qty] => 1
  158. [UnitPrice] => 1800
  159. [ItemRef] => 1074
  160. [acof_map_product] =>
  161. [qbo_product_type] => NonInventory
  162. [Taxed] => 0
  163. [ClassRef] =>
  164. [product_id] => 1458
  165. [variation_id] => 1810
  166. [tax_class] =>
  167. [line_subtotal] => 1800
  168. [line_subtotal_tax] => 0
  169. [line_total] => 1716.67
  170. [line_tax] => 0
  171. [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
  172. [pa_porciones] => 1-150g
  173. [type] => line_item
  174. )
  175.  
  176. [3] => Array
  177. (
  178. [Description] => Pollo Oriental - 1 (150g) - Porciones: 1-150g
  179. [Qty] => 1
  180. [UnitPrice] => 2100
  181. [ItemRef] => 948
  182. [acof_map_product] =>
  183. [qbo_product_type] => NonInventory
  184. [Taxed] => 0
  185. [ClassRef] =>
  186. [product_id] => 1460
  187. [variation_id] => 1814
  188. [tax_class] =>
  189. [line_subtotal] => 2100
  190. [line_subtotal_tax] => 0
  191. [line_total] => 2002.78
  192. [line_tax] => 0
  193. [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
  194. [pa_porciones] => 1-150g
  195. [type] => line_item
  196. )
  197.  
  198. [4] => Array
  199. (
  200. [Description] => Bolsa Retornable (Reintegro al devolverla)
  201. [Qty] => 1
  202. [UnitPrice] => 500
  203. [ItemRef] => 1126
  204. [acof_map_product] =>
  205. [qbo_product_type] => NonInventory
  206. [Taxed] => 0
  207. [ClassRef] =>
  208. [product_id] => 2067
  209. [variation_id] => 0
  210. [tax_class] =>
  211. [line_subtotal] => 500
  212. [line_subtotal_tax] => 0
  213. [line_total] => 476.85
  214. [line_tax] => 0
  215. [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
  216. [type] => line_item
  217. )
  218.  
  219. [5] => Array
  220. (
  221. [Description] => Vainicas y Zanahorias - 1 (150g) - Porciones: 1-150g
  222. [Qty] => 4
  223. [UnitPrice] => 1200
  224. [ItemRef] => 829
  225. [acof_map_product] =>
  226. [qbo_product_type] => NonInventory
  227. [Taxed] => 0
  228. [ClassRef] =>
  229. [product_id] => 1499
  230. [variation_id] => 1847
  231. [tax_class] =>
  232. [line_subtotal] => 4800
  233. [line_subtotal_tax] => 0
  234. [line_total] => 4577.78
  235. [line_tax] => 0
  236. [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
  237. [pa_porciones] => 1-150g
  238. [type] => line_item
  239. )
  240.  
  241. [6] => Array
  242. (
  243. [Description] => Zuquini en Tiras - 1 (150g) - Porciones: 1-150g
  244. [Qty] => 1
  245. [UnitPrice] => 1300
  246. [ItemRef] => 1119
  247. [acof_map_product] =>
  248. [qbo_product_type] => NonInventory
  249. [Taxed] => 0
  250. [ClassRef] =>
  251. [product_id] => 1494
  252. [variation_id] => 1855
  253. [tax_class] =>
  254. [line_subtotal] => 1300
  255. [line_subtotal_tax] => 0
  256. [line_total] => 1239.81
  257. [line_tax] => 0
  258. [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
  259. [pa_porciones] => 1-150g
  260. [type] => line_item
  261. )
  262.  
  263. [7] => Array
  264. (
  265. [Description] => Lomo Teriyaki
  266. [Qty] => 2
  267. [UnitPrice] => 1500
  268. [ItemRef] => 1260
  269. [acof_map_product] =>
  270. [qbo_product_type] => NonInventory
  271. [Taxed] => 0
  272. [ClassRef] =>
  273. [product_id] => 2466
  274. [variation_id] => 0
  275. [tax_class] =>
  276. [line_subtotal] => 3000
  277. [line_subtotal_tax] => 0
  278. [line_total] => 2861.11
  279. [line_tax] => 0
  280. [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
  281. [type] => line_item
  282. )
  283.  
  284. [8] => Array
  285. (
  286. [Description] => Pollo Capresse - 1 (150g) - Porciones: 1-150g
  287. [Qty] => 1
  288. [UnitPrice] => 2200
  289. [ItemRef] => 881
  290. [acof_map_product] =>
  291. [qbo_product_type] => NonInventory
  292. [Taxed] => 0
  293. [ClassRef] =>
  294. [product_id] => 1464
  295. [variation_id] => 1798
  296. [tax_class] =>
  297. [line_subtotal] => 2200
  298. [line_subtotal_tax] => 0
  299. [line_total] => 2098.15
  300. [line_tax] => 0
  301. [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
  302. [pa_porciones] => 1-150g
  303. [type] => line_item
  304. )
  305.  
  306. )
  307.  
  308. [dc_gt_fees] => Array
  309. (
  310. )
  311.  
  312. [qbo_customerid] => 611
  313. [manual] => 1
  314. )
  315.  
  316. QuickBooks Object:
  317. QuickBooks_IPP_Object_Invoice Object
  318. (
  319. [_data:protected] => Array
  320. (
  321. [DocNumber] => OR-4478
  322. [TxnDate] => 2017-10-09
  323. [DueDate] => 2017-10-09
  324. [CustomerRef] => 611
  325. [Line] => Array
  326. (
  327. [0] => QuickBooks_IPP_Object_Line Object
  328. (
  329. [_data:protected] => Array
  330. (
  331. [DetailType] => SalesItemLineDetail
  332. [Amount] => 2400
  333. [Description] => Carne Mechada - 1 (150g) - Porciones: 1-150g
  334. [SalesItemLineDetail] => Array
  335. (
  336. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  337. (
  338. [_data:protected] => Array
  339. (
  340. [ItemRef] => 1029
  341. [Qty] => 1
  342. [UnitPrice] => 2400
  343. )
  344.  
  345. )
  346.  
  347. )
  348.  
  349. )
  350.  
  351. )
  352.  
  353. [1] => QuickBooks_IPP_Object_Line Object
  354. (
  355. [_data:protected] => Array
  356. (
  357. [DetailType] => SalesItemLineDetail
  358. [Amount] => 3500
  359. [Description] => Lomito con Chimichurri - 1 (150g) - Porciones: 1-150g
  360. [SalesItemLineDetail] => Array
  361. (
  362. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  363. (
  364. [_data:protected] => Array
  365. (
  366. [ItemRef] => 963
  367. [Qty] => 1
  368. [UnitPrice] => 3500
  369. )
  370.  
  371. )
  372.  
  373. )
  374.  
  375. )
  376.  
  377. )
  378.  
  379. [2] => QuickBooks_IPP_Object_Line Object
  380. (
  381. [_data:protected] => Array
  382. (
  383. [DetailType] => SalesItemLineDetail
  384. [Amount] => 1800
  385. [Description] => Pollo Desmenuzado - 1 (150g) - Porciones: 1-150g
  386. [SalesItemLineDetail] => Array
  387. (
  388. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  389. (
  390. [_data:protected] => Array
  391. (
  392. [ItemRef] => 1074
  393. [Qty] => 1
  394. [UnitPrice] => 1800
  395. )
  396.  
  397. )
  398.  
  399. )
  400.  
  401. )
  402.  
  403. )
  404.  
  405. [3] => QuickBooks_IPP_Object_Line Object
  406. (
  407. [_data:protected] => Array
  408. (
  409. [DetailType] => SalesItemLineDetail
  410. [Amount] => 2100
  411. [Description] => Pollo Oriental - 1 (150g) - Porciones: 1-150g
  412. [SalesItemLineDetail] => Array
  413. (
  414. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  415. (
  416. [_data:protected] => Array
  417. (
  418. [ItemRef] => 948
  419. [Qty] => 1
  420. [UnitPrice] => 2100
  421. )
  422.  
  423. )
  424.  
  425. )
  426.  
  427. )
  428.  
  429. )
  430.  
  431. [4] => QuickBooks_IPP_Object_Line Object
  432. (
  433. [_data:protected] => Array
  434. (
  435. [DetailType] => SalesItemLineDetail
  436. [Amount] => 500
  437. [Description] => Bolsa Retornable (Reintegro al devolverla)
  438. [SalesItemLineDetail] => Array
  439. (
  440. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  441. (
  442. [_data:protected] => Array
  443. (
  444. [ItemRef] => 1126
  445. [Qty] => 1
  446. [UnitPrice] => 500
  447. )
  448.  
  449. )
  450.  
  451. )
  452.  
  453. )
  454.  
  455. )
  456.  
  457. [5] => QuickBooks_IPP_Object_Line Object
  458. (
  459. [_data:protected] => Array
  460. (
  461. [DetailType] => SalesItemLineDetail
  462. [Amount] => 4800
  463. [Description] => Vainicas y Zanahorias - 1 (150g) - Porciones: 1-150g
  464. [SalesItemLineDetail] => Array
  465. (
  466. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  467. (
  468. [_data:protected] => Array
  469. (
  470. [ItemRef] => 829
  471. [Qty] => 4
  472. [UnitPrice] => 1200
  473. )
  474.  
  475. )
  476.  
  477. )
  478.  
  479. )
  480.  
  481. )
  482.  
  483. [6] => QuickBooks_IPP_Object_Line Object
  484. (
  485. [_data:protected] => Array
  486. (
  487. [DetailType] => SalesItemLineDetail
  488. [Amount] => 1300
  489. [Description] => Zuquini en Tiras - 1 (150g) - Porciones: 1-150g
  490. [SalesItemLineDetail] => Array
  491. (
  492. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  493. (
  494. [_data:protected] => Array
  495. (
  496. [ItemRef] => 1119
  497. [Qty] => 1
  498. [UnitPrice] => 1300
  499. )
  500.  
  501. )
  502.  
  503. )
  504.  
  505. )
  506.  
  507. )
  508.  
  509. [7] => QuickBooks_IPP_Object_Line Object
  510. (
  511. [_data:protected] => Array
  512. (
  513. [DetailType] => SalesItemLineDetail
  514. [Amount] => 3000
  515. [Description] => Lomo Teriyaki
  516. [SalesItemLineDetail] => Array
  517. (
  518. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  519. (
  520. [_data:protected] => Array
  521. (
  522. [ItemRef] => 1260
  523. [Qty] => 2
  524. [UnitPrice] => 1500
  525. )
  526.  
  527. )
  528.  
  529. )
  530.  
  531. )
  532.  
  533. )
  534.  
  535. [8] => QuickBooks_IPP_Object_Line Object
  536. (
  537. [_data:protected] => Array
  538. (
  539. [DetailType] => SalesItemLineDetail
  540. [Amount] => 2200
  541. [Description] => Pollo Capresse - 1 (150g) - Porciones: 1-150g
  542. [SalesItemLineDetail] => Array
  543. (
  544. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  545. (
  546. [_data:protected] => Array
  547. (
  548. [ItemRef] => 881
  549. [Qty] => 1
  550. [UnitPrice] => 2200
  551. )
  552.  
  553. )
  554.  
  555. )
  556.  
  557. )
  558.  
  559. )
  560.  
  561. [9] => QuickBooks_IPP_Object_Line Object
  562. (
  563. [_data:protected] => Array
  564. (
  565. [DetailType] => SalesItemLineDetail
  566. [Amount] => 2700
  567. [SalesItemLineDetail] => Array
  568. (
  569. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  570. (
  571. [_data:protected] => Array
  572. (
  573. [ItemRef] => SHIPPING_ITEM_ID
  574. )
  575.  
  576. )
  577.  
  578. )
  579.  
  580. )
  581.  
  582. )
  583.  
  584. [10] => QuickBooks_IPP_Object_Line Object
  585. (
  586. [_data:protected] => Array
  587. (
  588. [DetailType] => SalesItemLineDetail
  589. [Amount] => 0
  590. [Description] => Coupon: bol3ker
  591. [SalesItemLineDetail] => Array
  592. (
  593. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  594. (
  595. [_data:protected] => Array
  596. (
  597. [ItemRef] => 1248
  598. )
  599.  
  600. )
  601.  
  602. )
  603.  
  604. )
  605.  
  606. )
  607.  
  608. [11] => QuickBooks_IPP_Object_Line Object
  609. (
  610. [_data:protected] => Array
  611. (
  612. [DetailType] => SalesItemLineDetail
  613. [Amount] => 0
  614. [Description] => Coupon: bol4des
  615. [SalesItemLineDetail] => Array
  616. (
  617. [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
  618. (
  619. [_data:protected] => Array
  620. (
  621. [ItemRef] => 1248
  622. )
  623.  
  624. )
  625.  
  626. )
  627.  
  628. )
  629.  
  630. )
  631.  
  632. [12] => QuickBooks_IPP_Object_Line Object
  633. (
  634. [_data:protected] => Array
  635. (
  636. [DetailType] => DiscountLineDetail
  637. [Amount] => 1000
  638. [Description] => Total Discount
  639. [DiscountLineDetail] => Array
  640. (
  641. [0] => QuickBooks_IPP_Object_DiscountLineDetail Object
  642. (
  643. [_data:protected] => Array
  644. (
  645. [PercentBased] =>
  646. [DiscountAccountRef] => 77
  647. )
  648.  
  649. )
  650.  
  651. )
  652.  
  653. )
  654.  
  655. )
  656.  
  657. )
  658.  
  659. [BillEmail] => QuickBooks_IPP_Object_BillEmail Object
  660. (
  661. [_data:protected] => Array
  662. (
  663. [Address] => cruz.ele@gmail.com
  664. )
  665.  
  666. )
  667.  
  668. [BillAddr] => QuickBooks_IPP_Object_BillAddr Object
  669. (
  670. [_data:protected] => Array
  671. (
  672. [Line1] => Elena Cruz Mora
  673. [Line2] =>
  674. [Line3] => Condominio Villa Cedros
  675. [Line4] => Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1
  676. [City] => Sabanilla
  677. [Country] => Costa Rica
  678. [CountrySubDivisionCode] => SAN_JOSE
  679. [PostalCode] =>
  680. )
  681.  
  682. )
  683.  
  684. [ShipAddr] => QuickBooks_IPP_Object_ShipAddr Object
  685. (
  686. [_data:protected] => Array
  687. (
  688. [Line1] => Elena Cruz Mora
  689. [Line2] =>
  690. [Line3] => Condominio Villa Cedros
  691. [Line4] => Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1
  692. [City] => Sabanilla
  693. [Country] => Costa Rica
  694. [CountrySubDivisionCode] => SAN_JOSE
  695. [PostalCode] =>
  696. )
  697.  
  698. )
  699.  
  700. [CustomField] => Array
  701. (
  702. [0] => QuickBooks_IPP_Object_CustomField Object
  703. (
  704. [_data:protected] => Array
  705. (
  706. [DefinitionId] => 1
  707. [Name] => 1
  708. [Type] => StringType
  709. [StringValue] => En la mañana
  710. )
  711.  
  712. )
  713.  
  714. )
  715.  
  716. )
  717.  
  718. )
  719.  
  720. Request:
  721. POST https://quickbooks.api.intuit.com/v3/company/123145845204672/invoice?requestid=930990d9-6e15-9674-7d51-b1210e6082de&minorversion=6 HTTP/1.1
  722. Content-Type: application/xml
  723. Authorization: OAuth realm="", oauth_signature_method="HMAC-SHA1", oauth_signature="Mh9EMew1la6XrJXkOzTM8nTI98A%3D", oauth_nonce="Hkp5B", oauth_timestamp="1507570034", oauth_token="qyprdJAWeN4FCxanYnvJ9KRuPX3cq08DsNSbRQK9KBzbGtIo", oauth_consumer_key="qyprdZNHZbDxasBSSjQMBj0K3tPijz", oauth_version="1.0"
  724. Content-Length: 6027
  725.  
  726. <Invoice xmlns="http://schema.intuit.com/finance/v3">
  727. <DocNumber>OR-4478</DocNumber>
  728. <TxnDate>2017-10-09</TxnDate>
  729. <DueDate>2017-10-09</DueDate>
  730. <CustomerRef>611</CustomerRef>
  731. <Line xmlns="http://schema.intuit.com/finance/v3">
  732. <Amount>2400</Amount>
  733. <DetailType>SalesItemLineDetail</DetailType>
  734. <Description>Carne Mechada - 1 (150g) - Porciones: 1-150g</Description>
  735. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  736. <ItemRef>1029</ItemRef>
  737. <Qty>1</Qty>
  738. <UnitPrice>2400</UnitPrice>
  739. </SalesItemLineDetail>
  740. </Line>
  741. <Line xmlns="http://schema.intuit.com/finance/v3">
  742. <Amount>3500</Amount>
  743. <DetailType>SalesItemLineDetail</DetailType>
  744. <Description>Lomito con Chimichurri - 1 (150g) - Porciones: 1-150g</Description>
  745. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  746. <ItemRef>963</ItemRef>
  747. <Qty>1</Qty>
  748. <UnitPrice>3500</UnitPrice>
  749. </SalesItemLineDetail>
  750. </Line>
  751. <Line xmlns="http://schema.intuit.com/finance/v3">
  752. <Amount>1800</Amount>
  753. <DetailType>SalesItemLineDetail</DetailType>
  754. <Description>Pollo Desmenuzado - 1 (150g) - Porciones: 1-150g</Description>
  755. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  756. <ItemRef>1074</ItemRef>
  757. <Qty>1</Qty>
  758. <UnitPrice>1800</UnitPrice>
  759. </SalesItemLineDetail>
  760. </Line>
  761. <Line xmlns="http://schema.intuit.com/finance/v3">
  762. <Amount>2100</Amount>
  763. <DetailType>SalesItemLineDetail</DetailType>
  764. <Description>Pollo Oriental - 1 (150g) - Porciones: 1-150g</Description>
  765. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  766. <ItemRef>948</ItemRef>
  767. <Qty>1</Qty>
  768. <UnitPrice>2100</UnitPrice>
  769. </SalesItemLineDetail>
  770. </Line>
  771. <Line xmlns="http://schema.intuit.com/finance/v3">
  772. <Amount>500</Amount>
  773. <DetailType>SalesItemLineDetail</DetailType>
  774. <Description>Bolsa Retornable (Reintegro al devolverla)</Description>
  775. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  776. <ItemRef>1126</ItemRef>
  777. <Qty>1</Qty>
  778. <UnitPrice>500</UnitPrice>
  779. </SalesItemLineDetail>
  780. </Line>
  781. <Line xmlns="http://schema.intuit.com/finance/v3">
  782. <Amount>4800</Amount>
  783. <DetailType>SalesItemLineDetail</DetailType>
  784. <Description>Vainicas y Zanahorias - 1 (150g) - Porciones: 1-150g</Description>
  785. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  786. <ItemRef>829</ItemRef>
  787. <Qty>4</Qty>
  788. <UnitPrice>1200</UnitPrice>
  789. </SalesItemLineDetail>
  790. </Line>
  791. <Line xmlns="http://schema.intuit.com/finance/v3">
  792. <Amount>1300</Amount>
  793. <DetailType>SalesItemLineDetail</DetailType>
  794. <Description>Zuquini en Tiras - 1 (150g) - Porciones: 1-150g</Description>
  795. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  796. <ItemRef>1119</ItemRef>
  797. <Qty>1</Qty>
  798. <UnitPrice>1300</UnitPrice>
  799. </SalesItemLineDetail>
  800. </Line>
  801. <Line xmlns="http://schema.intuit.com/finance/v3">
  802. <Amount>3000</Amount>
  803. <DetailType>SalesItemLineDetail</DetailType>
  804. <Description>Lomo Teriyaki</Description>
  805. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  806. <ItemRef>1260</ItemRef>
  807. <Qty>2</Qty>
  808. <UnitPrice>1500</UnitPrice>
  809. </SalesItemLineDetail>
  810. </Line>
  811. <Line xmlns="http://schema.intuit.com/finance/v3">
  812. <Amount>2200</Amount>
  813. <DetailType>SalesItemLineDetail</DetailType>
  814. <Description>Pollo Capresse - 1 (150g) - Porciones: 1-150g</Description>
  815. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  816. <ItemRef>881</ItemRef>
  817. <Qty>1</Qty>
  818. <UnitPrice>2200</UnitPrice>
  819. </SalesItemLineDetail>
  820. </Line>
  821. <Line xmlns="http://schema.intuit.com/finance/v3">
  822. <Amount>2700</Amount>
  823. <DetailType>SalesItemLineDetail</DetailType>
  824. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  825. <ItemRef>SHIPPING_ITEM_ID</ItemRef>
  826. </SalesItemLineDetail>
  827. </Line>
  828. <Line xmlns="http://schema.intuit.com/finance/v3">
  829. <Amount>0</Amount>
  830. <DetailType>SalesItemLineDetail</DetailType>
  831. <Description>Coupon: bol3ker</Description>
  832. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  833. <ItemRef>1248</ItemRef>
  834. </SalesItemLineDetail>
  835. </Line>
  836. <Line xmlns="http://schema.intuit.com/finance/v3">
  837. <Amount>0</Amount>
  838. <DetailType>SalesItemLineDetail</DetailType>
  839. <Description>Coupon: bol4des</Description>
  840. <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
  841. <ItemRef>1248</ItemRef>
  842. </SalesItemLineDetail>
  843. </Line>
  844. <Line xmlns="http://schema.intuit.com/finance/v3">
  845. <Amount>1000</Amount>
  846. <DetailType>DiscountLineDetail</DetailType>
  847. <Description>Total Discount</Description>
  848. <DiscountLineDetail xmlns="http://schema.intuit.com/finance/v3">
  849. <PercentBased></PercentBased>
  850. <DiscountAccountRef>77</DiscountAccountRef>
  851. </DiscountLineDetail>
  852. </Line>
  853. <BillEmail xmlns="http://schema.intuit.com/finance/v3">
  854. <Address>cruz.ele@gmail.com</Address>
  855. </BillEmail>
  856. <BillAddr xmlns="http://schema.intuit.com/finance/v3">
  857. <Line1>Elena Cruz Mora</Line1>
  858. <Line2></Line2>
  859. <Line3>Condominio Villa Cedros</Line3>
  860. <Line4>Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1</Line4>
  861. <City>Sabanilla</City>
  862. <Country>Costa Rica</Country>
  863. <CountrySubDivisionCode>SAN_JOSE</CountrySubDivisionCode>
  864. <PostalCode></PostalCode>
  865. </BillAddr>
  866. <ShipAddr xmlns="http://schema.intuit.com/finance/v3">
  867. <Line1>Elena Cruz Mora</Line1>
  868. <Line2></Line2>
  869. <Line3>Condominio Villa Cedros</Line3>
  870. <Line4>Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1</Line4>
  871. <City>Sabanilla</City>
  872. <Country>Costa Rica</Country>
  873. <CountrySubDivisionCode>SAN_JOSE</CountrySubDivisionCode>
  874. <PostalCode></PostalCode>
  875. </ShipAddr>
  876. <CustomField xmlns="http://schema.intuit.com/finance/v3">
  877. <DefinitionId>1</DefinitionId>
  878. <Name>1</Name>
  879. <Type>StringType</Type>
  880. <StringValue>En la mañana</StringValue>
  881. </CustomField>
  882. </Invoice>
  883. Response:
  884. HTTP/1.1 100 Continue
  885.  
  886. HTTP/1.1 400 Bad Request
  887. Server: nginx
  888. Date: Mon, 09 Oct 2017 17:27:14 GMT
  889. Content-Type: application/xml
  890. Content-Length: 413
  891. Connection: keep-alive
  892. Keep-Alive: timeout=5
  893. Strict-Transport-Security: max-age=15552000
  894. intuit_tid: 0822146f-3833-b5de-9f45-877a60d004a8
  895. Vary: Accept-Encoding
  896.  
  897. <?xml version="1.0" encoding="UTF-8" standalone="yes"?><IntuitResponse xmlns="http://schema.intuit.com/finance/v3" time="2017-10-09T10:27:14.432-07:00"><Fault type="ValidationFault"><Error code="6000" element=""><Message>A business validation error has occurred while processing your request</Message><Detail>Business Validation Error: Unexpected Internal Error. (-30004)</Detail></Error></Fault></IntuitResponse>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement