TikTok Late Dispatch Auditor
Audit a redacted order snapshot against buyer-supplied TikTok Shop LDR policy settings.
Input
Pass JSON with policy and orders. Each order may include order_id, order_type, fbt, awaiting_shipment_at, carrier_scan_at, handling_days, source_ref, and disruption_extension_business_days.
Run
CODEBLOCK0
Rules and boundaries
- - Regular orders default to 2 business days; made-to-order, backorder and custom handling use seller handling days plus 1 business day; pre-orders default to 2 business days after the supplied closure date.
- FBT orders remain in the denominator but are excluded from the late-dispatch numerator in this local implementation.
- A missing carrier scan, missing source reference, ambiguous order type or disruption flag is sent to review.
- The calculation is transparent and local; it does not reproduce TikTok Shop internal logic or predict enforcement.
- It does not access Seller Center, upload tracking, alter orders, print labels, message buyers or submit an appeal.
Output
The result contains order-level decisions, LDR numerator/denominator, policy echo, calculation notes and external_write_executed: false.