Files
verify-invoice-default/scripts/service/rpa/__init__.py
chenfuqiang 3a80db8a7e
All checks were successful
技能自动化发布 / release (push) Successful in 7s
chore: auto release commit (2026-09-14 22:22:49)
2026-09-14 22:22:49 +08:00

38 lines
1.1 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""RPA模块:提供发票信息提取的自动化功能。
完整流程:
1. 登录 sandbox.jc2009.com(手机号+密码)
2. 找到"智慧校园"并点击进入
3. 登录智慧校园(默认 demo 账号)
4. 导航到票据合规预审页面
5. 提取发票数据
"""
from .browser_session import close_browser_context, find_browser_executable, start_browser_session
from .invoice_extractor import extract_form_fields, extract_invoice_detail, extract_invoice_list, format_invoice_data
from .invoice_rpa import InvoiceRpaResult, run_invoice_rpa, run_invoice_rpa_with_video
from .login_handler import (
enter_smart_campus,
login_if_needed,
login_sandbox,
login_smart_campus,
navigate_to_invoice_precheck,
)
__all__ = [
"start_browser_session",
"close_browser_context",
"find_browser_executable",
"login_if_needed",
"login_sandbox",
"enter_smart_campus",
"login_smart_campus",
"navigate_to_invoice_precheck",
"extract_invoice_list",
"extract_invoice_detail",
"extract_form_fields",
"format_invoice_data",
"run_invoice_rpa",
"run_invoice_rpa_with_video",
"InvoiceRpaResult",
]