I encountered this recently when I set up dolibarr for my restaurant in Taiwan. We have VAT in Taiwan but I feel like nobody actually knows how VAT is supposed to work. Sometimes a shop will charge us VAT, sometimes not, but what never happens is seeing VAT on your bill as a consumer, which means that every B2C in the country, other than Uber Eats, is eating the VAT. I assume. Or everyone's committing tax fraud all the way up the chain. Honestly both are just as likely.
If dolibarr didn't have auto handling for it I would have encountered it for the first time in my own program and instantly thrown my hands in the air and just done paper ledgers. I can't even imagine coding around it.
The point of VAT (…in EU) in B2C is that the B eats the VAT. You’ll see the VAT-less subtotal on receipts - but prices on shelves are strictly including VAT.