# Tracking on new original documents This integration contract captures links that already exist when a new original is created. It does not create carrier shipments, fetch carrier data, change the formation event, postpone WooCommerce emails or rewrite existing documents. A trusted installed integration uses the filter `leanmerce_commerce_assistant_document_tracking_v1` with `(array $tracking, WC_Order $order, string $document_language)`. Providers must return an empty array when no tracking is available, or this bounded customer-visible structure: ```php [ 'label' => 'Broj pošiljke', 'rows' => [ [ 'number' => '1Z999AA10123456784', 'url' => 'https://carrier.example/track?number=1Z999AA10123456784', 'link_label' => 'Prati pošiljku', ], ], ] ``` The example is synthetic. No remote request is made by document rendering. There may be at most 20 rows; identifiers must be strings of 1–80 ASCII letters/digits, with optional internal spaces, hyphens or underscores (no leading/trailing separator), and URLs must be valid HTTPS without credentials or control characters. Labels must be valid bounded UTF-8 text. No raw HTML is accepted. The normalized optional `delivery_tracking_v1` field is included only in new nonempty confirmation payloads. Pro captures the same field in the new sealed order snapshot and renders it from those frozen facts. Old payloads without the field round-trip unchanged. Existing archive readers continue to return the stored original bytes. For a workflow configured to issue documents on Completed, make tracking available in WordPress first, verify its order association, then set Completed. Importing order data into the carrier application alone does not update WordPress. A later return import updates current printouts, not an email or original already issued.