openydt-billing
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCRITICAL:开始前 MUST 先用 Read 工具读取(认证 / profile / 签名 / 状态码 / 限速 / 安全规则)。未读共享基座不要执行任何命令。../openydt-shared/SKILL.md
CRITICAL: MUST use the Read tool to readbefore starting (Authentication / Profile / Signature / Status Code / Rate Limiting / Security Rules). Do not execute any commands without reading the shared base.../openydt-shared/SKILL.md
何时用本技能
When to Use This Skill
本技能覆盖停车缴费交易域(trade):临停车辆查费、缴费信息回传、欠费批量补缴,以及预存款 / 运营积分预置(用于车辆自动扣费)。
意图路由:
- "这辆车停车费多少 / 查一下停车费 / 算费 / 出场要交多少钱" → (实时查费,10 分钟内须完成缴费)。
openydt trade get-park-fee - "未来停 X 小时大概多少钱 / 按时间段估算费用" → 。
openydt trade common-get-park-fee - "缴费成功了把订单回传 / 同步缴费 / 付款回写" → (写,需
openydt trade pay-park-fee)。--yes - "把这几条欠费一起补缴 / 批量补缴 / 离场欠费补缴" → (写,需
openydt trade payback-batch)。--yes - "给车预存款 / 充值后自动扣费 / 先付费后离场免密支付" → 或
openydt trade set-prestore-for-c-park(写,需set-prestore-for-c-park-first-pay-before-leave)。--yes - "预置运营积分 / 积分自动抵扣车费" → (写,需
openydt trade set-points)。--yes
在场车确认、订单查询、进车补录等属于 parking 域,见。openydt parking --help
This skill covers the parking payment transaction domain (trade): temporary parking fee checking, payment information feedback, batch payment of arrears, and pre-deposit/operation points preset (for automatic vehicle fee deduction).
Intent Routing:
- "How much is the parking fee for this car? / Check the parking fee / Calculate the fee / How much do I need to pay when exiting" → (real-time fee checking, payment must be completed within 10 minutes).
openydt trade get-park-fee - "Approximately how much will it cost to park for X hours in the future? / Estimate the fee by time period" → .
openydt trade common-get-park-fee - "Feedback the successful payment order / Sync payment / Write back payment" → (write operation, requires
openydt trade pay-park-fee).--yes - "Pay off these arrears together / Batch payment of arrears / Pay off exit arrears" → (write operation, requires
openydt trade payback-batch).--yes - "Pre-deposit for the car / Automatic deduction after recharge / Password-free payment with pay before exit" → or
openydt trade set-prestore-for-c-park(write operation, requiresset-prestore-for-c-park-first-pay-before-leave).--yes - "Preset operation points / Points automatically deduct parking fees" → (write operation, requires
openydt trade set-points).--yes
On-site vehicle confirmation, order query, vehicle entry supplementary recording, etc. belong to the parking domain, see.openydt parking --help
可用命令
Available Commands
| 中文名 | 命令 | 读/写 | 关键参数 |
|---|---|---|---|
| 按时间获取停车费用(估算未来时段) | | 读 | |
| 获取停车费用(实时查费,10 分钟内缴费) | | 读 | |
| 缴费信息回传 | | 写 | |
| 欠费批量补缴 | | 写 | |
| 预置运营积分(自动抵扣车费) | | 写 | |
| 预置预存款(云车场自动扣费) | | 写 | |
| 预置预存款(先付费后离场) | | 写 | |
所有写命令(/pay-park-fee/payback-batch/set-points/set-prestore-for-c-park)执行时必须加set-prestore-for-c-park-first-pay-before-leave确认,否则会被拦截。--yes
| Chinese Name | Command | Read/Write | Key Parameters |
|---|---|---|---|
| Get Parking Fee by Time (Estimate Future Period) | | Read | |
| Get Parking Fee (Real-time Fee Checking, Payment within 10 Minutes) | | Read | |
| Payment Information Feedback | | Write | |
| Batch Payment of Arrears | | Write | |
| Preset Operation Points (Automatic Parking Fee Deduction) | | Write | |
| Preset Pre-deposit (Automatic Deduction for Cloud Parking Lot) | | Write | |
| Preset Pre-deposit (Pay Before Exit) | | Write | |
All write commands (/pay-park-fee/payback-batch/set-points/set-prestore-for-c-park) must be executed withset-prestore-for-c-park-first-pay-before-leavefor confirmation, otherwise they will be blocked.--yes
业务流程
Business Process
停车缴费闭环(查费 → 缴费 → 对账)
Parking Payment Closed Loop (Fee Checking → Payment → Reconciliation)
逐步执行,务必把前序命令响应里的字段作为后续命令入参,不要凭空构造:
- 进车补录(云车场) — 若车辆入场未上报,先补录进车记录:
openydt parking supplement-parking-record-in --yes ... - 确认在场 — 查在场车,确认目标车牌在场并拿到所属车场:
openydt parking get-park-on-site-car --park-code-list <park> - 实时查费 — 按车牌 + 车场查费:
从响应里取后续缴费所需字段:
openydt trade get-park-fee --car-code <车牌> --park-code <park>- /
data.otherAttr.chargeBillToken→ 缴费令牌 / 账单号(缴费时回传data.otherAttr.chargeBillNumber的--body);otherAtrr - → 应缴金额(= 实付
data.shouldPayValue+ 券抵扣actPayCharge);couponValue - 响应里的 、
parkingCode→ 下一步缴费的chargeDate、--parking-code。--charge-date
查费后 10 分钟内须完成缴费,否则令牌/账单可能失效。 - 缴费回传(写,需 ) — 把第 3 步取到的令牌、账单、应缴/实付金额回传:
--yesopenydt trade pay-park-fee --yes \ --parking-code <来自查费 parkingCode> \ --charge-date <来自查费 chargeDate> \ --pay-date <yyyyMMddHHmmss> \ --act-pay-charge <实付,<= shouldPayValue> \ --pay-origin 9 --payment-mode 4 \ --bill-code <第三方唯一订单号> \ --body '{"otherAtrr":{"chargeBillToken":"<来自查费>","chargeBillNumber":"<来自查费>"}}'注意:带券缴费时里的couponList+couponValue必须等于查费返回的actPayCharge;shouldPayValue须全局唯一,重试缴费时与首次保持一致以便去重对账。billCode - 查订单记录 — 缴费后核对订单与明细:
openydt parking get-pay-bill ... openydt parking get-park-detail ...
Execute step by step, be sure to use the fields from the previous command response as parameters for subsequent commands, do not construct them out of thin air:
- Vehicle Entry Supplementary Recording (Cloud Parking Lot) — If the vehicle entry was not reported, first supplement the entry record:
openydt parking supplement-parking-record-in --yes ... - Confirm On-site Status — Check on-site vehicles, confirm the target license plate is on-site and get the affiliated parking lot:
openydt parking get-park-on-site-car --park-code-list <park> - Real-time Fee Checking — Check fees by license plate + parking lot:
Extract the fields required for subsequent payment from the response:
openydt trade get-park-fee --car-code <license plate> --park-code <park>- /
data.otherAttr.chargeBillToken→ Payment token / bill number (passed indata.otherAttr.chargeBillNumberofotherAtrrduring payment);--body - → Amount to be paid (= actual payment
data.shouldPayValue+ coupon deductionactPayCharge);couponValue - and
parkingCodefrom the response →chargeDateand--parking-codefor the next payment step.--charge-date
Payment must be completed within 10 minutes after fee checking, otherwise the token/bill may become invalid. - Payment Feedback (write operation, requires ) — Feedback the token, bill, and amount to be paid/actual payment amount obtained in step 3:
--yesopenydt trade pay-park-fee --yes \ --parking-code <from fee checking parkingCode> \ --charge-date <from fee checking chargeDate> \ --pay-date <yyyyMMddHHmmss> \ --act-pay-charge <actual payment, <= shouldPayValue> \ --pay-origin 9 --payment-mode 4 \ --bill-code <third-party unique order number> \ --body '{"otherAtrr":{"chargeBillToken":"<from fee checking>","chargeBillNumber":"<from fee checking>"}}'Note: When paying with coupons,incouponValue+couponListmust equalactPayChargereturned by fee checking;shouldPayValuemust be globally unique, and remain consistent with the first payment when retrying to facilitate deduplication and reconciliation.billCode - Check Order Records — Verify orders and details after payment:
openydt parking get-pay-bill ... openydt parking get-park-detail ...
示例
Examples
实时查费(按车牌在指定车场查停车费,参数取自 catalog sampleBody):
openydt trade get-park-fee --park-code 2KNTYVWC --car-code 粤EXX123按时间段估算未来停车费用(小车,停 10 小时):
openydt trade common-get-park-fee \
--park-code 2KNTYVWC --car-type 1 \
--start-time "2018-01-01 00:00:00" --end-time "2018-01-01 10:00:00"缴费回传(写操作,必须加 ;金额/账单字段取自查费响应):
--yesopenydt trade pay-park-fee --yes \
--parking-code 180410135558832886170666 \
--charge-date 20180411135558 --pay-date 20180411135658 \
--act-pay-charge 3.2 \
--pay-origin 9 --pay-origin-remark 微信 \
--payment-mode 4 --payment-mode-remark 微信支付 \
--bill-code 0Real-time Fee Checking (Check parking fee by license plate in the specified parking lot, parameters from catalog sampleBody):
openydt trade get-park-fee --park-code 2KNTYVWC --car-code 粤EXX123Estimate Future Parking Fee by Time Period (small car, park for 10 hours):
openydt trade common-get-park-fee \
--park-code 2KNTYVWC --car-type 1 \
--start-time "2018-01-01 00:00:00" --end-time "2018-01-01 10:00:00"Payment Feedback (write operation, must add ; amount/bill fields from fee checking response):
--yesopenydt trade pay-park-fee --yes \
--parking-code 180410135558832886170666 \
--charge-date 20180411135558 --pay-date 20180411135658 \
--act-pay-charge 3.2 \
--pay-origin 9 --pay-origin-remark 微信 \
--payment-mode 4 --payment-mode-remark 微信支付 \
--bill-code 0