Privacy Policy (Draft)
Controller: [COMPANY LEGAL NAME] Address: [ADDRESS] Contact: [SUPPORT EMAIL] Governing law: [GOVERNING LAW] Last updated: 4 December 2026
This draft describes what the current LaneTruth code actually stores and sends. The product was previously called FreightAudit AI; this draft uses the name LaneTruth. It is not legal advice. A qualified lawyer must review it, fill the placeholders, and confirm the legal bases, international-transfer position, and local-law requirements before publication.
1. Scope
This Privacy Policy explains how [COMPANY LEGAL NAME] ("LaneTruth", formerly "FreightAudit AI", "we") handles personal data when you use the LaneTruth service, website, and support channels. It covers account data, invoice and audit data, billing data, email data, optional AI features, and case-study consent.
2. Roles
- For the account, billing, and website data described here, we act as the controller (or the equivalent under applicable law).
- For invoice files and audit inputs that you upload, you are generally the controller and we act as a processor, unless we agree otherwise in writing or applicable law says otherwise. Our data processing terms are in the Data Processing Agreement (DPA).
- You are responsible for having a lawful basis to upload invoice and shipment data, including any personal data about your employees, drivers, or counterparties.
3. Data we collect and why
3.1 Account data
- Email address.
- Password, stored only as a salted scrypt hash. We never store the plain password.
- Email-verification status and timestamps.
- Session records containing a hash of the session token, expiry, and last-seen time.
- Verification and password-reset tokens, stored only as hashes, with expiry and single-use markers.
- Optional onboarding information you enter, such as company name, country, currency, carriers, selected carrier, export method, and the first audit result.
- Case-study consent choice, the time it was recorded, and the time it was withdrawn (if any).
Why: to create and secure your account, verify your email, sign you in, reset your password, provide onboarding, and honour your case-study choice.
3.2 Invoice, contract, and supporting records
When you run an audit, files you upload are parsed in memory. The original CSV, Excel, or PDF file is not written to disk and is not written to the application log. If you save an audit, the application stores the parsed inputs needed to reopen and re-run it, which may include:
- invoice line items (carrier, tracking or PRO number, charges, accessorials, totals, dates, and related fields);
- your rate contract or rate card;
- optional supporting records you provide, such as shipment records, carrier credit notices, and applied-credit records;
- calculated findings and totals;
- a content hash used to detect duplicate saves.
Saved audit payloads are encrypted with AES-256-GCM when AUDIT_DATA_KEY is configured. Production startup requires that key, so saved audit payloads are encrypted in a production deployment. The SQLite database file itself is not whole-database encrypted by the application; selected payloads and email fields are encrypted at the application layer. Passwords are hashed, not encrypted.
Why: to perform the audit, save your results, reopen them later, and produce reports or dispute drafts you request.
3.3 Billing data
Payments are handled by Stripe. We do not receive or store full card numbers. We store a Stripe customer identifier, subscription status, plan, trial end, current-period end, cancellation flag, and past-due timestamps. Stripe processes payment method and billing details under its own terms and privacy policy.
Why: to provide paid access, manage subscriptions, handle cancellations, and meet accounting and tax obligations.
3.4 Email data
The application records transactional email in an outbox table before attempting delivery. That record can include the recipient address, subject, body, template name, status, provider, provider message id, and a redacted error. If an email provider is configured, the recipient address and message are sent to that provider. The default development/test configuration writes to the local outbox and makes no network call. The production email provider is to be confirmed; see the Subprocessors document.
Why: to deliver verification, password-reset, audit-complete, subscription, support, and optional digest emails, and to diagnose delivery failures.
3.5 Optional AI features (DeepSeek)
AI help is off by default. It is used only if the service has an AI provider configured and an owner or admin of your company has turned on AI help in Team settings (the date and the person are recorded). When it is on, that means:
- structuring messy PDF text when the normal table parser finds no lines and the request enables the model;
- plain-English explanations of findings; and
- dispute-letter drafts.
We send extracted text or a finding summary, not the original uploaded file. Dollar amounts are calculated locally and are not taken from the model. Model output may be cached locally in a JSON file, encrypted when AUDIT_DATA_KEY is configured. The AI provider's retention, training, and location terms are unverified and must be confirmed by the founder before launch.
Why: to provide the optional AI-assisted features you request. Core parsing, OCR, and audit arithmetic do not require DeepSeek. OCR uses local tooling (for example, Tesseract and PDF rendering) in the current code.
3.6 Case-study consent
Case-study use is opt-in and off by default. If you tick the case-study box on your account page, we may use your anonymised results in a case study or similar material. You can untick it at any time. The application records the withdrawal time and stops future use based on that consent. Withdrawal does not automatically retract material already published before withdrawal; the founder must decide how to handle that. [LAWYER TO CONFIRM WORDING.]
3.7 Cookies and local storage
The application uses a session cookie named fa_session. It is httpOnly, SameSite=Lax, Secure in production, and expires after 30 days at the latest. The client workspace may keep audit history in browser local storage. The current codebase does not include third-party advertising or analytics scripts; if analytics are added later, this policy and any consent mechanism must be updated.
4. Legal bases (EEA/UK)
Where the GDPR or UK GDPR applies, we rely on the following bases, subject to legal review:
- Contract — account creation, authentication, audit delivery, saved audits, billing, and support.
- Legitimate interests — securing the service, preventing abuse, fixing errors, and improving the product, balanced against your rights.
- Legal obligation — tax, accounting, fraud prevention, and responding to lawful requests.
- Consent — optional case-study use and any optional feature that specifically asks for consent.
[LAWYER TO CONFIRM EACH BASIS AND ANY LOCAL-LAW ADDITIONS.]
5. How we share data
We share data only as needed to run the service:
- Hosting provider — hosts the application and the SQLite database. The final production host is to be confirmed; Fly.io is the target named in the current brief, while the repository deployment guide also describes Hostinger. See Subprocessors.
- Stripe — payment processing, subscription management, invoicing, fraud checks, and billing support.
- Email provider — delivery of transactional email. Provider to be confirmed.
- DeepSeek — optional AI features only when enabled and requested.
- Professional advisers, authorities, or successors — where required by law, to protect rights, or in a merger or acquisition, subject to appropriate confidentiality.
We do not sell personal data. We do not send invoice data to carriers. We do not file claims with carriers.
6. International transfers
Some providers may process data outside your country. Where required, we will use an appropriate transfer mechanism (for example, standard contractual clauses) and assess the destination's legal position. The final provider list, regions, and transfer mechanism are to be confirmed before live customer data is processed. [LAWYER TO COMPLETE.]
7. Retention
We keep data only as long as needed for the purposes above, unless a longer period is required by law. The detailed schedule is in the Retention Policy (RETENTION.md). Key points from the current code:
- Account data is kept until you delete your account, subject to backups and legal obligations.
- Saved audits and supporting records are kept until you delete the audit or your account; the code has no automatic expiry.
- Backups keep the newest 7 snapshots by default and are not automatically purged when an individual account is deleted.
- The optional DeepSeek cache has no built-in expiry and is not scoped to a single account; the founder must decide and implement a retention rule.
- Stripe records may be retained by Stripe and by us for billing, tax, and dispute purposes even after account deletion.
8. Security
- Passwords are salted scrypt hashes.
- Session tokens are random; the database stores only a hash.
- Saved audit payloads and email addresses are encrypted with AES-256-GCM when the data key is configured; production requires the key.
- State-changing requests are checked for same-origin where an Origin header is present, and rate limits are applied in process memory.
- Host and provider access controls, disk encryption, and backup encryption depend on the final hosting configuration and are to be confirmed.
No method is perfectly secure. We do not claim SOC 2, ISO 27001, GDPR certification, or any other certification. Do not treat this draft as a security guarantee.
9. Your rights
Depending on your location, you may have the right to access, correct, delete, restrict, object to processing, port your data, and withdraw consent. Contact [SUPPORT EMAIL]. You may also complain to your local data-protection authority.
- You can delete a saved audit from the account page.
- You can delete your account through the self-service deletion flow, which requires your password. Deletion removes the account and the rows listed in the Retention Policy.
- If you are the company owner, deleting your account cancels any active subscription immediately through Stripe before any data is deleted. If the cancellation cannot be confirmed, nothing is deleted and you are asked to try again or contact support.
- If you are a member of another company's workspace, deleting your login removes your account and membership only; the company's audits belong to the company owner.
- Some data may remain in backups, provider records, or legal archives for the periods described in the Retention Policy.
10. Children
The service is intended for businesses and professional users, not children. We do not knowingly collect data from children. [LAWYER TO CONFIRM AGE THRESHOLD.]
11. Changes
We may update this Privacy Policy. Material changes will be notified by email or in the product where required by law. The "Last updated" date shows the current version.
12. Contact
[COMPANY LEGAL NAME] [ADDRESS] [SUPPORT EMAIL]
Recent changes (4 December 2026)
These changes took effect on 4 December 2026:
- Company workspaces. One company per subscription, with roles owner / admin / member / viewer. Owners and admins invite people with a single-use link valid for 7 days (max 25 people). Viewers are read-only. The company's data belongs to the owner account; removing a member signs them out immediately.
- Activity log. Security-relevant actions (invitations, role changes, exports, deletions, AI setting changes, support requests) are logged per company with the acting user and time. Details are encrypted; no invoice contents are logged. Kept until the company is deleted ([RETENTION PERIOD - FOUNDER DECISION]).
- AI opt-in. AI help (DeepSeek) is off by default and must be switched on by a company owner or admin.
- Support tickets. The in-app support form stores the requester's email, name, company, subject and message, all encrypted at rest. There is no public support mailbox yet ([SUPPORT EMAIL]).
- Encryption scope. Saved-audit names and money totals are now encrypted together with the audit payload (AES-256-GCM, application level). The Fly.io volume is reported encrypted at rest.
- Large files. CSV and Excel invoice files are parsed in the user's browser and are not uploaded; files up to 200 MB (CSV) / 50 MB (Excel) are read in parts on the user's computer. PDFs and images (max 8 MB) are processed in server memory and not stored.
- Account deletion. Owner deletion cancels live Stripe subscriptions immediately before deleting data; if cancellation fails nothing is deleted.
- Subscription, cancellation and refund terms are in SUBSCRIPTION-TERMS-DRAFT.md, CANCELLATION-POLICY-DRAFT.md and REFUND-POLICY-DRAFT.md.