Advertisement
guilleaer

AKVDJW

Mar 15th, 2023
588
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 11.19 KB | None | 0 0
  1. {
  2.     "id": "53a79e10-9547-48fd-9be3-73cf32397e85",
  3.     "reference": "AKVDJW",
  4.     "type": "traiteur",
  5.     "status": "confirmed",
  6.     "origin": {
  7.         "site": {
  8.             "id": "196",
  9.             "link": "apire7.agapes.fr/sites/v3/196"
  10.         },
  11.         "type": "web",
  12.         "application": {
  13.             "id": "26d61688-d7ba-42c6-9616-88d7baa2c645",
  14.             "label": "MAGENTO2"
  15.         }
  16.     },
  17.     "brands": [
  18.         "FLUNCH"
  19.     ],
  20.     "dates": {
  21.         "creation": "2023-03-13T12:45:24.000Z",
  22.         "timestamp_update": "2023-03-13T12:45:31.770Z",
  23.         "last_modification": "2023-03-13T12:45:31.770Z"
  24.     },
  25.     "order_step": "order",
  26.     "cross_references": [
  27.         {
  28.             "id": "000007391",
  29.             "application": {
  30.                 "id": "26d61688-d7ba-42c6-9616-88d7baa2c645",
  31.                 "label": "MAGENTO2"
  32.             }
  33.         },
  34.         {
  35.             "id": "2493163",
  36.             "application": {
  37.                 "id": "26d61688-d7ba-42c6-9616-88d7baa2c645",
  38.                 "label": "COMARCH"
  39.             }
  40.         }
  41.     ],
  42.     "delivery": {
  43.         "date": "2023-03-18T09:30:00.000Z",
  44.         "type": "collect",
  45.         "comments": "pas de commentaire",
  46.         "site": {
  47.             "id": "196",
  48.             "link": "apire7.agapes.fr/sites/v3/196"
  49.         }
  50.     },
  51.     "customer": {
  52.         "id": "565711",
  53.         "creation_date": "2023-03-10T10:46:49.819Z",
  54.         "entity": {},
  55.         "contacts": [
  56.             {
  57.                 "email": "morgane.vandenbosch@externe.agapes.fr",
  58.                 "phone": "+33 6 77 25 25 67",
  59.                 "types": [
  60.                     "delivery"
  61.                 ],
  62.                 "mobile": "+33 6 77 25 25 67",
  63.                 "address": {
  64.                     "country": {
  65.                         "code": "FR",
  66.                         "name": "France"
  67.                     },
  68.                     "locality": "GLISY",
  69.                     "postal_code": "80440",
  70.                     "street_name": "C.CIAL AMIENS GLISY 8 AV PHILEAS FOGG POLE J. VERNE"
  71.                 },
  72.                 "civility": "Ms",
  73.                 "last_name": "Morgane",
  74.                 "first_name": "Flunchtraiteurs",
  75.                 "is_default": true
  76.             },
  77.             {
  78.                 "email": "morgane.vandenbosch@externe.agapes.fr",
  79.                 "phone": "+33 6 77 25 25 67",
  80.                 "types": [
  81.                     "order",
  82.                     "invoice"
  83.                 ],
  84.                 "mobile": "+33 6 77 25 25 67",
  85.                 "address": {
  86.                     "country": {
  87.                         "code": "FR",
  88.                         "name": "France"
  89.                     },
  90.                     "locality": "AMIENS",
  91.                     "postal_code": "80090",
  92.                     "street_name": "RUE FREDERIC MISTRAL"
  93.                 },
  94.                 "civility": "Ms",
  95.                 "last_name": "Morgane",
  96.                 "first_name": "Flunchtraiteurs",
  97.                 "is_default": true
  98.             }
  99.         ]
  100.     },
  101.     "items": [
  102.         {
  103.             "id": "804b7164-86aa-589f-e812-bca7638a5765",
  104.             "vat": {
  105.                 "code": 13,
  106.                 "rate": 0.055,
  107.                 "amount": 3.13
  108.             },
  109.             "type": "menu",
  110.             "unit": {
  111.                 "price": {
  112.                     "tax_excluded_amount": 56.82,
  113.                     "tax_included_amount": 59.95
  114.                 }
  115.             },
  116.             "label": "Petit déjeuner formule vitaminée 10 personnes",
  117.             "price": {
  118.                 "tax_excluded_amount": 56.82,
  119.                 "tax_included_amount": 59.95
  120.             },
  121.             "scope": {
  122.                 "activity": 4,
  123.                 "sales_area": 13,
  124.                 "sales_type": 2
  125.             },
  126.             "quantity": 1,
  127.             "discounts": [
  128.                 {
  129.                     "code": "10PAGNOTE",
  130.                     "label": "10e sur un produit",
  131.                     "amount": 10,
  132.                     "technical_id": "119408"
  133.                 }
  134.             ],
  135.             "reference": "17417",
  136.             "components": [
  137.                 {
  138.                     "id": "6d0fc9ae-6b7e-9121-8c6c-bd3b21f1d20a",
  139.                     "vat": {
  140.                         "code": 13,
  141.                         "rate": 0.055,
  142.                         "amount": 0.28
  143.                     },
  144.                     "label": "Mini viennoiseries x30 ",
  145.                     "price": {
  146.                         "tax_excluded_amount": 5.05,
  147.                         "tax_included_amount": 5.33
  148.                     },
  149.                     "quantity": 1,
  150.                     "reference": "17416",
  151.                     "line_number": 1,
  152.                     "piece_count": 30,
  153.                     "menu_component_details": {
  154.                         "id": "92",
  155.                         "label": "VIENNOISERIES"
  156.                     }
  157.                 },
  158.                 {
  159.                     "id": "2648963f-0fc0-4a37-f09d-947e9cc2a689",
  160.                     "vat": {
  161.                         "code": 13,
  162.                         "rate": 0.055,
  163.                         "amount": 1.07
  164.                     },
  165.                     "label": "Yaourt à la grecque aux fruits x10",
  166.                     "price": {
  167.                         "tax_excluded_amount": 19.55,
  168.                         "tax_included_amount": 20.62
  169.                     },
  170.                     "quantity": 1,
  171.                     "reference": "19089",
  172.                     "line_number": 2,
  173.                     "piece_count": 0,
  174.                     "menu_component_details": {
  175.                         "id": "396",
  176.                         "label": "FROMAGE BLANC"
  177.                     }
  178.                 },
  179.                 {
  180.                     "id": "0cdaaf39-9b31-f9f7-6dd3-27e6e56e22c7",
  181.                     "vat": {
  182.                         "code": 13,
  183.                         "rate": 0.055,
  184.                         "amount": 0.11
  185.                     },
  186.                     "label": "Le jus d'orange 1L ",
  187.                     "price": {
  188.                         "tax_excluded_amount": 1.93,
  189.                         "tax_included_amount": 2.04
  190.                     },
  191.                     "quantity": 1,
  192.                     "reference": "11053",
  193.                     "line_number": 3,
  194.                     "piece_count": 0,
  195.                     "menu_component_details": {
  196.                         "id": "397",
  197.                         "label": "JUS DE FRUITS"
  198.                     }
  199.                 },
  200.                 {
  201.                     "id": "0cdaaf39-9b31-f9f7-6dd3-27e6e56e22c7",
  202.                     "vat": {
  203.                         "code": 13,
  204.                         "rate": 0.055,
  205.                         "amount": 0.11
  206.                     },
  207.                     "label": "Le jus d'orange 1L ",
  208.                     "price": {
  209.                         "tax_excluded_amount": 1.93,
  210.                         "tax_included_amount": 2.04
  211.                     },
  212.                     "quantity": 1,
  213.                     "reference": "11053",
  214.                     "line_number": 4,
  215.                     "piece_count": 0,
  216.                     "menu_component_details": {
  217.                         "id": "397",
  218.                         "label": "JUS DE FRUITS"
  219.                     }
  220.                 },
  221.                 {
  222.                     "id": "04151ef6-edb0-4809-f7c5-68ae461e944a",
  223.                     "vat": {
  224.                         "code": 3,
  225.                         "rate": 0.1,
  226.                         "amount": 0.66
  227.                     },
  228.                     "label": "Thermos de thé (8 personnes)",
  229.                     "price": {
  230.                         "tax_excluded_amount": 6.57,
  231.                         "tax_included_amount": 7.23
  232.                     },
  233.                     "quantity": 1,
  234.                     "reference": "11424",
  235.                     "line_number": 5,
  236.                     "piece_count": 0,
  237.                     "menu_component_details": {
  238.                         "id": "399",
  239.                         "label": "BOISSONS CHAUDES"
  240.                     }
  241.                 },
  242.                 {
  243.                     "id": "04151ef6-edb0-4809-f7c5-68ae461e944a",
  244.                     "vat": {
  245.                         "code": 3,
  246.                         "rate": 0.1,
  247.                         "amount": 0.66
  248.                     },
  249.                     "label": "Thermos de thé (8 personnes)",
  250.                     "price": {
  251.                         "tax_excluded_amount": 6.57,
  252.                         "tax_included_amount": 7.23
  253.                     },
  254.                     "quantity": 1,
  255.                     "reference": "11424",
  256.                     "line_number": 6,
  257.                     "piece_count": 0,
  258.                     "menu_component_details": {
  259.                         "id": "399",
  260.                         "label": "BOISSONS CHAUDES"
  261.                     }
  262.                 },
  263.                 {
  264.                     "id": "06cfc557-4b0e-2777-8b45-23c0773320fd",
  265.                     "vat": {
  266.                         "code": 13,
  267.                         "rate": 0.055,
  268.                         "amount": 0.81
  269.                     },
  270.                     "label": "Corbeille de fruits 3kg ",
  271.                     "price": {
  272.                         "tax_excluded_amount": 14.65,
  273.                         "tax_included_amount": 15.46
  274.                     },
  275.                     "quantity": 1,
  276.                     "reference": "13371",
  277.                     "line_number": 7,
  278.                     "piece_count": 1,
  279.                     "menu_component_details": {
  280.                         "id": "573",
  281.                         "label": "CORBEILLE DE FRUITS"
  282.                     }
  283.                 }
  284.             ],
  285.             "line_number": 1,
  286.             "piece_count": 0
  287.         }
  288.     ],
  289.     "payment": {
  290.         "type": "payzen",
  291.         "status": "authorized",
  292.         "history": [
  293.             {
  294.                 "date": "2023-03-13T12:45:24.000Z",
  295.                 "mode": {
  296.                     "id": "031",
  297.                     "label_long": "CARTE BANCAIRE WEB",
  298.                     "label_short": "CB.WEB"
  299.                 },
  300.                 "amount": 59.95,
  301.                 "category": {
  302.                     "id": "0068",
  303.                     "label_long": "CARTE BLEUE WEB",
  304.                     "label_short": "CB WEB"
  305.                 },
  306.                 "currency": "EUR",
  307.                 "transaction": {
  308.                     "id": "459077",
  309.                     "status": "authorized"
  310.                 },
  311.                 "order_payment_status": "authorized"
  312.             }
  313.         ]
  314.     },
  315.     "totals": {
  316.         "vat": [
  317.             {
  318.                 "code": 13,
  319.                 "rate": 0.055,
  320.                 "tax_amount": 3.13,
  321.                 "tax_excluded_amount": 56.82,
  322.                 "tax_included_amount": 59.95
  323.             }
  324.         ],
  325.         "discounts": 10,
  326.         "net_tax_excluded": 56.82,
  327.         "net_tax_included": 59.95,
  328.         "raw_tax_excluded": 56.82,
  329.         "raw_tax_included": 59.95,
  330.         "already_paid_amount": 59.95,
  331.         "remaining_payment_due": 0
  332.     },
  333.     "comments": "test comment 1"
  334. }
  335.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement