First time posting a thread here, be gentle

Yesterday was honestly the worst day this month. Still shocked, feels like a nightmare but it actually happened at the office in Nakhon Ratchasima where I work as a 25‑year‑old accountant.

Quick version first — I finished the month‑end close and sent the files to management on time. Everything seemed fine until one thing made my boss furious and he started scolding me in front of the whole department in a meeting, saying I was careless and caused damage. I was like… how?? 😭

I’ll tell the long version because I don’t know who to vent to. Might be long, warning: emotional ramble 555

A few days ago the month close was messy because some customer invoices didn’t match the system. I was sitting there checking an Excel file named closing_Apr_v3_final.xlsx until almost 8 pm, still had small fixes — spent like 1 hour 40 minutes staring at the screen until my eyes hurt. My little finger had ink stains from notes I’d scribbled at midnight before going home. I never slip up on this stuff but this month roles got shuffled because a colleague took sick leave so I had extra responsibilities: journal adjustments, depreciation, small account transfers.

Around 10pm my boss messaged asking me to send the file first and he’d review it later. I sent it with a note under the file: “Please check only the payables and receivables rows: 215–238, explanations in column H.” Then I stayed another hour updating two more mismatched items.

I got home close to midnight, exhausted, but I thought everything was fine — there were records, emails, attachments, version history on the company server, and the file upload timestamp was about 00:12.

Next morning at 9:30 we had the month‑end summary meeting with executives and department heads. When the boss started checking, he suddenly pointed at me and loudly said, “Who approved this? The accounting didn’t check properly — this is wrong.” He sounded so condescending. He said one client hadn’t paid because the invoice was wrong, that this damaged the company’s credibility and I should take responsibility.

I nearly fainted. Face flushed, throat dry, sitting there stunned because the item he mentioned was scanned by the colleague who’s on sick leave and uploaded to the folder "CustomerDocs_Apr". Later I moved it into the summary file but there’s version history showing who uploaded what. I wasn’t blind to the source, but the boss wouldn’t listen — kept saying “accounting must be responsible” and stared at everyone like he wanted to make me a public scapegoat.

At one point I tried to explain that the file has edit history and the original uploader was someone else, but he cut me off with “don’t start throwing blame around.” I’ve never been judged like that at work before. I get accountability, but if the whole team had roles in this, shouldn’t it be handled step by step? Is it right to insult people in a meeting like that?

Some coworkers were quiet, looked scared. The colleague who actually scanned the doc messaged me an apology in chat, too scared to speak up in front of the execs — he said he didn’t know what to do because arguing in front of management would make it worse. I felt weird, like everyone just let the boss gang up on me — am I overthinking? My head kept replaying it.

After the meeting the boss pulled me aside and said next time if this happens he’ll make me sign to refund the client, and told me to check my work more carefully. I said I’ll take responsibility for my own mistakes, but in this case the origin was the scanning and entry done by someone else — I asked him to check the file history and system. He said “don’t give me excuses.” It made me feel so alone.

Now I’m back at my desk going through emails and file histories to collect evidence in case it comes up again, but I’m scared that bringing this up will make me look like I don’t trust the boss or like I’m stirring trouble. It’s such a small thing but because it happened in front of the executives it’s sticking to me. I’ve always worked quietly and not demanded attention, but this is really getting to me.

Am I being dramatic thinking the boss should’ve reprimanded me privately? If it happens again what should I do — keep every email, take screenshots of file versions, or talk to HR first? If I go to HR and that damages my relationship with the boss, how would I even stay here? My mind’s a mess.

What do you all think I should do? Stand my ground and explain to the execs, or gather proof and talk to HR at the right moment, or just let it go to avoid stirring up trouble? Or am I just overthinking? T_T

P.S. If anyone’s been through this a lot, please share how you handled it so I have some ideas. Thanks so much.