openydt-billing
Original:🇨🇳 Chinese
Translated
Parking Payment Transaction Domain: Check parking fees, payment feedback, batch payment of arrears, pre-deposit/operation points preset. Covers high-frequency terms such as fee checking/payment/parking fee/parking fee checking/fee calculation/online payment/payment feedback/payment/arrears payment/batch payment/pre-deposit/pre-payment/pay before exit/password-free payment/operation points/points deduction/time-based fee calculation.
6installs
Sourcexiaowen-0725/openydt-cli
Added on
NPX Install
npx skill4agent add xiaowen-0725/openydt-cli openydt-billingTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →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
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
| 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)
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
Real-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