12306-invoice-downloader

Download and rename 12306 train ticket invoice attachments from 163 email.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/syzl8512/openclaw-experience --skill 12306-invoice-downloader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 12306-invoice-downloader
Source: https://github.com/syzl8512/openclaw-experience/tree/main/03_%E6%A0%B8%E5%BF%83Skill/12306-invoice-downloader
Command: npx skills add https://github.com/syzl8512/openclaw-experience --skill 12306-invoice-downloader

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of downloading 12306 train ticket invoices from your 163 email and organizing them, saving you the manual effort of searching, downloading, and renaming.

Core Features & Use Cases

  • Email Integration: Connects to your 163 email account to find invoice emails.
  • Automatic Downloading: Downloads PDF and OFD invoice attachments.
  • Smart Renaming: Renames files to a clear format: "Date_TrainNumber_Route".
  • Use Case: Automatically collect all your train ticket invoices for a business trip into a single, organized folder for easy expense reporting.

Quick Start

Run the download_invoices.sh script to automatically download and organize your 12306 train invoices.

Frequently Asked Questions about 12306-invoice-downloader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically download 12306 train ticket invoices from my email?

To automatically download 12306 train ticket invoices, this skill parses emails from a 163 email account and downloads PDF and OFD attachments. It uses AppleScript for Mail.app integration to automate the retrieval process.

Can I automatically rename 12306 invoice PDFs to include the date and train number?

Yes, you can automatically rename 12306 invoice PDFs using shell scripting to a standardized format. The skill renames downloaded PDF and OFD attachments to a clear Date_TrainNumber_Route structure for organization.

Do I need AppleScript and Mail.app to organize 12306 invoices?

Yes, you need AppleScript and Mail.app to organize 12306 invoices because the skill requires AppleScript for Mail.app integration. It uses this integration to parse emails and shell scripting for file management.

What is the best way to collect 12306 train invoices for expense reporting?

The best way to collect 12306 train invoices for expense reporting is running the download_invoices.sh script. It automatically downloads and organizes your train ticket invoices into a single folder with a standardized naming format.

Does the 12306 invoice downloader support OFD attachments?

Yes, the 12306 invoice downloader supports OFD attachments alongside PDF files. It automatically parses 163 emails to find and download both PDF and OFD invoice attachments for comprehensive ticket collection.

Why does my 12306 invoice download script fail to connect to my email?

Your 12306 invoice download script may fail because it specifically requires a 163 email account and AppleScript for Mail.app integration. Ensure your 163 email is properly configured within Apple Mail before running the download script.