flowchart LR accTitle: One delivery with a grain and a control total accDescr: A partner reports 31 rows and a spend of €4,280. The delivery has one row per campaign, partner and day, a time zone and a currency fixed in advance, the qualified actions and the spend in each row, and a control total of 31 rows and €4,280. The central check compares the rows and the sum. A delivery is accepted, accepted with gaps or rejected, and the status returns to the partner. In the example the central system receives 29 rows and €3,990, so two rows are missing and the loss shows on the same day. %% ref-partner-record (en) %% https://www.thebsq.com/work/global-marketing-measurement/ %% n_report — The partner keeps the detailed records and its own total: 31 rows and €4,280 in the example. n_report["Partner’s own report"] %% n_delivery — One row per campaign, partner and day. The time zone and the currency are fixed before the first transfer. n_delivery["One delivery"] %% n_total — The number of rows and the sum of the spend travel with the file. n_total["Control total"] %% n_check — The central system counts the rows it received, adds the spend and compares both with the control total. n_check["Central check"] %% n_accepted — The delivery enters the shared report for its interval. n_accepted["Accepted"] %% n_gaps — The rows count, and the missing fields are listed for the partner. n_gaps["Accepted with gaps"] %% n_rejected — In the example 29 rows and €3,990 arrive. Two rows are missing, and the interval stays unobserved until a corrected delivery arrives. n_rejected["Rejected"] n_report -->|"is exported at the agreed grain"| n_delivery n_delivery -->|"carries a control total"| n_total n_total -->|"is compared on arrival"| n_check n_check -->|"totals match"| n_accepted n_check -->|"totals match, fields are missing"| n_gaps n_check -->|"totals differ"| n_rejected n_gaps -->|"returns the status to the partner"| n_report n_rejected -->|"returns the status to the partner"| n_report %% A delivery that matches — n_report → n_delivery → n_total → n_check → n_accepted %% A delivery with missing rows — n_delivery → n_total → n_check → n_rejected → n_report