By: Tom Sydney Kerckhove <syd@cs-syd.eu>
Refuse revenue whose tax was never computed, and book the fee Stripe nets off a charge Recording a real sandbox found two things no hand-written payload had. An account with Stripe Tax switched off reports tax: null and total_tax_amounts: [] on every invoice. That read as no tax owed and so as foreign revenue, which is how VAT on a domestic sale goes undeclared: nobody had worked the tax out, and an unanswered question is not a no. automatic_tax is what separates "Stripe looked and found none owed" from "nobody looked", so a zero without it is now an error naming the invoice. Stripe either bills its fees to the balance as their own movements or nets them off each charge, and this account nets them, so there are no stripe_fee movements at all. Only the revenue was booked, putting gross into the assets account where the balance had moved by net, and the month's assertion would have failed. A charge now contributes its fee as well. The property that should have caught the second one passed no invoices, so every charge failed and the property held vacuously. It builds an invoice per charge now.