fba-export-tax-delivery-summary

Generate SKU-level export tax summaries for FBA delivery orders via CLI.

1|1|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/LXE123/LXE_AGENT --skill fba-export-tax-delivery-summary
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fba-export-tax-delivery-summary
Source: https://github.com/LXE123/LXE_AGENT/tree/main/skills/fba-export-tax-delivery-summary
Command: npx skills add https://github.com/LXE123/LXE_AGENT --skill fba-export-tax-delivery-summary

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

统计 FBA 发货单的出口退税 SKU 汇总,按 SP 发货单号汇总退税产品并汇总 SKU 发货量,用于生成退税产品的 XLSX。

Core Features & Use Cases

  • 固定 CLI 执行路径:uv run --frozen python -m services.agent_cli.mabang.summarize_fba_delivery_tax_sku
  • 不解析 CSV 也不自行生成 XLSX,所有结果由 CLI 控制输出。
  • 退税产品白名单来自 data/export_tax/export_tax_products.xlsx 的 Sheet1。
  • 不可出口退税 SKU 的产品名由 CLI 根据马帮库存 SKU 自动导出补全。
  • 失败时只输出最后一行 JSON 的 exception 字段,不猜测原因。

Quick Start

提供 SP 发货单号即可生成 FBA 发货单出口退税 SKU 汇总。

Frequently Asked Questions about fba-export-tax-delivery-summary

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

FAQPage Schema
How do I summarize FBA export tax by SP delivery and SKU?

To summarize FBA export tax, provide an SP delivery number and the tool generates a deterministic XLSX summary of matched and unmatched SKUs. It applies a fixed CLI workflow to read the predefined export taxonomy and aggregate exportable SKU delivery quantities.

How does the export tax product whitelist work for FBA delivery orders?

The export tax product whitelist is read from the predefined export taxonomy in the data directory. The CLI matches SKUs against this whitelist to identify exportable products and auto-completes non-exportable SKU product names from Mabang inventory data.

Do I need to prepare CSV files or XLSX templates before generating the export tax summary?

No, you do not need to prepare CSV files or XLSX templates. The tool enforces a fixed CLI execution path that controls all output generation internally, so you only need to provide the SP delivery number to receive the summary.

What happens to SKUs in the FBA delivery that are not on the export tax whitelist?

SKUs not on the export tax whitelist are categorized as non-exportable. The CLI automatically retrieves their product names from Mabang inventory data and includes them in the summary as unmatched SKUs for full visibility.

Why does the export tax summary CLI fail and how are errors reported?

The export tax summary CLI fails deterministically when inputs are invalid or inventory data is missing. On failure, it outputs only the exception field from the last JSON line without guessing the cause, ensuring transparent error reporting.