New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·Finance, billing and payments

Invoice Ninja hosting in Switzerland.

Invoice Ninja hosting in ALP1, Swiss Alps: the official Docker stack on a 2 vCPU / 2 GB VPS for $6.99/mo, with local PDF rendering and Swiss QR-bills.

Runs here
  • Invoice Ninja
  • Laravel
  • MySQL
  • Docker

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Staging, devStarter · 2 vCPU · 2 GB RAM$6.99/mo80 GB NVMe · 10 TB transfer · 1 Gbps
  • 1 Gbps port10 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$6.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less

Deploy VPS Starter
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 2 vCPU, 2 GB RAM
  • 80 GB NVMe local storage
  • 10 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes, and the plan is Cloud VPS Starter: 2 vCPU, 2 GB RAM, 80 GB NVMe and 10 TB of monthly transfer for $6.99 a month, in ALP1, Swiss Alps, running the project's own Debian Docker stack. That is enough for one business invoicing its own clients. What decides whether it stays comfortable is memory, because PHP-FPM, MySQL 8, Redis and the headless Chrome that renders every PDF share those 2 GB. Give the machine a swap file and keep PDF rendering on the server, and Starter does the job; if you run several companies in one install or send large batches, take Standard instead.

Deploy Invoice Ninja on VPS Starter with Debian 13

02/06

What Invoice Ninja is and who runs it.

Invoice Ninja is an invoicing application built on Laravel, with a React admin interface and a client portal where customers view, download and pay what they owe. Beyond invoices it handles quotes, recurring billing, expenses, time tracking, projects and purchase orders, and its mobile and desktop apps connect to a self-hosted server as readily as to the vendor's own service. The team publishes releases on GitHub several times a month; v5.13.50, released on 21 October 2026, was current when we wrote this page.

The licence is the Elastic License 2.0, which makes the code source-available rather than open source. When you self-host Invoice Ninja you get every Pro and Enterprise feature of the hosted service at no charge. The vendor sells a $40-a-year white-label licence that removes its branding from client-facing pages and PDFs (the admin side keeps it), and the same key is required if you send e-invoices onto the PEPPOL network through Invoice Ninja's proxy.

The people who run it themselves are mostly freelancers, agencies and small firms who would rather not keep their client list, rates and payment history in someone else's SaaS. For a Swiss business, two features stand out. The Swiss QR-bill is built in: set the company country to Switzerland and the QR-IBAN and BESR fields appear, and the $swiss_qr variable places the payment part in your invoice design. Clients can also pay in Bitcoin through the bundled BTCPay Server gateway, with funds going to your own wallet; our notes on running a self-hosted crypto payment gateway cover the BTCPay side.

Location matters here because an invoicing database is personal data: names, postal and email addresses, amounts and often bank details. On our servers it falls under the revised Swiss Federal Act on Data Protection, in force since 1 September 2023 (how Swiss data protection applies to hosted data). For EU businesses, the European Commission's review of 15 January 2024 kept Switzerland's adequacy decision in force, so client data can move from the EU to ALP1 without additional safeguards; this answer covers the EU side in detail. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. That closes one shortcut for foreign data requests. It does not put a Swiss server beyond the reach of every foreign court, and we do not claim it does.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.

03/06

Requirements and sizing.

The official documentation asks for PHP 8.2 with a long list of extensions, MySQL 5.7+ or MariaDB 10.3+, nginx or Apache with HTTPS, a cron entry that fires the Laravel scheduler every minute, and queue workers for mail and PDFs. The app must sit at the root of a domain or subdomain; an install under example.com/invoices is not supported. The Debian image behind the Invoice Ninja Docker stack bundles the application side: PHP 8.4 FPM, Supervisor running the scheduler and workers, Google Chrome for PDF rendering, and the Saxon XSLT engine used to validate e-invoices. The compose file adds nginx, MySQL 8 and Redis. Docker Hub lists the image at about 1 GB.

ResourceWhat Invoice Ninja usesCloud VPS Starter
CPULow at rest; Chrome spikes while rendering PDFs2 vCPU
RAMFour containers idle: not measured; peak during a PDF batch: not measured2 GB
DiskImage, database, uploaded receipts and logos: not measured80 GB NVMe
NetworkInbound 80/443; outbound SMTP and payment-gateway APIs1 Gbps, 10 TB/month

Two gigabytes is the floor, not a comfortable margin. MySQL 8 and Chrome are the hungry processes, and when both work at once, during a month-end run that renders and emails a few hundred recurring invoices for instance, a machine without swap is at the mercy of the kernel's OOM killer, which may well pick the database. A 2 GB swap file on NVMe costs nothing and turns that failure into a slow minute. Do not save memory by switching PDF_GENERATOR to hosted_ninja: that option hands rendering to Invoice Ninja's hosted service, so the content of every invoice leaves your server, which defeats the reason for putting it in Switzerland. Keep the default snappdf, which drives the local Chrome.

Move up to Standard on our Cloud VPS range (4 vCPU, 4 GB, 160 GB NVMe, 15 TB, $12.99) if you run several companies in one install, send statements and reminders in bulk, or want the same Invoice Ninja VPS to carry your website or a mail relay as well. Traffic will not be what pushes you up: at a theoretical 200 KB per emailed PDF, the 10 TB included with Starter would cover fifty million invoices a month.

04/06

How to self-host Invoice Ninja with Docker on our VPS.

Order Starter with Debian 13 from the deploy link. The account is no-KYC: an email address is enough, and you pay from a crypto balance. While the server is provisioned, create an A record for the subdomain the app will live on, for example billing.example.com, pointing at the VPS's IPv4 address.

On the server, add swap, install Docker, Caddy and restic, fetch the official stack and generate the application key:

bash
fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile echo '/swapfile none swap sw 0 0' >> /etc/fstab curl -fsSL https://get.docker.com | sh apt install -y caddy git restic git clone https://github.com/invoiceninja/dockerfiles.git -b debian /opt/invoiceninja cd /opt/invoiceninja/debian docker run --rm -it invoiceninja/invoiceninja-debian php artisan key:generate --show

Open .env and set at least the values below. If IN_USER_EMAIL and IN_PASSWORD stay empty, the first start creates admin@example.com with the password changeme!, which you do not want facing the internet; once your account exists, both lines can go.

ini
APP_URL=https://billing.example.com APP_KEY=base64:... # the string printed by key:generate APP_DEBUG=false REQUIRE_HTTPS=true TRUSTED_PROXIES=* IN_USER_EMAIL=you@example.com IN_PASSWORD=<long random password> DB_PASSWORD=<random> DB_ROOT_PASSWORD=<random> TAG=<a release tag listed on Docker Hub>

The shipped compose file publishes nginx on port 80 without TLS. Bind it to localhost and let Caddy terminate HTTPS; Caddy obtains and renews the Let's Encrypt certificate on its own.

bash
sed -i 's/"80:80"/"127.0.0.1:8080:80"/' docker-compose.yml printf 'billing.example.com {\n reverse_proxy 127.0.0.1:8080\n}\n' > /etc/caddy/Caddyfile systemctl reload caddy docker compose up -d

The first start runs the database migrations and creates your account; if the setup screen asks for a database host, it is mysql. In the app, set the company country to Switzerland under Company Details if you want QR-bills, then choose a mail provider under Settings → Email Settings. Outbound port 25 is open on every VPS, so direct delivery or your own relay is possible, but a fresh IP address has no sending reputation, and invoices are the mail you can least afford to lose to a spam folder. Until the domain has a sending history, the built-in SMTP, Postmark, Mailgun, Brevo and SES options are the safer route. Whichever you pick, publish SPF, DKIM and DMARC for the sending domain.

To update, take a backup, change TAG, then run docker compose pull && docker compose up -d. Pin a tag rather than tracking latest: with releases arriving several times a month, you want to decide when your billing system changes.

Backups are where self-hosted invoicing usually goes wrong. You need three things: a MySQL dump, the app_storage volume (logos, uploaded receipts, generated files) and the .env file. The APP_KEY in that file encrypts some fields, and Invoice Ninja's own README warns that the application will not run without it, so a dump without its key is not a backup. Swiss law also requires accounting records to be kept for ten years (Code of Obligations, art. 958f), which means the backups have to outlive this server and probably the next one. A nightly restic run to an S3 bucket handles that. Our object storage starts at 250 GB for $1.99 a month, billed by size only, with no request or traffic fees.

bash
mkdir -p /root/backup && cd /opt/invoiceninja/debian docker compose exec -T mysql sh -c 'mysqldump -uroot -p"$MYSQL_ROOT_PASSWORD" --single-transaction "$MYSQL_DATABASE"' > /root/backup/ninja.sql docker run --rm -v debian_app_storage:/s:ro -v /root/backup:/b alpine tar czf /b/storage.tgz -C /s . cp .env /root/backup/env # with AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and RESTIC_PASSWORD exported restic -r s3:https://<your-endpoint>/<bucket> backup /root/backup

The bucket speaks the S3 API; it is not a block device, so do not rclone mount it under MySQL. Keep an offline copy of the .env and the restic password as well, since those are the two secrets nobody can recover for you.

05/06

Cost.

ItemPer month
Cloud VPS Starter: 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps$6.99
Daily VPS backups (+20 %)$1.40
Object storage, 250 GB, for off-site restic backups$1.99
Priority support (optional)$10.00
Invoice Ninja white-label licence (optional, paid to Invoice Ninja, not to us)$40 per year

Starter plus the bucket comes to $8.98 a month; add daily VPS backups and it is $10.38. Yearly billing takes roughly 25 % off the VPS, which puts Starter at $62.99 a year. Root access and the full 10 TB of transfer are included. Administration of Invoice Ninja is not, so patching PHP, the containers and the app itself stays your job. Every plan and option is listed on the pricing page.

Payment is in crypto only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins) against prices kept in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500; a $100 top-up therefore credits $110, which pays for fifteen months of Starter. The unused paid part of a top-up is refundable within 14 days, and we accept business customers paying in crypto.

06/06

Limits and acceptable use.

The first limit comes from the licence, not from us. The Elastic License forbids providing Invoice Ninja to third parties as a hosted or managed service that gives them a substantial part of its features, and it forbids circumventing the licence-key functionality. Billing your own clients is fine; selling invoicing accounts to other businesses is not.

On our side, the instance may not be used to issue invoices or payment pages in the name of a company you are not (the standard fake-invoice fraud), to send unsolicited bulk mail through its mailer, or to collect card numbers outside a payment gateway. When we receive a complete complaint we forward it to you, and you remove the content or justify it. We act ourselves on a decision of a competent Swiss authority, or where content is manifestly unlawful (Swico Code of Conduct Hosting 2025); an invoice forged in another firm's name is the clearest example. What happens after an abuse complaint is described step by step.

Your clients' personal data is your responsibility under the FADP: who has admin access, how long records are kept, and what you answer when a client asks what you hold about them. No-KYC limits what we know about you. It changes nothing about what your invoices say, and those carry your legal name, address and VAT number by design.

Catalogue·Options

Every configuration, every option, every price.

Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
ProProduction68 GB320 GB20 TB / month1 Gbps$22.99/moDeploy Pro
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy Summit

Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.

Every plan

  • AMD EPYCon every host
  • Local NVMenot network storage
  • DDoS protectionalways on
  • 1 IPv4 addressmore at $2 each
  • VNC consoleand full root access

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Can I run Invoice Ninja without Docker?

Yes. Unpack the release tarball into /var/www, serve its public/ directory with nginx and PHP-FPM 8.2 or later, use MariaDB or MySQL, add the scheduler cron and run the queue workers under Supervisor. You then also have to install Chrome for local PDF rendering, the step most bare-metal guides leave out. The Docker image saves you that and keeps the PHP extensions consistent across updates.

Does the Swiss QR-bill work on a self-hosted install?

Yes; it is the same code as the hosted service. Invoice Ninja supports a QR-IBAN with QR reference, a normal IBAN without reference, and an IBAN with an ISO 11649 creditor reference. When the payment part fails to appear on the PDF, the usual cause is an incomplete address on your company or on the client.

Can my clients pay me in Bitcoin?

Yes, through the BTCPay Server gateway that ships with Invoice Ninja. You pair it with your own BTCPay store, and payments go to your wallet without an intermediary. We would not run BTCPay on the same 2 GB VPS; give it a server of its own.

What if I outgrow Starter?

Order a Standard VPS, restore the three backup items onto it, point the DNS record at the new address and cancel the old server. The whole installation is defined by docker-compose.yml, .env, the database dump and the storage volume, so the move is a restore rather than a reinstall.

Sources

Every fact on this page, with its source

Consulted 4 Nov 2026 unless noted.

Other references

ALP1·Swiss Alps

Your server in the Alps, ready when you are.

Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.