# claude · R1D · run 2
- Model requested: `claude-opus-5-5` · reported: `claude-opus-5-5`
- Started 2026-12-04T22:06:28+05:30 · finished 2026-12-04T22:07:59+05:30 · latency 91 s
- Tokens: {"in": 117143, "out": 8944, "cache_read": 0, "cache_write": 0} · cost estimate $0.647
- System prompt: none · effort: medium
## Prompt
```
Net revenue fell in October compared with September. Why?
Net revenue means invoices minus credit notes; use that for the total and for every breakdown.
```
Files attached: invoices.csv, credit_notes.csv, customers.csv, columns_note.txt
## Transcript
Thinking (summary)
I'm starting by looking through the files to see what's there.
**Code (bash_code_execution):**
```
cd $INPUT_DIR; cat columns_note.txt; for f in *.csv; do echo "== $f"; wc -l $f; head -5 $f; done
```
**Output:**
```
Indigo Thread Co. - export from the ERP (sales ledger). Three tables, CSV, all history from April 2024 up to 31 Oct 2026.
Amounts are in Indian rupees (INR) unless a column says otherwise.
invoices.csv - one row per sales invoice
invoice_id internal id of the invoice
invoice_no invoice number as printed
invoice_date date of the invoice
customer_id links to customers.customer_id
currency currency the invoice was raised in (INR or EUR)
fx_rate rupees per unit of that currency, used to convert
amount_fc amount in the invoice currency (blank for INR invoices)
net_amount invoice value in INR, before GST
gst_amount GST charged, in INR
gross_amount net_amount + gst_amount
order_ref sales order the invoice was raised against
created_at when the row was entered in the ERP
credit_notes.csv - one row per credit note issued to a customer
cn_id internal id of the credit note
cn_no credit note number
cn_date date of the credit note
invoice_id the invoice it credits (links to invoices.invoice_id)
customer_id links to customers.customer_id
net_amount credit value in INR, before GST (a positive number that reduces revenue)
gst_amount GST reversed, in INR
reason reason recorded for the credit
created_at when the row was entered in the ERP
customers.csv - one row per customer account
customer_id internal id
customer_code customer code
name customer name
region sales region the account is managed under (South, West, East, North, Export)
city customer's city
segment account size band used by sales (key, mid, small)
currency usual invoicing currency
status account status in the ERP (active / inactive)
payment_terms_days agreed payment terms in days
credit_limit credit limit in INR
created_at when the account was created
Net revenue, as the company reports it from these tables: invoice net_amount minus credit note net_amount, by date.
== credit_notes.csv
861 credit_notes.csv
cn_id,cn_no,cn_date,invoice_id,customer_id,net_amount,gst_amount,reason,created_at
1,CN/000001,2024-04-08,5448,50,3874.57,193.73,Quality claim,2024-04-08 16:30:56
2,CN/000002,2024-04-10,5433,142,5507.46,275.37,Return,2024-04-10 15:27:01
3,CN/000003,2024-04-13,5489,6,18492.12,924.61,Rate difference,2024-04-13 14:00:56
4,CN/000004,2024-04-18,5441,143,5035.80,251.79,Quality claim,2024-04-18 16:26:02
== customers.csv
144 customers.csv
customer_id,customer_code,name,region,city,segment,currency,status,payment_terms_days,credit_limit,created_at
1,C0001,Ravira Exports,South,Tiruppur,key,INR,active,30,33600000.00,2023-08-05 17:08:04
2,C0002,Tessora EU,South,Rotterdam,key,EUR,active,45,43700000.00,2021-12-11 17:53:30
3,C0003,Skarfab,South,Aarhus,key,EUR,active,45,22800000.00,2022-05-07 16:51:47
4,C0004,Merai Apparels,West,Mumbai,key,INR,active,30,15600000.00,2022-03-02 17:53:33
== invoices.csv
8773 invoices.csv
invoice_id,invoice_no,invoice_date,customer_id,currency,fx_rate,amount_fc,net_amount,gst_amount,gross_amount,order_ref,created_at
5411,BI/2425/000001,2024-04-01,11,INR,1.0000,,117738.91,5886.95,123625.86,SO-24005358,2024-04-01 18:43:04
5412,BI/2425/000002,2024-04-01,21,EUR,100.6756,3671.50,369630.47,0.00,369630.47,SO-24005296,2024-04-01 17:59:42
5413,BI/2425/000003,2024-04-01,95,INR,1.0000,,67337.59,3366.88,70704.47,SO-24005494,2024-04-01 19:00:03
5414,BI/2425/000004,2024-04-01,99,INR,1.0000,,56480.17,2824.01,59304.18,SO-24005522,2024-04-01 19:02:32
```
Thinking (summary)
I'm noticing that the EUR customers in the South region, around Rotterdam, behave differently, so that's a quirk to keep in mind. Next I'll run some data quality checks in pandas: duplicates, FX conversion, date formats, negative amounts, and voided transactions.
**Code (bash_code_execution):**
```
cd $INPUT_DIR; python3 -c "
import pandas as pd
i=pd.read_csv('invoices.csv');c=pd.read_csv('credit_notes.csv');cu=pd.read_csv('customers.csv')
for d in (i,c,cu): print(d.dtypes,'\n',d.isna().sum(),'\n',d.describe(include='all').T.iloc[:,:4])
print(i.invoice_id.duplicated().sum(), i.invoice_no.duplicated().sum(), i.order_ref.duplicated().sum(), c.cn_no.duplicated().sum())
print(i.invoice_date.str.len().value_counts(), c.cn_date.str.len().value_counts())
print(cu.region.value_counts(), cu.segment.value_counts(), cu.status.value_counts(), cu.currency.value_counts())
print(pd.crosstab(cu.region,cu.currency))
"
```
**Output:**
```
invoice_id int64
invoice_no object
invoice_date object
customer_id int64
currency object
fx_rate float64
amount_fc float64
net_amount float64
gst_amount float64
gross_amount float64
order_ref object
created_at object
dtype: object
invoice_id 0
invoice_no 0
invoice_date 0
customer_id 0
currency 0
fx_rate 0
amount_fc 7212
net_amount 0
gst_amount 0
gross_amount 0
order_ref 0
created_at 0
dtype: int64
count unique top freq
invoice_id 8772.0 NaN NaN NaN
invoice_no 8772 8772 BI/2627/001928 1
invoice_date 8772 811 2026-09-29 29
customer_id 8772.0 NaN NaN NaN
currency 8772 2 INR 7212
fx_rate 8772.0 NaN NaN NaN
amount_fc 1560.0 NaN NaN NaN
net_amount 8772.0 NaN NaN NaN
gst_amount 8772.0 NaN NaN NaN
gross_amount 8772.0 NaN NaN NaN
order_ref 8772 8772 SO-26014338 1
created_at 8772 8772 2026-10-31 13:46:24 1
cn_id int64
cn_no object
cn_date object
invoice_id int64
customer_id int64
net_amount float64
gst_amount float64
reason object
created_at object
dtype: object
cn_id 0
cn_no 0
cn_date 0
invoice_id 0
customer_id 0
net_amount 0
gst_amount 0
reason 0
created_at 0
dtype: int64
count unique top freq
cn_id 860.0 NaN NaN NaN
cn_no 860 860 CN/000860 1
cn_date 860 505 2026-04-06 6
invoice_id 860.0 NaN NaN NaN
customer_id 860.0 NaN NaN NaN
net_amount 860.0 NaN NaN NaN
gst_amount 860.0 NaN NaN NaN
reason 860 3 Return 432
created_at 860 860 2026-10-30 17:56:11 1
customer_id int64
customer_code object
name object
region object
city object
segment object
currency object
status object
payment_terms_days int64
credit_limit float64
created_at object
dtype: object
customer_id 0
customer_code 0
name 0
region 0
city 0
segment 0
currency 0
status 0
payment_terms_days 0
credit_limit 0
created_at 0
dtype: int64
count unique top freq
customer_id 143.0 NaN NaN NaN
customer_code 143 143 C0001 1
name 143 143 Ravira Exports 1
region 143 5 South 72
city 143 31 Erode 17
segment 143 3 mid 72
currency 143 2 INR 115
status 143 2 active 140
payment_terms_days 143.0 NaN NaN NaN
credit_limit 143.0 NaN NaN NaN
created_at 143 142 2021-07-02 10:00:34 2
0 0 0 0
invoice_date
10 8772
Name: count, dtype: int64 cn_date
10 860
Name: count, dtype: int64
region
South 72
West 25
North 21
East 14
Export 11
Name: count, dtype: int64 segment
mid 72
small 67
key 4
Name: count, dtype: int64 status
active 140
inactive 3
Name: count, dtype: int64 currency
INR 115
EUR 28
Name: count, dtype: int64
currency EUR INR
region
East 2 12
Export 11 0
North 5 16
South 4 68
West 6 19
```
Thinking (summary)
I've found that EUR customers in non-Export regions are coming through a mapping quirk, so I'll account for that. Next I'm turning to the monthly trend.
**Code (bash_code_execution):**
```
cd $INPUT_DIR; cat > /tmp/a.py <<'EOF'
import pandas as pd
pd.set_option('display.width',250); pd.set_option('display.max_rows',200)
i=pd.read_csv('invoices.csv');c=pd.read_csv('credit_notes.csv');cu=pd.read_csv('customers.csv')
i['m']=i.invoice_date.str[:7]; c['m']=c.cn_date.str[:7]
inv=i.groupby('m').net_amount.sum(); cn=c.groupby('m').net_amount.sum()
t=pd.DataFrame({'inv':inv,'cn':cn}).fillna(0); t['net']=t.inv-t.cn; t['n_inv']=i.groupby('m').size(); t['n_cn']=c.groupby('m').size()
print((t/1).round(0).tail(18))
# check fx consistency
e=i[i.currency=='EUR']; print(((e.amount_fc*e.fx_rate-e.net_amount).abs()>1).sum())
print(e.groupby('m').fx_rate.agg(['mean','min','max']).tail(8))
print(i[i.currency=='INR'].fx_rate.value_counts())
print(((i.net_amount+i.gst_amount-i.gross_amount).abs()>0.02).sum())
# cn exceeding invoice / cn invoice mismatch
x=c.merge(i[['invoice_id','customer_id','net_amount','invoice_date']],on='invoice_id',how='left',suffixes=('','_inv'))
print('cn no inv',x.net_amount_inv.isna().sum(),'cust mismatch',(x.customer_id!=x.customer_id_inv).sum(),'cn>inv',(x.net_amount>x.net_amount_inv+0.01).sum(), 'cn before inv',(x.cn_dateinv 0 cn before inv 0
neg 0 0
cust missing 0 0
min max mean
m
2026-05 0 0 0.0
2026-06 0 0 0.0
2026-07 0 0 0.0
2026-08 0 0 0.0
2026-09 0 0 0.0
2026-10 0 0 0.0
```
Thinking (summary)
The net figure dropped from 48.20M to 46.35M, a fall of 1.85M or 3.8%, with invoices accounting for -1.22M and credits adding back +0.62M. Next I'll break the movement down by region, segment, customer, currency, and credit note reason, then look for duplicate entries and check whether October is complete through the 31st.
**Code (bash_code_execution):**
```
cd $INPUT_DIR; cat > /tmp/b.py <<'EOF'
import pandas as pd
pd.set_option('display.width',250); pd.set_option('display.max_rows',200)
i=pd.read_csv('invoices.csv');c=pd.read_csv('credit_notes.csv');cu=pd.read_csv('customers.csv')
i['m']=i.invoice_date.str[:7]; c['m']=c.cn_date.str[:7]
i=i.merge(cu[['customer_id','name','region','segment','city','status']].rename(columns={'status':'cstatus'}),on='customer_id')
c=c.merge(cu[['customer_id','name','region','segment','city','status']].rename(columns={'status':'cstatus'}),on='customer_id')
c=c.merge(i[['invoice_id','currency','invoice_date']],on='invoice_id')
i['amt']=i.net_amount; c['amt']=-c.net_amount
c['inv_m']=c.invoice_date.str[:7]
L=pd.concat([i.assign(src='inv'),c.assign(src='cn')])
L=L[L.m.isin(['2026-09','2026-10'])]
def br(k):
p=L.pivot_table(index=k,columns='m',values='amt',aggfunc='sum',fill_value=0); p['chg']=p['2026-10']-p['2026-09']
print(p.sort_values('chg').round(0),'\n')
for k in ['region','segment','currency','cstatus',['src'],['region','src']]: br(k)
br('name')
print(c[c.m.isin(['2026-09','2026-10'])].pivot_table(index='reason',columns='m',values='net_amount',aggfunc=['sum','count']).round(0))
print(c[c.m=='2026-10'].sort_values('net_amount',ascending=False)[['cn_no','cn_date','name','region','reason','net_amount','invoice_date','currency']].head(10))
print('Oct days', sorted(i[i.m=='2026-10'].invoice_date.unique())[-3:], i[i.m=='2026-10'].invoice_date.nunique(), i[i.m=='2026-09'].invoice_date.nunique())
# dup check
d=i[i.duplicated(['customer_id','invoice_date','net_amount'],keep=False)]; print('dups',len(d))
EOF
python3 /tmp/b.py
```
**Output:**
```
m 2026-09 2026-10 chg
region
South 28343727.0 14312869.0 -14030857.0
North 4213694.0 4213345.0 -349.0
Export 5208000.0 5207997.0 -3.0
East 3399267.0 3399945.0 678.0
West 7034500.0 19217424.0 12182923.0
m 2026-09 2026-10 chg
segment
mid 26947933.0 21826993.0 -5120941.0
key 14610399.0 16182730.0 1572330.0
small 6640855.0 8341858.0 1701003.0
m 2026-09 2026-10 chg
currency
EUR 25436327.0 13387298.0 -12049029.0
INR 22762861.0 32964282.0 10201421.0
m 2026-09 2026-10 chg
cstatus
active 48199188.0 46351580.0 -1847607.0
m 2026-09 2026-10 chg
src
inv 49066633.0 47843737.0 -1222896.0
cn -867445.0 -1492156.0 -624711.0
m 2026-09 2026-10 chg
region src
South inv 28926768.0 15377775.0 -13548993.0
cn -583041.0 -1064906.0 -481865.0
West cn -20448.0 -225613.0 -205166.0
East inv 3523416.0 3399945.0 -123470.0
Export cn -76252.0 -173432.0 -97180.0
North inv 4277249.0 4241550.0 -35700.0
cn -63556.0 -28205.0 35351.0
Export inv 5284252.0 5381429.0 97177.0
East cn -124149.0 0.0 124149.0
West inv 7054948.0 19443037.0 12388089.0
m 2026-09 2026-10 chg
name
Tessora EU 5869835.0 1127046.0 -4742789.0
Skarfab 3728989.0 567500.0 -3161489.0
Ravira Exports 4298728.0 2115844.0 -2182884.0
Wattmeer Textil 1328526.0 337207.0 -991319.0
Atelier Saône 902758.0 -45206.0 -947964.0
Bernalp Stoff 1353495.0 553369.0 -800126.0
Ponnavra Fabrics 640826.0 -146151.0 -786976.0
Perivra Knitwear 975309.0 271721.0 -703588.0
Dravia Fabrics 660193.0 -36193.0 -696386.0
Narvia Weave 758250.0 134578.0 -623672.0
Kempen Linnen 1088480.0 489210.0 -599270.0
Skerry Apparel 730245.0 139717.0 -590529.0
Noyvra Weaves 791381.0 204713.0 -586668.0
Gadivra Knits 699904.0 148158.0 -551746.0
Mondelo Têxteis 725645.0 212513.0 -513131.0
Thamivra Wear 722146.0 245018.0 -477128.0
Varavra Garments 877726.0 427355.0 -450371.0
Kaskaro Textil 482680.0 104022.0 -378659.0
Avonmere Cloth Co 879901.0 532406.0 -347495.0
Tharo Apparels 396361.0 112804.0 -283557.0
Scheldra Weefsels 710704.0 461791.0 -248913.0
Kanvira Creations 229613.0 0.0 -229613.0
Palvra Garments 479761.0 270811.0 -208949.0
Chitvra Apparels 389256.0 184159.0 -205096.0
Firnhang Tuch 744626.0 539850.0 -204776.0
Doavra Textiles 194717.0 0.0 -194717.0
Dalmara Moda 862028.0 667751.0 -194277.0
Kabvra Clothing 289368.0 98784.0 -190583.0
Magvira Wear 455625.0 268856.0 -186770.0
Kanvira Clothing 173765.0 0.0 -173765.0
Mahanvi Trading 172973.0 0.0 -172973.0
Bhavira Fabrics 364112.0 193699.0 -170413.0
Moyvra Garments 513111.0 358307.0 -154804.0
Kalvira Garments 181180.0 41024.0 -140157.0
Pallira Fabrics 237181.0 98461.0 -138720.0
Amaravira Apparels 303524.0 167090.0 -136434.0
Sabarvi Creations 204018.0 71708.0 -132310.0
Elbtal Garn 1050898.0 939393.0 -111505.0
Haus Brenner Stoffe 506741.0 413894.0 -92846.0
Vidarva Trading 89381.0 0.0 -89381.0
Aravika Fashions 254190.0 169608.0 -84581.0
Vidarva Fabrics 133607.0 51641.0 -81966.0
Magvira Knitwear 153104.0 74307.0 -78798.0
Mahanvi Creations 169110.0 92274.0 -76836.0
Mahanvi Wear 282845.0 208572.0 -74272.0
Gomavi Clothing 158442.0 86015.0 -72427.0
Bundra Wear 253851.0 186593.0 -67259.0
Tharo Wear 75584.0 10049.0 -65535.0
Pallira Textiles 152834.0 88417.0 -64416.0
Brahmavra Trading 103602.0 39806.0 -63796.0
Avadra Overseas 167943.0 108544.0 -59400.0
Aravika Clothing 166262.0 109354.0 -56908.0
Tessuti Ombra 370383.0 319746.0 -50637.0
Ganvi Wear 126214.0 82515.0 -43698.0
Sahvira Trading 98826.0 57114.0 -41712.0
Magvira Trading 37804.0 0.0 -37804.0
Doavra Apparels 154650.0 117826.0 -36825.0
Kollivra Knits 636153.0 605645.0 -30508.0
Avadra Trading 110006.0 86236.0 -23770.0
Kanvira Overseas 93709.0 70389.0 -23320.0
Van Rijt Stoffen 203482.0 181326.0 -22156.0
Saurava Trading 48180.0 26821.0 -21359.0
Mysara Textiles 122694.0 110647.0 -12047.0
Kalvira Trading 80810.0 84675.0 3865.0
Brahmavra Apparels 92759.0 96824.0 4066.0
Tungavra Garments 95551.0 101566.0 6015.0
Sabarvi Fashions 139434.0 156917.0 17483.0
Gomavi Overseas 33995.0 52290.0 18295.0
Kosra Textiles 80221.0 101077.0 20856.0
Sabarvi Trading 0.0 21467.0 21467.0
Aravika Knitwear 170846.0 192752.0 21907.0
Tungavra Trading 59422.0 86144.0 26722.0
Perivra Textiles 82871.0 115572.0 32701.0
Yamira Fashions 99884.0 137457.0 37574.0
Kutra Knitwear 47864.0 85533.0 37668.0
Udavra Clothing 221393.0 259495.0 38102.0
Perivra Apparels 111242.0 152914.0 41671.0
Gomavi Trading 103718.0 147242.0 43524.0
Konvira Fabrics 126116.0 184208.0 58092.0
Sindra Garments 32743.0 91131.0 58388.0
Kosra Fabrics 43997.0 109033.0 65036.0
Aravika Trading 20847.0 95304.0 74457.0
Ganvi Creations 37841.0 121410.0 83570.0
Sindra Fashions -7118.0 77715.0 84833.0
Doavra Trading 31723.0 116853.0 85130.0
Bundra Trading 42585.0 130676.0 88092.0
Satvira Fabrics 154335.0 253919.0 99584.0
Suruvra Apparels 380613.0 481017.0 100404.0
Saurava Textiles 38924.0 141345.0 102421.0
Siruvra Textiles 0.0 104419.0 104419.0
Mysara Apparels 0.0 114608.0 114608.0
Kutra Fabrics 97292.0 225771.0 128479.0
Satvira Knitwear 159644.0 289866.0 130221.0
Udavra Knitwear 48811.0 183550.0 134739.0
Gomavi Apparels 247269.0 393753.0 146485.0
Kalvira Overseas 0.0 149942.0 149942.0
Hemavra Mills 189673.0 356917.0 167244.0
Manivra Mills 215678.0 388560.0 172881.0
Hamvi Overseas 130392.0 328456.0 198064.0
Konvira Trading 0.0 198218.0 198218.0
Solvik Textil 0.0 207483.0 207483.0
Pamvra Fabrics 0.0 209308.0 209308.0
Yamira Creations 46015.0 259894.0 213879.0
Sahvira Overseas 0.0 220261.0 220261.0
Avadra Clothing 0.0 221091.0 221091.0
Agavra Weaves 0.0 222860.0 222860.0
Tungavra Fashions 40774.0 288930.0 248156.0
Moselweber 492682.0 747004.0 254322.0
Castelino 689630.0 948245.0 258615.0
Vela Moda Srl 214296.0 482611.0 268315.0
Vidarva Knitwear 37414.0 310271.0 272858.0
Brahmavra Wear 0.0 278508.0 278508.0
Moda Castella 0.0 326578.0 326578.0
Kalvira Textiles 556699.0 888607.0 331909.0
Magvira Clothing 74382.0 448944.0 374562.0
Kodavra Textiles 0.0 374717.0 374717.0
Konvira Overseas 262922.0 684363.0 421441.0
Dordelle Tissus 0.0 539051.0 539051.0
Tatrava Cloth 658575.0 1257941.0 599366.0
Sahvira Garments 286960.0 1101554.0 814594.0
Maison Vallin 423283.0 1238462.0 815179.0
Saurava Fabrics 153897.0 1239302.0 1085405.0
Merai Apparels 712846.0 12372339.0 11659492.0
sum count
m 2026-09 2026-10 2026-09 2026-10
reason
Quality claim 419432.0 55876.0 9 6
Rate difference 182766.0 652810.0 6 10
Return 265247.0 783471.0 11 14
cn_no cn_date name ... net_amount invoice_date currency
851 CN/000852 2026-10-23 Ponnavra Fabrics ... 390720.93 2026-09-19 INR
830 CN/000831 2026-10-02 Skarfab ... 202303.92 2026-09-19 EUR
852 CN/000853 2026-10-23 Ponnavra Fabrics ... 190157.81 2026-10-03 INR
847 CN/000848 2026-10-19 Merai Apparels ... 78261.72 2026-10-02 INR
850 CN/000851 2026-10-20 Kollivra Knits ... 72439.02 2026-09-23 INR
845 CN/000846 2026-10-19 Palvra Garments ... 56600.10 2026-09-18 INR
832 CN/000833 2026-10-08 Merai Apparels ... 54036.13 2026-09-15 INR
840 CN/000841 2026-10-15 Tatrava Cloth ... 49021.17 2026-09-11 EUR
839 CN/000840 2026-10-12 Moyvra Garments ... 47092.57 2026-10-02 INR
854 CN/000855 2026-10-28 Atelier Saône ... 45205.69 2026-09-29 EUR
[10 rows x 8 columns]
Oct days ['2026-10-29', '2026-10-30', '2026-10-31'] 26 26
dups 0
```
Thinking (summary)
Merai Apparels, a key West-region INR customer, jumped by about 11.66M, while the EUR customers in the South region, like Tessora EU and Skarfab, dropped sharply. Merai went from 0.71M in September to 12.37M in October, so I'm wondering whether that is a one-off, and I want to check its history and October invoices. The EUR decline of about 12M is also notable, since INR rose about 10M over the same period.
I'm wondering whether the EUR drop is linked to Merai's jump, maybe orders moved through Merai as a consolidator or got invoiced in INR. I'll check order references, Merai's and the EUR customers' monthly history, and invoice counts.
**Code (bash_code_execution):**
```
cd $INPUT_DIR; cat > /tmp/c.py <<'EOF'
import pandas as pd
pd.set_option('display.width',250); pd.set_option('display.max_rows',300)
i=pd.read_csv('invoices.csv');c=pd.read_csv('credit_notes.csv');cu=pd.read_csv('customers.csv')
i['m']=i.invoice_date.str[:7]; c['m']=c.cn_date.str[:7]
i=i.merge(cu[['customer_id','name','region','segment']],on='customer_id')
print(cu[cu.name.isin(['Merai Apparels','Tessora EU','Skarfab','Ravira Exports','Saurava Fabrics'])].to_string())
print(cu[cu.status=='inactive'].to_string())
p=i[i.m>='2025-10'].pivot_table(index='m',columns='currency',values='net_amount',aggfunc='sum').round(0); print(p)
mer=i[i.name=='Merai Apparels']; print(mer.groupby('m').net_amount.agg(['sum','count']).tail(14).round(0))
print(mer[mer.m=='2026-10'].sort_values('net_amount',ascending=False).head(15).to_string())
EOF
python3 /tmp/c.py
```
**Output:**
```
customer_id customer_code name region city segment currency status payment_terms_days credit_limit created_at
0 1 C0001 Ravira Exports South Tiruppur key INR active 30 33600000.0 2023-08-05 17:08:04
1 2 C0002 Tessora EU South Rotterdam key EUR active 45 43700000.0 2021-12-11 17:53:30
2 3 C0003 Skarfab South Aarhus key EUR active 45 22800000.0 2022-05-07 16:51:47
3 4 C0004 Merai Apparels West Mumbai key INR active 30 15600000.0 2022-03-02 17:53:33
63 64 C0064 Saurava Fabrics West Mumbai mid INR active 30 9000000.0 2021-07-02 17:53:21
customer_id customer_code name region city segment currency status payment_terms_days credit_limit created_at
140 141 C0141 Bundra Textiles Old North Ludhiana small INR inactive 30 1800000.0 2021-12-11 14:59:54
141 142 C0142 Satvira Exports West Mumbai small INR inactive 30 1800000.0 2022-01-11 09:50:20
142 143 C0143 Kosra Garments East Kolkata small INR inactive 30 1800000.0 2022-02-08 11:57:54
currency EUR INR
m
2025-10 15353550.0 31794179.0
2025-11 14094894.0 31775608.0
2025-12 18227704.0 29886999.0
2026-01 20227582.0 25157981.0
2026-02 17093891.0 28894821.0
2026-03 18622866.0 34482810.0
2026-04 12464173.0 35267083.0
2026-05 21734665.0 26606726.0
2026-06 18203814.0 31965300.0
2026-07 19161225.0 28974023.0
2026-08 19328910.0 26105762.0
2026-09 25755677.0 23310956.0
2026-10 13841144.0 34002592.0
sum count
m
2025-08 1055984.0 2
2025-10 1028546.0 3
2025-11 3571337.0 6
2025-12 1678429.0 4
2026-01 918595.0 2
2026-02 2205366.0 4
2026-03 1752685.0 4
2026-04 2427950.0 4
2026-05 505175.0 1
2026-06 1216382.0 2
2026-07 551287.0 1
2026-08 503702.0 1
2026-09 712846.0 2
2026-10 12504636.0 14
invoice_id invoice_no invoice_date customer_id currency fx_rate amount_fc net_amount gst_amount gross_amount order_ref created_at m name region segment
8648 14059 BI/2627/001805 2026-10-22 4 INR 1.0 NaN 2290465.44 114523.27 2404988.71 SO-26013507 2026-10-22 18:12:49 2026-10 Merai Apparels West key
8625 14036 BI/2627/001782 2026-10-21 4 INR 1.0 NaN 1591714.80 79585.74 1671300.54 SO-26013572 2026-10-21 13:08:11 2026-10 Merai Apparels West key
8624 14035 BI/2627/001781 2026-10-21 4 INR 1.0 NaN 1411096.81 70554.84 1481651.65 SO-26013640 2026-10-21 10:16:31 2026-10 Merai Apparels West key
8604 14015 BI/2627/001761 2026-10-20 4 INR 1.0 NaN 1177645.63 58882.28 1236527.91 SO-26013526 2026-10-20 19:56:25 2026-10 Merai Apparels West key
8674 14085 BI/2627/001831 2026-10-23 4 INR 1.0 NaN 1163909.81 58195.49 1222105.30 SO-26013578 2026-10-23 17:32:21 2026-10 Merai Apparels West key
8509 13920 BI/2627/001666 2026-10-07 4 INR 1.0 NaN 888233.02 44411.65 932644.67 SO-26013562 2026-10-07 11:59:58 2026-10 Merai Apparels West key
8500 13911 BI/2627/001657 2026-10-06 4 INR 1.0 NaN 668560.31 33428.02 701988.33 SO-26013485 2026-10-06 11:29:57 2026-10 Merai Apparels West key
8710 14121 BI/2627/001867 2026-10-26 4 INR 1.0 NaN 590138.38 29506.92 619645.30 SO-26013868 2026-10-26 12:03:20 2026-10 Merai Apparels West key
8745 14156 BI/2627/001902 2026-10-30 4 INR 1.0 NaN 498660.14 24933.01 523593.15 SO-26013685 2026-10-30 11:30:06 2026-10 Merai Apparels West key
8569 13980 BI/2627/001726 2026-10-15 4 INR 1.0 NaN 478857.80 23942.89 502800.69 SO-26013628 2026-10-15 16:55:44 2026-10 Merai Apparels West key
8532 13943 BI/2627/001689 2026-10-09 4 INR 1.0 NaN 476277.08 23813.85 500090.93 SO-26013366 2026-10-09 14:58:00 2026-10 Merai Apparels West key
8531 13942 BI/2627/001688 2026-10-09 4 INR 1.0 NaN 453525.98 22676.30 476202.28 SO-26013620 2026-10-09 11:01:56 2026-10 Merai Apparels West key
8468 13879 BI/2627/001625 2026-10-02 4 INR 1.0 NaN 446119.76 22305.99 468425.75 SO-26013525 2026-10-02 14:44:58 2026-10 Merai Apparels West key
8467 13878 BI/2627/001624 2026-10-02 4 INR 1.0 NaN 369431.50 18471.58 387903.08 SO-26013587 2026-10-02 13:05:47 2026-10 Merai Apparels West key
```
Thinking (summary)
I'm checking Merai Apparels, whose October invoicing of 12.5M against a 15.6M credit limit is a sharp spike, and wondering whether it's a pull-forward or a channel shift. At the same time the EUR customers Tessora EU and Skarfab have dropped, so I'm thinking EU orders might be routed through Merai, though I can't verify that. I'll pull the monthly invoice counts for Tessora EU and Skarfab to see what the EUR drop actually looks like.
The "South" region holds the EUR customers, which looks like a tagging error, since Tessora and Skarfab sit there instead of under Export. That means the "South fell" reading may really be EU customers being mis-regioned. I'll compare October against September by true geography, EUR versus domestic, with Merai left out, and split the EUR change into volume and FX rate, since the rupee weakened by about 2% in October.
**Code (bash_code_execution):**
```
cd $INPUT_DIR; cat > /tmp/d.py <<'EOF'
import pandas as pd
pd.set_option('display.width',250); pd.set_option('display.max_rows',300)
i=pd.read_csv('invoices.csv');c=pd.read_csv('credit_notes.csv');cu=pd.read_csv('customers.csv')
i['m']=i.invoice_date.str[:7]; c['m']=c.cn_date.str[:7]
i=i.merge(cu[['customer_id','name','region','segment','currency']].rename(columns={'currency':'ccur'}),on='customer_id')
c=c.merge(cu[['customer_id','name','region','segment','currency']].rename(columns={'currency':'ccur'}),on='customer_id')
for n in ['Tessora EU','Skarfab','Ravira Exports','Merai Apparels']:
a=i[i.name==n].groupby('m').net_amount.sum(); b=c[c.name==n].groupby('m').net_amount.sum()
print(n, ((a.sub(b,fill_value=0))/1e5).round(1).tail(13).to_dict())
# EUR invoice amount_fc
e=i[i.currency=='EUR']; g=e.groupby('m').agg(fc=('amount_fc','sum'),inr=('net_amount','sum'),n=('invoice_id','count')); g['rate']=g.inr/g.fc; print(g.tail(13).round(1))
# currency of invoice vs customer currency
print(pd.crosstab(i.currency,i.ccur))
# net by month: big 4 key vs rest
key=['Tessora EU','Skarfab','Ravira Exports','Merai Apparels']
i['grp']=i.name.where(i.name.isin(key),'Other'); c['grp']=c.name.where(c.name.isin(key),'Other')
a=i.groupby(['m','grp']).net_amount.sum().unstack(); b=c.groupby(['m','grp']).net_amount.sum().unstack().reindex(a.index).fillna(0)
n=(a-b); print((n/1e5).round(1).tail(13))
# other customers split EUR vs INR
o=n['Other']
EOF
python3 /tmp/d.py
```
**Output:**
```
Tessora EU {'2025-10': 12.3, '2025-11': 30.7, '2025-12': 46.2, '2026-01': 32.6, '2026-02': 28.5, '2026-03': 22.4, '2026-04': 20.2, '2026-05': 44.0, '2026-06': 27.5, '2026-07': 26.3, '2026-08': 31.0, '2026-09': 58.7, '2026-10': 11.3}
Skarfab {'2025-10': 27.2, '2025-11': 21.3, '2025-12': 19.6, '2026-01': 24.7, '2026-02': 26.9, '2026-03': 26.4, '2026-04': 21.5, '2026-05': 25.4, '2026-06': 23.5, '2026-07': 34.5, '2026-08': 25.0, '2026-09': 37.3, '2026-10': 5.7}
Ravira Exports {'2025-10': 40.8, '2025-11': 56.1, '2025-12': 55.8, '2026-01': 38.9, '2026-02': 39.1, '2026-03': 49.4, '2026-04': 83.3, '2026-05': 35.1, '2026-06': 40.9, '2026-07': 59.8, '2026-08': 62.6, '2026-09': 43.0, '2026-10': 21.2}
Merai Apparels {'2025-10': 9.8, '2025-11': 35.7, '2025-12': 16.8, '2026-01': 8.9, '2026-02': 22.1, '2026-03': 17.5, '2026-04': 24.0, '2026-05': 4.8, '2026-06': 12.2, '2026-07': 5.5, '2026-08': 5.0, '2026-09': 7.1, '2026-10': 123.7}
fc inr n rate
m
2025-10 153273.3 15353550.3 48 100.2
2025-11 139641.1 14094894.0 36 100.9
2025-12 178154.9 18227704.4 54 102.3
2026-01 198016.0 20227582.4 63 102.2
2026-02 167965.9 17093890.8 43 101.8
2026-03 184509.8 18622866.1 60 100.9
2026-04 123613.0 12464173.2 30 100.8
2026-05 215227.5 21734664.5 65 101.0
2026-06 180383.1 18203814.0 46 100.9
2026-07 191792.2 19161224.8 48 99.9
2026-08 195118.9 19328909.9 46 99.1
2026-09 262475.7 25755677.1 78 98.1
2026-10 138050.7 13841144.3 52 100.3
ccur EUR INR
currency
EUR 1560 0
INR 0 7212
grp Merai Apparels Other Ravira Exports Skarfab Tessora EU
m
2025-10 9.8 373.9 40.8 27.2 12.3
2025-11 35.7 310.9 56.1 21.3 30.7
2025-12 16.8 334.7 55.8 19.6 46.2
2026-01 8.9 344.7 38.9 24.7 32.6
2026-02 22.1 338.1 39.1 26.9 28.5
2026-03 17.5 408.4 49.4 26.4 22.4
2026-04 24.0 318.3 83.3 21.5 20.2
2026-05 4.8 367.1 35.1 25.4 44.0
2026-06 12.2 386.9 40.9 23.5 27.5
2026-07 5.5 350.3 59.8 34.5 26.3
2026-08 5.0 323.8 62.6 25.0 31.0
2026-09 7.1 335.9 43.0 37.3 58.7
2026-10 123.7 301.7 21.2 5.7 11.3
```
Thinking (summary)
I'm totaling October's net position at about -18.5 lakh, with Tessora, Skarfab and Ravira together accounting for roughly -100.8 lakh, offset by Merai's +116.6. Next I'm checking the EUR side, where September looks like an outlier and the other EUR customers need a look too.
I'm checking whether Merai's October surge could be replacing Tessora and Skarfab orders, but the data doesn't settle that. I'm also flagging Merai's October invoicing, which is large relative to its credit limit, and looking at the credit notes, mainly the two from Ponnavra Fabrics, to find their reasons.
**Code (bash_code_execution):**
```
cd $INPUT_DIR; cat > /tmp/e.py <<'EOF'
import pandas as pd
pd.set_option('display.width',250)
i=pd.read_csv('invoices.csv');c=pd.read_csv('credit_notes.csv');cu=pd.read_csv('customers.csv')
i['m']=i.invoice_date.str[:7]; c['m']=c.cn_date.str[:7]
cu['geo']=cu.currency.map({'EUR':'EU (EUR-billed)','INR':'Domestic (INR)'})
i=i.merge(cu[['customer_id','name','region','segment','geo']],on='customer_id'); c=c.merge(cu[['customer_id','name','region','segment','geo']],on='customer_id')
key=['Tessora EU','Skarfab','Ravira Exports','Merai Apparels']
L=pd.concat([i.assign(a=i.net_amount,src='inv'),c.assign(a=-c.net_amount,src='cn')]); L=L[L.m.isin(['2026-09','2026-10'])]
L['grp']=L.name.where(L.name.isin(key),'Other '+L.geo)
p=L.pivot_table(index='grp',columns='m',values='a',aggfunc='sum'); p['chg']=p.diff(axis=1)['2026-10']; print((p/1e5).round(2)); print((p.sum()/1e5).round(2))
p=L.pivot_table(index=['grp','src'],columns='m',values='a',aggfunc='sum',fill_value=0); p['chg']=p['2026-10']-p['2026-09']; print((p/1e5).round(2))
print(c[(c.m=='2026-10')&(c.name=='Ponnavra Fabrics')][['cn_no','cn_date','invoice_id','net_amount','reason']])
print(c[c.m=='2026-10'].groupby('reason').net_amount.sum())
# FX effect on EUR invoices
e=i[(i.currency=='EUR')&i.m.isin(['2026-09','2026-10'])].groupby('m').agg(fc=('amount_fc','sum'),inr=('net_amount','sum'))
r=e.inr/e.fc; print(e, r); print('rate effect', (r['2026-10']-r['2026-09'])*e.fc['2026-10'], 'volume effect',(e.fc['2026-10']-e.fc['2026-09'])*r['2026-09'])
# region labels of EUR customers
print(pd.crosstab(cu.region,cu.geo))
# Ravira, Tessora, Skarfab invoice counts
print(i[i.name.isin(key)&i.m.isin(['2026-08','2026-09','2026-10'])].groupby(['name','m']).net_amount.agg(['count','sum']).round(0))
# Oct last invoice dates for big 3
print(i[i.name.isin(key[:3])].groupby('name').invoice_date.max())
EOF
python3 /tmp/e.py
```
**Output:**
```
m 2026-09 2026-10 chg
grp
Merai Apparels 7.13 123.72 116.59
Other Domestic (INR) 177.51 184.76 7.25
Other EU (EUR-billed) 158.38 116.93 -41.45
Ravira Exports 42.99 21.16 -21.83
Skarfab 37.29 5.68 -31.61
Tessora EU 58.70 11.27 -47.43
m
2026-09 481.99
2026-10 463.52
chg -18.48
dtype: float64
m 2026-09 2026-10 chg
grp src
Merai Apparels cn 0.00 -1.32 -1.32
inv 7.13 125.05 117.92
Other Domestic (INR) cn -2.97 -9.06 -6.10
inv 180.48 193.82 13.34
Other EU (EUR-billed) cn -1.90 -2.52 -0.62
inv 160.27 119.44 -40.83
Ravira Exports cn -2.52 0.00 2.52
inv 45.50 21.16 -24.34
Skarfab cn -1.30 -2.02 -0.73
inv 38.59 7.70 -30.89
Tessora EU inv 58.70 11.27 -47.43
cn_no cn_date invoice_id net_amount reason
851 CN/000852 2026-10-23 13720 390720.93 Return
852 CN/000853 2026-10-23 13895 190157.81 Rate difference
reason
Quality claim 55875.74
Rate difference 652809.95
Return 783470.54
Name: net_amount, dtype: float64
fc inr
m
2026-09 262475.72 25755677.10
2026-10 138050.70 13841144.28 m
2026-09 98.125941
2026-10 100.261312
dtype: float64
rate effect 294789.3919022693 volume effect -12209322.211902272
geo Domestic (INR) EU (EUR-billed)
region
East 12 2
Export 0 11
North 16 5
South 68 4
West 19 6
count sum
name m
Merai Apparels 2026-08 1 503702.0
2026-09 2 712846.0
2026-10 14 12504636.0
Ravira Exports 2026-08 4 6498510.0
2026-09 4 4550313.0
2026-10 2 2115844.0
Skarfab 2026-08 3 2496074.0
2026-09 4 3858738.0
2026-10 1 769804.0
Tessora EU 2026-08 2 3102089.0
2026-09 3 5869835.0
2026-10 1 1127046.0
name
Ravira Exports 2026-10-09
Skarfab 2026-10-06
Tessora EU 2026-10-08
Name: invoice_date, dtype: object
```
Thinking (summary)
I'm noticing that Ravira, Skarfab, and Tessora all stopped getting invoices in early October, while Merai's invoices start on October 2 and peak around the 20th to 23rd. I'm wondering whether the three accounts went quiet after about the 8th because Merai took over their billing. Next I want to check Merai's October dates against the others, and whether any EUR "other" customers also stopped.
I'm going to check the last invoice dates for every EUR customer in October, and also look at EUR invoice volume week by week.
**Code (bash_code_execution):**
```
cd $INPUT_DIR; cat > /tmp/f.py <<'EOF'
import pandas as pd
pd.set_option('display.width',250); pd.set_option('display.max_rows',100)
i=pd.read_csv('invoices.csv');cu=pd.read_csv('customers.csv')
i=i.merge(cu[['customer_id','name','currency']].rename(columns={'currency':'cc'}),on='customer_id')
i['d']=pd.to_datetime(i.invoice_date); s=i[i.d>='2026-08-01']
s['wk']=s.d.dt.to_period('W').dt.start_time.dt.date
s['g']=s.name.where(s.name.isin(['Merai Apparels','Tessora EU','Skarfab','Ravira Exports']),'Other '+s.cc)
print((s.pivot_table(index='wk',columns='g',values='net_amount',aggfunc='sum',fill_value=0)/1e5).round(1))
print(s.pivot_table(index='wk',columns='g',values='net_amount',aggfunc='count',fill_value=0))
EOF
python3 /tmp/f.py 2>/dev/null
```
**Output:**
```
g Merai Apparels Other EUR ... Skarfab Tessora EU
wk ...
2026-07-27 0.0 12.2 ... 0.0 0.0
2026-08-03 0.0 40.6 ... 5.7 15.1
2026-08-10 5.0 35.0 ... 8.6 0.0
2026-08-17 0.0 21.2 ... 10.7 15.9
2026-08-24 0.0 24.2 ... 0.0 0.0
2026-08-31 0.0 18.4 ... 8.1 14.3
2026-09-07 0.0 26.3 ... 7.5 14.0
2026-09-14 3.1 38.0 ... 13.1 0.0
2026-09-21 4.0 48.7 ... 0.0 30.4
2026-09-28 8.2 38.4 ... 9.9 0.0
2026-10-05 24.9 30.2 ... 7.7 11.3
2026-10-12 4.8 14.1 ... 0.0 0.0
2026-10-19 76.3 56.0 ... 0.0 0.0
2026-10-26 10.9 13.6 ... 0.0 0.0
[14 rows x 6 columns]
g Merai Apparels Other EUR ... Skarfab Tessora EU
wk ...
2026-07-27 0 4 ... 0 0
2026-08-03 0 12 ... 1 1
2026-08-10 1 11 ... 1 0
2026-08-17 0 5 ... 1 1
2026-08-24 0 7 ... 0 0
2026-08-31 0 9 ... 1 1
2026-09-07 0 11 ... 1 1
2026-09-14 1 17 ... 1 0
2026-09-21 1 21 ... 0 1
2026-09-28 2 18 ... 1 0
2026-10-05 4 13 ... 1 1
2026-10-12 1 6 ... 0 0
2026-10-19 5 22 ... 0 0
2026-10-26 2 6 ... 0 0
[14 rows x 6 columns]
```
Thinking (summary)
I'm noting that Tessora's invoices come irregularly, roughly every two weeks, so the gap from October 8 to 31 is notable but not conclusive. I've decided a short direct answer is enough, with no chart or CSV needed. The key figures are September at 481.99 lakh falling to October at 463.52 lakh, a drop of 18.48 lakh or 3.8%, which is 4.82 crore down to 4.64 crore.
I'm working out the bridge from September to October by grouping the movements: EU customers down about 120.5 lakh, Ravira down 21.8, Merai up 116.6, and other domestic up 7.3, which nets to the 18.4 drop. I'm also noting that credits rose about 6.25 lakh and that September's EU volume was an unusual spike.
I'm checking October's net revenue against the trailing year: about 47.1 million on average, so October sits roughly 1.6% below that and September was above it. The regional breakdown looks off, since Tessora and Skarfab are tagged South even though they're European, so I'm treating invoicing currency as the geography instead. Merai's October billing is the thing to flag, so I want to confirm whether that's a one-off order or business that would otherwise have gone elsewhere.
I can't tell from the data whether Merai's October billing is a one-off or business that would otherwise have gone to other customers.
**Assistant:**
Net revenue fell **₹18.5 lakh (3.8%)**, from ₹482.0 lakh in September to ₹463.5 lakh in October. Invoicing fell ₹12.2 lakh and credit notes rose ₹6.2 lakh. The overall dip is small, but it hides two large opposite moves: invoicing to the European customers collapsed, and one Mumbai customer had a huge month that covered most of the gap.
**What changed, Sep → Oct (net revenue, ₹ lakh)**
| Driver | Sep | Oct | Change |
|---|---|---|---|
| Tessora EU (Rotterdam) | 58.7 | 11.3 | **−47.4** |
| Skarfab (Aarhus) | 37.3 | 5.7 | **−31.6** |
| Other customers billed in EUR | 158.4 | 116.9 | **−41.5** |
| Ravira Exports (Tiruppur) | 43.0 | 21.2 | **−21.8** |
| Merai Apparels (Mumbai) | 7.1 | 123.7 | **+116.6** |
| Other customers billed in INR | 177.5 | 184.8 | +7.3 |
| **Total** | **482.0** | **463.5** | **−18.5** |
**Why it fell**
1. **European customers ordered much less (−₹120 lakh).** Invoicing in euros nearly halved, from €262k to €138k. The rupee was weaker in October (about ₹100.3 per euro against ₹98.1), but that only added about ₹3 lakh, so the drop was in orders, not exchange rates.
- Tessora EU and Skarfab each had just one invoice in October, both in the first week, and nothing after 8 Oct.
- Part of this is that **September was unusually high**: €262k was the biggest month in the last 13, against a normal €180–195k. So the drop is a September spike followed by a weak October.
2. **Ravira Exports billed about half as much (−₹21.8 lakh):** 2 invoices against 4, with none after 9 Oct.
3. **Credit notes rose ₹6.2 lakh**, mostly two credit notes to Ponnavra Fabrics on 23 Oct (₹5.8 lakh, for a return and a rate difference).
4. **Offsetting all this, Merai Apparels billed ₹125 lakh** from 14 invoices, against ₹5–25 lakh in a normal month. ₹76 lakh of that was billed in the week of 19 Oct alone. Merai now makes up 27% of October net revenue.
**Things to check**
- **Merai's spike is the biggest open question.** Without it, October would have been down about ₹135 lakh (28%). Its October billing including GST (about ₹131 lakh) is close to its ₹156 lakh credit limit. Sales should confirm whether this is a real one-off order. It's also worth asking whether business is moving from the European accounts to Merai, since one rose as the others dropped in the same weeks. The data can't answer that.
- **I didn't use the region field for the breakdown because it's misleading.** By region, South looks down ₹140 lakh and West up ₹122 lakh. But Tessora EU (Rotterdam) and Skarfab (Aarhus) are tagged "South", and 17 of the 28 euro-billed customers sit outside the "Export" region. I grouped customers by billing currency (EUR or INR) instead, as the closest stand-in for geography.
- **For context,** October is only about 1.6% below the 12-month average of roughly ₹471 lakh. September was the above-normal month.
The data itself looked clean: no duplicate invoices, every credit note links to a valid invoice, the euro amounts convert correctly, and both months had 26 billing days.
## Final answer (scored)
Net revenue fell **₹18.5 lakh (3.8%)**, from ₹482.0 lakh in September to ₹463.5 lakh in October. Invoicing fell ₹12.2 lakh and credit notes rose ₹6.2 lakh. The overall dip is small, but it hides two large opposite moves: invoicing to the European customers collapsed, and one Mumbai customer had a huge month that covered most of the gap.
**What changed, Sep → Oct (net revenue, ₹ lakh)**
| Driver | Sep | Oct | Change |
|---|---|---|---|
| Tessora EU (Rotterdam) | 58.7 | 11.3 | **−47.4** |
| Skarfab (Aarhus) | 37.3 | 5.7 | **−31.6** |
| Other customers billed in EUR | 158.4 | 116.9 | **−41.5** |
| Ravira Exports (Tiruppur) | 43.0 | 21.2 | **−21.8** |
| Merai Apparels (Mumbai) | 7.1 | 123.7 | **+116.6** |
| Other customers billed in INR | 177.5 | 184.8 | +7.3 |
| **Total** | **482.0** | **463.5** | **−18.5** |
**Why it fell**
1. **European customers ordered much less (−₹120 lakh).** Invoicing in euros nearly halved, from €262k to €138k. The rupee was weaker in October (about ₹100.3 per euro against ₹98.1), but that only added about ₹3 lakh, so the drop was in orders, not exchange rates.
- Tessora EU and Skarfab each had just one invoice in October, both in the first week, and nothing after 8 Oct.
- Part of this is that **September was unusually high**: €262k was the biggest month in the last 13, against a normal €180–195k. So the drop is a September spike followed by a weak October.
2. **Ravira Exports billed about half as much (−₹21.8 lakh):** 2 invoices against 4, with none after 9 Oct.
3. **Credit notes rose ₹6.2 lakh**, mostly two credit notes to Ponnavra Fabrics on 23 Oct (₹5.8 lakh, for a return and a rate difference).
4. **Offsetting all this, Merai Apparels billed ₹125 lakh** from 14 invoices, against ₹5–25 lakh in a normal month. ₹76 lakh of that was billed in the week of 19 Oct alone. Merai now makes up 27% of October net revenue.
**Things to check**
- **Merai's spike is the biggest open question.** Without it, October would have been down about ₹135 lakh (28%). Its October billing including GST (about ₹131 lakh) is close to its ₹156 lakh credit limit. Sales should confirm whether this is a real one-off order. It's also worth asking whether business is moving from the European accounts to Merai, since one rose as the others dropped in the same weeks. The data can't answer that.
- **I didn't use the region field for the breakdown because it's misleading.** By region, South looks down ₹140 lakh and West up ₹122 lakh. But Tessora EU (Rotterdam) and Skarfab (Aarhus) are tagged "South", and 17 of the 28 euro-billed customers sit outside the "Export" region. I grouped customers by billing currency (EUR or INR) instead, as the closest stand-in for geography.
- **For context,** October is only about 1.6% below the 12-month average of roughly ₹471 lakh. September was the above-normal month.
The data itself looked clean: no duplicate invoices, every credit note links to a valid invoice, the euro amounts convert correctly, and both months had 26 billing days.