{
    "success": true,
    "api_version": "JOY-PRINT-AGENT-PAYLOAD-1",
    "preview_version": "JOY-PRINT-PREVIEW-V2-R5.33.9-LINE-CLOUD-T1",
    "generated_at": "2026-12-04T12:46:49+08:00",
    "settings_version": "d62ec8d7490fc9924f75d0eb625638d3068104901243465db84c8b112d9a1fa4",
    "effective_settings_version": "e3ba46acacc8ef2e908a4cd6d4d9c80b68760b0ba0e4c16c5ce08704fb426ec4",
    "settings_updated_at": "2026-12-04T10:38:41+08:00",
    "settings_source": "print_settings_data_v2.json",
    "settings_fallback": false,
    "settings_warning": "",
    "agent_channel": "compatible",
    "intent_validation": "compatible_fallback",
    "settings_contract": {
        "contract_version": "P76-R6.1-CLOUD-PARAMS-2-WHITE-CONTRACT",
        "agent_version": "V0.2.7-P7.6-R6-FIX5CH",
        "renderer": "Windows GDI → 1-bit raster → RAW ESC/POS",
        "dpi": 203,
        "geometry": {
            "paper_width_mm": 80,
            "content_width_mm": 72,
            "margin_left_mm": 4,
            "content_width_dots": 576,
            "margin_left_dots": 32,
            "price_column_mm": 34,
            "price_column_dots": 272,
            "no_price_right_column_mm": 0
        },
        "translated_keys": [
            "font_choice",
            "font_family",
            "receipt_title_font_px",
            "bag_title_font_px",
            "pickup_number_title_font_px",
            "pickup_number_number_font_px",
            "pickup_number_content_font_px",
            "receipt_item_font_px",
            "receipt_item_note_font_px",
            "pickup_number_item_font_px",
            "pickup_number_item_note_font_px",
            "service_label_gap_before_mm",
            "item_row_gap_mm",
            "white_item_separator_style",
            "white_item_list_end_separator_style",
            "white_bag_separator_style",
            "white_section_separator_style",
            "white_header_info_mode"
        ],
        "ignored_keys": [
            "_v2_alert_label_fallback",
            "_v2_alert_label_source",
            "_v2_bag_label_fallback",
            "_v2_bag_label_source",
            "_v2_mode_label_fallback",
            "_v2_mode_label_source",
            "alert_label_style",
            "bag_label_style",
            "mode_label_style",
            "print_background_graphics"
        ]
    },
    "settings": {
        "_v2_alert_label_fallback": "0",
        "_v2_alert_label_source": "text_box",
        "_v2_bag_label_fallback": "0",
        "_v2_bag_label_source": "text_box",
        "_v2_mode_label_fallback": "0",
        "_v2_mode_label_source": "dark",
        "alert_font_px": "20",
        "alert_label_style": "frame",
        "bag_label_style": "frame",
        "content_width_mm": "72",
        "created_time_font_px": "20",
        "customer_info_font_px": "20",
        "font_choice": "Microsoft JhengHei",
        "font_custom": "",
        "font_family": "Microsoft JhengHei",
        "label_style_mode": "web_frame",
        "large_order_threshold": "30",
        "margin_left_mm": "4",
        "mode_badge_font_px": "20",
        "mode_label_style": "reverse",
        "order_note_font_px": "20",
        "packing_item_font_px": "24",
        "packing_item_name_qty_order": "qty_name",
        "packing_item_note_font_px": "20",
        "packing_show_address": "1",
        "packing_show_created_time": "0",
        "packing_show_customer": "1",
        "packing_show_field_label": "1",
        "packing_show_item_separator": "1",
        "packing_show_note": "1",
        "packing_show_payment": "1",
        "packing_show_phone": "1",
        "packing_show_price": "1",
        "packing_subtitle": "",
        "packing_title": "電話外送核對單",
        "packing_title_font_px": "24",
        "paper_width_mm": "80",
        "print_background_graphics": "1",
        "production_item_count_font_px": "20",
        "production_item_font_px": "26",
        "production_item_name_qty_order": "qty_name",
        "production_item_note_font_px": "22",
        "production_show_address": "1",
        "production_show_created_time": "0",
        "production_show_customer": "1",
        "production_show_field_label": "1",
        "production_show_item_count": "1",
        "production_show_item_separator": "1",
        "production_show_note": "1",
        "production_show_phone": "1",
        "production_title": "電外送製作單",
        "production_title_font_px": "24",
        "receipt_title_font_px": "18",
        "bag_title_font_px": "18",
        "pickup_number_title_font_px": "22",
        "pickup_number_number_font_px": "64",
        "pickup_number_content_font_px": "15",
        "receipt_item_font_px": "20",
        "receipt_item_note_font_px": "14",
        "pickup_number_item_font_px": "16",
        "pickup_number_item_note_font_px": "12",
        "service_label_gap_before_mm": "0.5",
        "item_row_gap_mm": "0",
        "white_item_separator_style": "fine_dashed",
        "white_item_list_end_separator_style": "thick_solid",
        "white_bag_separator_style": "thick_solid",
        "white_section_separator_style": "fine_dashed",
        "white_header_info_mode": "inline_label_value"
    },
    "order": {
        "id": 188,
        "order_no": "OC261023102857960",
        "customer": "同鈞(大灣東路106號",
        "phone": "0916866292",
        "is_delivery": true,
        "source_key": "phone_delivery",
        "source_title": "電話外送",
        "pickup_date": "2026-10-23",
        "pickup_time": "11:30",
        "bag_count": 1,
        "item_count": 22,
        "total_amount": 2200
    },
    "documents": [
        {
            "document_style": "production_work",
            "title": "電外送製作單",
            "subtitle": "",
            "scope": "production",
            "bags": [
                {
                    "no": 1,
                    "name": "本次訂單",
                    "item_count": 22,
                    "items": [
                        {
                            "id": 1422,
                            "name": "油雞飯",
                            "quantity": 22,
                            "display": "22 x 油雞飯",
                            "note": "",
                            "unit_price": 100,
                            "subtotal": 2200,
                            "bag_no": 1,
                            "bag_name": "本次訂單"
                        }
                    ]
                }
            ],
            "order_no": "OC261023102857960",
            "source_title": "電話外送",
            "source_time_label": "外送",
            "pickup_date": "2026-10-23",
            "pickup_time": "11:30",
            "created_at": "2026-10-23 10:28:57",
            "print_time": "2026-12-04 12:46",
            "customer": "同鈞(大灣東路106號",
            "masked_customer": "同*號",
            "phone": "0916866292",
            "address": "永康區大灣東路106號",
            "order_note": "收據",
            "is_delivery": true,
            "is_queue": false,
            "queue_number": "",
            "pickup_code": "292",
            "display_code": "292",
            "item_count": 22,
            "bag_count": 1,
            "total_amount": 2200,
            "payment_display": "",
            "alert_text": "",
            "v2_document_id": "production_work_phone_delivery",
            "cloud_template_url": "https://www.order.joysiumei.com/print_preview_v2_ts.php?order_id=188&agent_render=1&agent_template_contract=1&_joy_agent=1796359609377&document_style=production_work&document_id=production_work_phone_delivery"
        },
        {
            "document_style": "packing_check",
            "title": "電話外送核對單",
            "subtitle": "",
            "scope": "packing",
            "bags": [
                {
                    "no": 1,
                    "name": "本次訂單",
                    "item_count": 22,
                    "items": [
                        {
                            "id": 1422,
                            "name": "油雞飯",
                            "quantity": 22,
                            "display": "22 x 油雞飯",
                            "note": "",
                            "unit_price": 100,
                            "subtotal": 2200,
                            "bag_no": 1,
                            "bag_name": "本次訂單"
                        }
                    ]
                }
            ],
            "order_no": "OC261023102857960",
            "source_title": "電話外送",
            "source_time_label": "外送",
            "pickup_date": "2026-10-23",
            "pickup_time": "11:30",
            "created_at": "2026-10-23 10:28:57",
            "print_time": "2026-12-04 12:46",
            "customer": "同鈞(大灣東路106號",
            "masked_customer": "同*號",
            "phone": "0916866292",
            "address": "永康區大灣東路106號",
            "order_note": "收據",
            "is_delivery": true,
            "is_queue": false,
            "queue_number": "",
            "pickup_code": "292",
            "display_code": "292",
            "item_count": 22,
            "bag_count": 1,
            "total_amount": 2200,
            "payment_display": "",
            "alert_text": "",
            "v2_document_id": "packing_check_phone_delivery",
            "cloud_template_url": "https://www.order.joysiumei.com/print_preview_v2_ts.php?order_id=188&agent_render=1&agent_template_contract=1&_joy_agent=1796359609377&document_style=packing_check&document_id=packing_check_phone_delivery"
        }
    ],
    "v2_bridge": {
        "version": "JOY-PRINT-AGENT-BRIDGE-V2-R5.33.1-GENERAL-DOC-T1",
        "mapping_diagnostics": {
            "translator_version": "JOY-PRINT-AGENT-BRIDGE-V2-R5.33.1-GENERAL-DOC-T1",
            "mapped_keys": [
                "paper_width_mm",
                "content_width_mm",
                "margin_left_mm",
                "font_family",
                "font_choice",
                "bag_label_style",
                "mode_label_style",
                "alert_label_style",
                "print_background_graphics",
                "mode_badge_font_px",
                "alert_font_px"
            ],
            "fallback_keys": [],
            "unsupported_keys": [
                "dynamic_price_column_mm",
                "line_gap_before_mm",
                "line_gap_after_mm",
                "badge_padding_mm",
                "badge_border_width_mm",
                "font_quality",
                "gdi_antialias_mode"
            ],
            "resolved_documents": [
                "production_work",
                "packing_check"
            ],
            "legacy_contract": "JOY-PRINT-AGENT-PAYLOAD-1",
            "formal_profile_reference": "728樣式_20260728",
            "effective_label_contract": {
                "bag_label_style": "frame",
                "mode_label_style": "reverse",
                "alert_label_style": "frame",
                "label_style_mode": "web_frame",
                "print_background_graphics": "1"
            },
            "v2_label_sources": {
                "bag": "text_box",
                "mode": "dark",
                "alert": "text_box"
            }
        },
        "print_model_version": "JOY-PRINT-MODEL-V2-R5.14.1",
        "renderer_version": "JOY-PRINT-RENDERER-V2-R5.18.9-REPORT-AMOUNTS-T1",
        "settings_schema": "5.5",
        "requested_document_style": "all",
        "resolved_document_ids": {
            "production_work": "production_work_phone_delivery",
            "packing_check": "packing_check_phone_delivery"
        },
        "warnings": []
    }
}