Tenant isolation in the database
Every table with an organisation column is protected by row-level security. The application connects with a role that cannot bypass it, and the server refuses to boot if that is not the case.
What the product guarantees, named by mechanism rather than by adjective. This is the page to send to whoever reviews a supplier.
Every table with an organisation column is protected by row-level security. The application connects with a role that cannot bypass it, and the server refuses to boot if that is not the case.
The A1 certificate is stored encrypted with a per-certificate key, itself wrapped by a master key kept outside the database. The password stays encrypted in the same envelope, never in the clear.
An authorized invoice is never edited. A change is a cancellation event signed with your certificate, followed by a new invoice. Both remain in the record.
Every status change is an event with a hash chained to the previous one. A database trigger blocks updates and deletes on that table.
Invoice numbers are reserved under a lock, every write through the API accepts an idempotency key, and retries ask the government first. Unknown never means resend.
A person limited to some of the organisation’s CNPJs is limited by a database policy, not by the screen: the other CNPJs’ invoices, certificates and reports do not exist for that session.
Sign-in goes through Quathos Account with a verified email, and each sign-in is bound to the browser that started it, so a link sent by someone else cannot log you into their organisation.
Webhooks are signed with HMAC and never reach private or internal network addresses. Every write through the API accepts an idempotency key, and a stored response is never replayed to a revoked token.
Invoices with fiscal value only leave when a global switch is on, and that switch only works in the production environment. The sandbox cannot be confused with the real thing.
Database, queue and files run on Hetzner Online GmbH infrastructure. The fiscal XML and the DANFSe are kept for six years, as the law requires, in private buckets accessed only through short-lived signed URLs. The government receives exactly what you see in the record: the signed XML.
Write to security@quathos.com. We answer within two business days and do not pursue good-faith research.
The four documents a reviewer asks for first, published in full.