---
title: "Compliance"
description: "Which laws reach a client app, and who answers for what: you, the processors you use, and the billing provider as the merchant of record. Not legal advice."
canonical_url: "https://nuxt-backend.dev/docs/ship/compliance"
---
# Compliance

> Which laws reach a client app, and who answers for what: you, the processors you use, and the billing provider as the merchant of record. Not legal advice.

Version: nuxt-backend 0.6.x · Tab: Ship · Kind: concept · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

A product that people sign in to, pay for and create in meets seven areas of law: privacy, accessibility, AI transparency, moderation, email, subscriptions and children. For each one, this section says what the law asks, who answers for it, what the package does and what stays with you. The billing provider sells to your customers as the merchant of record, so tax and invoices are its job. The processors (your backend, host, email and monitoring services) work on your instructions. The rest is yours: your terms, your privacy notice, your decisions and your records.

<warning>

**Not legal advice.** These pages summarize primary sources as they read on 2026-10-25, and link each one. Laws differ by country and change often. Confirm what applies to your app with a lawyer before you launch.

</warning>

## The model

### Who answers for what

<table>
<thead>
  <tr>
    <th>
      Role
    </th>
    
    <th>
      Who
    </th>
    
    <th>
      Answers for
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        You
      </strong>
    </td>
    
    <td>
      The app's owner
    </td>
    
    <td>
      Your users' personal data as its controller (GDPR Art. 4(7)). You are also the trader behind the service, the provider and deployer of its AI features, the host of what people upload, and the sender of its email.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Processors
      </strong>
    </td>
    
    <td>
      Your Convex deployment, your host, the email service, the monitoring service, the AI gateway, the bot check
    </td>
    
    <td>
      Handling personal data only on your instructions, under the data processing agreement you accept with each (GDPR Art. 28).
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        The merchant of record
      </strong>
    </td>
    
    <td>
      Polar, when billing is on
    </td>
    
    <td>
      Selling to your customers in its own name: checkout, payment data, tax, invoices, receipts, refunds and chargebacks. Its <a href="https://polar.sh/legal/checkout-buyer-terms" rel="nofollow">
        buyer terms
      </a>
      
       are the purchase contract, and it <a href="https://polar.sh/docs/merchant-of-record/introduction" rel="nofollow">
        collects VAT and sales tax
      </a>
      
      .
    </td>
  </tr>
</tbody>
</table>

The package is a library you run on your own accounts. It is no party to any of this: it holds no data, and its maintainers see none.

### Which laws reach you, and when

<table>
<thead>
  <tr>
    <th>
      Area
    </th>
    
    <th>
      Reaches you when
    </th>
    
    <th>
      Main sources
    </th>
    
    <th>
      Page
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Privacy and cookies
    </td>
    
    <td>
      You have users in the EU, the UK or California, or you store anything in their browser
    </td>
    
    <td>
      <a href="https://eur-lex.europa.eu/eli/reg/2016/679/oj" rel="nofollow">
        GDPR
      </a>
      
      , <a href="https://eur-lex.europa.eu/eli/dir/2002/58/oj" rel="nofollow">
        ePrivacy Directive Art. 5(3)
      </a>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/compliance/privacy">
        Privacy, GDPR and cookies
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Accessibility
    </td>
    
    <td>
      You sell to consumers in the EU and are not a microenterprise
    </td>
    
    <td>
      <a href="https://eur-lex.europa.eu/eli/dir/2019/882/oj" rel="nofollow">
        European Accessibility Act
      </a>
      
      , applied since 2025-06-28
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/compliance/accessibility">
        Accessibility
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      AI transparency
    </td>
    
    <td>
      Your app generates images, audio, video or text, or chats with people
    </td>
    
    <td>
      <a href="https://eur-lex.europa.eu/eli/reg/2024/1689/oj" rel="nofollow">
        AI Act Art. 50
      </a>
      
      , applied since 2026-08-02
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/compliance/ai-transparency">
        AI transparency
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Moderation
    </td>
    
    <td>
      People upload or publish content in your app
    </td>
    
    <td>
      <a href="https://eur-lex.europa.eu/eli/reg/2022/2065/oj" rel="nofollow">
        Digital Services Act Art. 16 to 18
      </a>
      
      , the US <a href="https://www.congress.gov/bill/119th-congress/senate-bill/146" rel="nofollow">
        TAKE IT DOWN Act
      </a>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/compliance/moderation">
        Moderation
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Email
    </td>
    
    <td>
      You send email, above all marketing email
    </td>
    
    <td>
      The mailbox providers' sender rules, <a href="https://www.ftc.gov/business-guidance/resources/can-spam-act-compliance-guide-business" rel="nofollow">
        CAN-SPAM
      </a>
      
      , <a href="https://eur-lex.europa.eu/eli/dir/2002/58/oj" rel="nofollow">
        ePrivacy Art. 13
      </a>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/compliance/email-law">
        Email law
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Subscriptions
    </td>
    
    <td>
      You sell plans that renew
    </td>
    
    <td>
      <a href="https://eur-lex.europa.eu/eli/dir/2023/2673/oj" rel="nofollow">
        Consumer Rights Directive Art. 11a
      </a>
      
      , California's <a href="https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=BPC&sectionNum=17602" rel="nofollow">
        automatic renewal law
      </a>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/compliance/subscriptions">
        Subscriptions
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Minimum age
    </td>
    
    <td>
      Children could sign up
    </td>
    
    <td>
      <a href="https://www.ecfr.gov/current/title-16/chapter-I/subchapter-C/part-312" rel="nofollow">
        COPPA Rule
      </a>
      
      , <a href="https://eur-lex.europa.eu/eli/reg/2016/679/oj" rel="nofollow">
        GDPR Art. 8
      </a>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/compliance/age">
        Minimum age
      </a>
    </td>
  </tr>
