Legal and tax basics that shape the build

Ecommerce basics 8 min read

A printed invoice and a folder of paperwork beside a laptop
Every rule here eventually becomes a field or a state in your store.

Legal and tax requirements sound like someone else's problem until you realise they appear as fields, calculations and screens in the store you are building. A return policy is a page; a fourteen-day return window is an order state.

This is not advice for your jurisdiction — get that from your own adviser. It is a list of the places where those rules become engineering work, so nothing is discovered a week before launch.

Where the rules become code#

Legal and tax basics that shape the build — Where the rules become code
RequirementHow it appears in the build
Price display rulesWhether stored prices are net or gross, and where tax is calculated
Distance selling rightsOrder states for cancellation and return windows
Order confirmation contentA template with required fields, not a friendly email
Consent and trackingScripts that must not load before a choice is made
Data access and deletionA way to export and erase a customer without breaking orders

The tax decision that shapes everything#

Decide early whether your catalogue stores prices including tax or excluding it. Consumer stores in many markets display gross; B2B usually works net. Changing this mid-project touches the catalogue, the cart, the invoices and every report.

Write the decision down with the reason. It is the single most re-litigated question in ecommerce projects.

Selling across borders#

  1. Tax rules differ by destination, and the store must know the destination before it can show a total.
  2. Some categories carry different rates; a flat rate per country is a simplification that will eventually be wrong.
  3. Customs and duty change the delivered price, and hiding that until the parcel arrives creates refunds.
  4. Invoices may need country-specific fields and sequential numbering.
  5. Return addresses per market are an operational cost, not a form field.

What to hand your adviser#

A one-page description of what you sell, where you sell it, who your buyer is, and how you take payment. That page gets a useful answer; a general question gets a general one.

Frequently asked questions

Can I launch before the legal pages are final?

The pages, sometimes. The tax calculation and return states, no — they are part of a correct order.

Net or gross prices in the catalogue?

Consumer stores usually gross, B2B usually net. Decide once, early, and write down why.

Does a hosted platform handle tax for me?

It handles the mechanics of applying rates. Which rates apply to your goods in your markets remains yours.

ecommerce legal basicsvat for online storesdistance sellingorder confirmation requirementscross border ecommerce

All guides

Last updated 2026-08-04 by ecommercedevelopment.info · About us

Written by builders

Every guide is written by developers who ship and maintain real stores, not spun from other sites.

Reviewed on a schedule

Platforms and payment rules change. Each guide carries the date of its last review, and we publish the date even when nothing changed.

No paid placements

No platform, theme shop, app vendor or agency can buy a mention, a ranking or a link here.

Twelve languages

Every guide is translated, not machine-popped — each language has its own URL and its own review date.

Limits named

We say plainly when a hosted platform or a marketplace listing would be cheaper and more reliable than a custom build.