We need answer user's request. Need produce final JSON only, no markdown. Need compute carefully.

Task: Given rows. Cancelled excluded. For active rows: unit_yen × quantity × (100−discount_percent) ÷ 100, truncate decimal (floor? Japanese 切り捨て for positive numbers = floor/truncate toward zero). All positive. subtotal sum line amounts. shipping 386. tax = floor((subtotal+shipping)*8/100). total = subtotal+shipping+tax. Output keys: active_ids (original order), line_amounts_yen (same order), subtotal_yen, tax_yen, total_yen. JSON object one.

Let's compute.

Rows:
L1 active: unit 916 qty3 disc7 => 916*3=2748. *93/100 = 2748*0.93 = 2555.64? 2748*93 = 2748*(100-7)=274800-19236=255564 /100=2555.64. floor 2555.
L2 active: 207*4=828. disc7 => *93/100 = 828*93=76800? 828*90=74520, +2484=76,? 74520+2484=77004. /100=770.04 floor 770.
L3 cancelled exclude.
L4 active: 801*2=1602 disc0 => 1602.
L5 active: 848*5=4240 disc3 => *97/100 = 4240*97=4240*(100-3)=424000-12720=411280 /100=4112.8 floor 4112.
L6 active: 384*12=4608 disc3 => *97/100 = 4608*97=460800-13824=446976 /100=4469.76 floor 4469.
L7 active: 808*2=1616 disc3 => *97/100 = 1616*97=161600-4848=156752 /100=1567.52 floor 1567.
L8 cancelled exclude.
L9 active: 581*9=5229 disc0 => 5229.

Active ids: L1,L2,L4,L5,L6,L7,L9.
Line amounts: [2555,770,1602,4112,4469,1567,5229]. Sum:
2555+770=3325.
+1602=4927.
+4112=9039.
+4469=13508.
+1567=15075.
+5229=20304.
Subtotal 20304.
Shipping 386 => subtotal+shipping=20690.
Tax floor 20690*8/100 = 165520/100=1655.2 floor 1655.
Total = 20304+386+1655 = 22345? 20304+386=20690; +1655=22345.

Need output JSON object with keys exactly. Ensure integers. No markdown. Could include only JSON. Need maybe active_ids array strings, line_amounts_yen array ints.

Double-check calculations:
L1: 916*3=2748, discount 7% => 2748*0.93=2555.64 floor 2555.
L2: 207*4=828*0.93=770.04 floor 770.
L4: 1602.
L5: 848*5=4240*0.97=4112.8 floor 4112.
L6: 384*12=4608*0.97=4469.76 floor 4469.
L7: 808*2=1616*0.97=1567.52 floor 1567.
L9: 581*9=5229.
Sum: 2555+770=3325; +1602=4927; +4112=9039; +4469=13508; +1567=15075; +5229=20304. Tax: (20304+386)=20690*0.08=1655.2 floor 1655. Total 22345.

Need final JSON. Ensure no trailing commas.