</tbody>
</table>

### What the package does, and what stays yours

<table>
<thead>
  <tr>
    <th>
      The package
    </th>
    
    <th>
      You
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Lists every piece of personal data it stores, and exports or erases all of it on request
    </td>
    
    <td>
      Write your privacy notice, choose your legal bases, accept each processor's terms
    </td>
  </tr>
  
  <tr>
    <td>
      Keeps a versioned record of each consent
    </td>
    
    <td>
      Decide which consents you need and what each document says
    </td>
  </tr>
  
  <tr>
    <td>
      Ships accessible pages and components, tested against WCAG levels A and AA
    </td>
    
    <td>
      Keep your own pages accessible, and publish an accessibility statement
    </td>
  </tr>
  
  <tr>
    <td>
      Labels AI output for people and for machines
    </td>
    
    <td>
      Decide where labels show, and tell people when they talk to an AI
    </td>
  </tr>
  
  <tr>
    <td>
      Takes notices about content and records each decision
    </td>
    
    <td>
      Review the notices, decide them, and meet the deadlines
    </td>
  </tr>
  
  <tr>
    <td>
      Separates transactional mail from marketing, and adds one-click unsubscribe
    </td>
    
    <td>
      Collect consent, and put a postal address in every marketing email
    </td>
  </tr>
  
  <tr>
    <td>
      Records the auto-renew consent at checkout
    </td>
    
    <td>
      Write your terms, and set your refund policy with the billing provider
    </td>
  </tr>
</tbody>
</table>

The [Feature map](https://nuxt-backend.dev/docs/start/feature-map) lists each of these with its status.

## Why it works this way

A library can make the safe path the default and keep the records an auditor asks for. It can't know your company, your users' countries or your legal basis for processing. So the package does three things and leaves the judgment to you:

- **It knows its own data.** Every table it creates is listed with what it holds, how long it keeps it, and what an export and an erasure do. A table missing from that list fails the package's tests.
- **It records.** Consents, decisions about content and renewal consent are rows with a time and a version. You answer a regulator from them, not from memory.
- **It defaults to strict.** No cookie that needs consent is set before a person agrees, marketing email needs an opt-in, and the AI label is on. You loosen a default on purpose, in your own code.

Polar as merchant of record takes the hardest part of selling across borders, tax and consumer billing, off your desk. It doesn't take the rest: Polar sells your product, but you still run the service people use.

## What it is not

- **Not legal advice, and not a certification.** Nothing here makes an app compliant on its own. A conformance claim, such as "meets WCAG 2.2 AA", needs an audit of your whole app.
- **Not tax.** The package computes no tax. Polar collects it as merchant of record.
- **Not every law.** Sector rules (health, finance, education), the UK's children's code, US state privacy laws other than California's, the Cyber Resilience Act and export controls are out of scope. The [Roadmap](https://nuxt-backend.dev/docs/start/roadmap) lists what is deferred.
- **Not a moderation team.** The package routes notices to your administrators. People still decide them.

## What this means for you

- Read [Privacy, GDPR and cookies](https://nuxt-backend.dev/docs/ship/compliance/privacy) first: it lists what each table and each provider holds, for your privacy notice.
- Check your own pages against [the accessibility rules](https://nuxt-backend.dev/docs/ship/compliance/accessibility) before launch, and publish a statement.
- If your app generates content, [label it](https://nuxt-backend.dev/docs/ship/compliance/ai-transparency).
- If people upload or publish, [set up notice and takedown](https://nuxt-backend.dev/docs/ship/compliance/moderation).
- Before your first marketing email, read [email law](https://nuxt-backend.dev/docs/ship/compliance/email-law).
- Before you sell a renewing plan, read [subscription law](https://nuxt-backend.dev/docs/ship/compliance/subscriptions).
- [Set a minimum age](https://nuxt-backend.dev/docs/ship/compliance/age) that fits your users.
- Then work through the [production checklist](https://nuxt-backend.dev/docs/ship/checklist).


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
