Spreadsheets & Calculators
E-Commerce Order-to-Payout Reconciliation Kit: Python CLI + Excel/Sheets Workbook (v1.1)
Reconcile TikTok Shop, Shopee (VND) and Shopify/Stripe settlement CSVs against bank payouts: Python CLI + 7-tab Excel/Sheets profit and payout-gap workbook.
What you get: 1 file · 23.39 KB · ZIP
See purchase optionsProduct description
Find out exactly why your Seller Center gross sales don't match what lands in your bank. This kit pairs a zero-dependency Python 3.9+ CLI with a 7-tab, macro-free Excel / Google Sheets workbook. Together they break each payout into commissions, affiliate fees, shipping, vouchers and refund clawbacks, then reconcile payout batches against your bank deposits.
What it does
Normalizes settlement CSVs from TikTok Shop, Shopee (including VND / COD) and Shopify / Stripe into one clean_settlements.csv. Platform export headers vary by region and change over time, so you point the tool at your columns with a small
--map mapping.jsonfile. A template and three sample schemas are included.Exact money math with Python Decimal. It supports zero-decimal currencies (VND, JPY, KRW) and Vietnamese thousand separators (440.000 → 440000).
Flags problems in exceptions_report.csv: PAYOUT_FORMULA_VARIANCE, REFUND_CLAWBACK, NEGATIVE_MARGIN_ORDER, MISSING_COGS, INVALID_VALUE, DUPLICATE_ROW, BANK_PAYOUT_GAP, UNMATCHED_BANK_DEPOSIT and MISSING_BANK_DEPOSIT. Bad rows are logged and skipped, never silently dropped. Multi-SKU orders are kept line by line.
Per-SKU profit after COGS from a simple sku_cogs.csv.
The workbook (Excel, LibreOffice, Google Sheets)
Payout_Gap_Bridge: USD and VND bridge from gross sales → platform payout → bank deposit → net profit after COGS.
SKU_Margin_Dashboard: units, gross sales, payout, COGS, net profit and margin % per SKU.
Monthly_VAT_Summary: monthly taxable base with an editable rate cell. It assumes VAT-inclusive prices and gives an estimate only, not tax advice.
Orders_Clean, Payouts_Bank, SKU_COGS_and_Tax and README_HELP. All formulas are standard SUMIFS / TEXT, with no macros.
Verified
12/12 pytest tests pass, including multi-line orders, custom column mapping, missing COGS and malformed values.
The workbook was recalculated in LibreOffice, and its totals match the CLI output on the bundled 3-month synthetic sample (12 orders, 10 bank batches).
What's included
clearline-ecom-payout-kit-v1.1.zip (24 KB): reconcile_payouts.py, test_reconcile_payouts.py, Ecom_Profit_Payout_Workbook_v1.1.xlsx, mapping_template.json, samples/ (TikTok, Shopee VN, Shopify/Stripe, bank payouts, SKU COGS), README.md, LICENSE.txt.
Requirements: Python 3.9+ (standard library only; pytest optional), plus Excel, LibreOffice Calc or Google Sheets.
License: single-seat commercial license that also covers use for your own bookkeeping clients. No resale or redistribution of the kit itself.
AI disclosure: built by Clearline Data Studio with AI assistance, then reviewed and test-verified by the owner. Sample data is synthetic.
What you get
1 file · 23.39 KB
- clearline-ecom-payout-kit-v1.1.zipZIP · 23.39 KB
Spreadsheets & Calculators
E-Commerce Order-to-Payout Reconciliation Kit: Python CLI + Excel/Sheets Workbook (v1.1)
Reconcile TikTok Shop, Shopee (VND) and Shopify/Stripe settlement CSVs against bank payouts: Python CLI + 7-tab Excel/Sheets profit and payout-gap workbook.
Included in Getly Pro
Download this and 8,600+ other products with one subscription, from $9.99 a month.
Join Getly ProTags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Yes. Commercial and client work are both allowed, including products with unlimited sales. You may not resell the file itself.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 1 file - ZIP - 23.39 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$17.00



