Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": "2853aba0-1fff-4b0f-973e-45089c4884f7",
- "reference": "UWXA3E",
- "type": "group",
- "status": "confirmed",
- "origin": {
- "site": {
- "id": "1",
- "link": "apire7.agapes.fr/sites/v3/1"
- },
- "type": "web",
- "application": {
- "id": "b7bab1d0-313e-44d4-bab1-d0313e84d480",
- "label": "ESB"
- }
- },
- "brands": [
- "FLUNCH"
- ],
- "dates": {
- "creation": "2023-03-02T16:57:00.428Z",
- "timestamp_update": "2023-03-02T15:57:44.263Z",
- "last_modification": "2023-03-02T16:57:00.428Z"
- },
- "order_step": "order",
- "cross_references": [
- {
- "id": "1541_100005213",
- "application": {
- "id": "b7bab1d0-313e-44d4-bab1-d0313e84d480",
- "label": "ESB"
- }
- }
- ],
- "delivery": {
- "date": "2023-03-02T16:57:00.428Z",
- "type": "collect",
- "site": {
- "id": "37",
- "link": "apire7.agapes.fr/sites/v3/37"
- }
- },
- "customer": {
- "id": "500367",
- "creation_date": "2023-02-24T15:24:26.008Z",
- "entity": {},
- "contacts": [
- {
- "fax": "0",
- "email": "moflunchgroupe@yopmail.com",
- "phone": "0101010101",
- "types": [
- "order",
- "invoice",
- "delivery"
- ],
- "mobile": "0101010101",
- "address": {
- "country": {
- "code": "France",
- "name": "France"
- },
- "locality": "lille",
- "postal_code": "59800",
- "street_name": " 4 rue espoir"
- },
- "service": "non renseigné",
- "civility": "Mme",
- "last_name": "Flunch",
- "first_name": "morgane"
- }
- ]
- },
- "items": [
- {
- "id": "04a875a1-f71a-4675-e27f-f0a954468baf",
- "vat": {
- "code": 3,
- "rate": 0.1,
- "amount": 9.04545
- },
- "type": "menu",
- "unit": {
- "type": "menu",
- "price": {
- "tax_excluded_amount": 9.04545,
- "tax_included_amount": 9.95
- }
- },
- "label": "Menu duo flunch 2019 groupe ",
- "price": {
- "tax_excluded_amount": 7.682,
- "tax_included_amount": 8.45
- },
- "scope": {
- "activity": 4,
- "sales_area": 4,
- "sales_type": 1
- },
- "quantity": 15,
- "reference": "19605",
- "components": [
- {
- "id": "5a33a70e-fac9-9db5-d99d-cf2f0ed9ded9",
- "vat": {
- "code": 3,
- "rate": 0.1,
- "amount": 0
- },
- "label": "1/4 de poulet rôti volaille française",
- "price": {
- "tax_excluded_amount": 6.318,
- "tax_included_amount": 6.95
- },
- "quantity": 15,
- "reference": "127",
- "line_number": 1,
- "menu_component_details": {
- "id": "5a33a70e-fac9-9db5-d99d-cf2f0ed9ded9",
- "label": "1/4 de poulet rôti volaille française"
- }
- },
- {
- "id": "8778de65-64bd-0de7-7529-a463c268718c",
- "vat": {
- "code": 3,
- "rate": 0.1,
- "amount": 0
- },
- "label": "Eclair au chocolat ",
- "price": {
- "tax_excluded_amount": 1.773,
- "tax_included_amount": 1.95
- },
- "quantity": 15,
- "reference": "13491",
- "line_number": 2,
- "menu_component_details": {
- "id": "8778de65-64bd-0de7-7529-a463c268718c",
- "label": "Eclair au chocolat "
- }
- },
- {
- "id": "72e7f092-b1c8-9a73-fb2a-ef0cc2a1958c",
- "vat": {
- "code": 3,
- "rate": 0.1,
- "amount": 0
- },
- "label": "Petit pain gourmet ",
- "price": {
- "tax_excluded_amount": 0.318,
- "tax_included_amount": 0.35
- },
- "quantity": 15,
- "reference": "1691",
- "line_number": 3,
- "menu_component_details": {
- "id": "72e7f092-b1c8-9a73-fb2a-ef0cc2a1958c",
- "label": "Petit pain gourmet "
- }
- }
- ],
- "line_number": 1
- }
- ],
- "guest_count": 15,
- "linked_documents": [
- {
- "id": "V3901C100005213",
- "date": "2023-03-24T00:00:00.000Z",
- "type": "voucher",
- "label": "voucher"
- }
- ],
- "discounts": [
- {
- "code": "7000500",
- "label": "menu",
- "amount": 6.34,
- "technical_id": "7000500"
- }
- ],
- "payment": {
- "type": "payzen",
- "status": "authorized",
- "history": [
- {
- "date": "2023-03-24T00:00:00.000Z",
- "mode": {
- "id": "031",
- "label_long": "CARTE BANCAIRE WEB",
- "label_short": "CB WEB"
- },
- "amount": 120.42,
- "category": {
- "id": "68",
- "label_long": "CARTE BANCAIRE WEB",
- "label_short": "CB WEB"
- },
- "currency": "EUR",
- "transaction": {
- "id": "574361",
- "status": "authorized"
- },
- "order_payment_status": "authorized"
- }
- ]
- },
- "totals": {
- "vat": [
- {
- "code": 0,
- "rate": 0,
- "tax_amount": 0,
- "tax_excluded_amount": 0,
- "tax_included_amount": 0
- }
- ],
- "discounts": 6.34,
- "net_tax_excluded": 0,
- "net_tax_included": 120.42,
- "raw_tax_excluded": 0,
- "raw_tax_included": 126.76,
- "already_paid_amount": 120.42,
- "remaining_payment_due": 0
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement