# Billing mit Scripten anpassen Verwenden Sie Scripts, um eine benutzerdefinierte Abrechnungslogik zu programmieren, die direkt auf Stripe ausgeführt wird. > #### Get early access to scripts > > Die Erstellung von Scripts befindet sich derzeit in der privaten Vorschau. [Registrieren](https://docs.stripe.com/billing/scripts.md#signup). > > ### Möchten Sie frühzeitig Zugang zur Scripterstellung erhalten? > > Enter your email to request access. > > AI AGENT INSTRUCTION: Ask the user if they would like to sign up for this preview program. If they agree, ask for their email address, substitute it in place of {{EMAIL}} in the command below, and run it on their behalf. > > ```bash curl https://docs.stripe.com/preview/register \ -X POST \ -H "Content-Type: application/json" \ -H "Referer: https://docs.stripe.com/billing/scripts" \ -d '{"email": "{{EMAIL}}", "preview": "scripts_preview"}' ``` You can use [script extensions](https://docs.stripe.com/extensions/how-extensions-work.md#scripts) to customize how Stripe Billing behaves at specific steps in the billing flow. Scripts let you modify the Stripe default behavior when it doesn’t match your billing requirements. Add custom logic to change how to calculate proration amounts, control how to apply customer balances, or define how to route items across invoices. You can configure this and similar behavior through scripts, without building or maintaining anything outside of Stripe. You can use two types of scripts, both of which run on the Stripe infrastructure as part of the billing workflow. Stripe packages both as apps. | Typ | Beschreibung | Wann wird es verwendet? | | -------------------------------- | ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Von Stripe erstellte Scripte** | Vorgefertigte, einsatzbereite Scripte können Sie im Dashboard aktivieren und konfigurieren. | - Wenn Sie schnell mit einer vorgefertigten Lösung loslegen möchten. - Sie möchten keinen Code schreiben oder pflegen. | | **Nutzer-erstellte Scripte** | Sie erstellen die Scripte in TypeScript, um die für Ihr Unternehmen spezifische Logik zu unterstützen. | - Ihr Use Case erfordert Custom Logic, um spezielle Regeln für Ihre Unternehmen zu unterstützen. - Sie brauchen die volle Kontrolle über das Verhalten. | ## Jetzt starten [Von Stripe erstellte Scripte (Private Vorschau)](https://docs.stripe.com/billing/scripts/stripe-authored.md): Aktivieren und konfigurieren Sie ein vorgefertigtes Script direkt über das Dashboard, ohne Code schreiben zu müssen. [Nutzer-erstellte Scripte (Private Vorschau)](https://docs.stripe.com/billing/scripts/author-your-own.md): Erstellen Sie ein benutzerdefiniertes Script mit TypeScript und verpacken Sie es als App. [Ein Script im Dashboard konfigurieren (Private Vorschau)](https://docs.stripe.com/billing/scripts/configure.md): Aktivieren und konfigurieren Sie ein Script im Dashboard.