AppsPayments

AI, agents and developers · Autessa Payments

CLI and scripting

Every Autessa Payments task is available from the terminal as autessa payments <command> and from AutessaScript as autessa.payments.*: setup status, customers, invoices, templates, recurring invoices, plans, subscriptions, tax and branding. It uses the same account, permission and rules as the web app.

Goes beyond a typical invoicing or payments tool
Start free
TerminalSAMPLE
$ autessa payments get-setup-status
  chargesEnabled: true   requirementsDue: []

$ autessa payments create-invoice --json @invoice.json
  INV-0046  DRAFT  $650.00

$ autessa payments send-invoice --invoiceId inv_8Fq…
  INV-0046  SENT   payUrl: https://…/pay/…

$ autessa payments get-tax-summary --period 2027-03
  Washington   $1,887.05   41 payments

The problem it solves

Finance work should be scriptable

Batch-invoicing from a spreadsheet or pulling monthly tax totals shouldn’t need clicks. The CLI and scripts do it, while risky actions stay in the browser where a person sees them.

What you get

  • One flat list of commands, such as list-invoices, create-invoice, send-invoice, preview-invoice, get-tax-summary and send-subscription-link.
  • Money is in cents, dates are yyyy-MM-dd, and long payloads go in a JSON file with --json @file.json.
  • Update commands replace every field; read first with the matching get- command (update-branding keeps fields you leave out).
  • Void, record payment, immediate cancel, archive, delete template, end recurring and payout schedule are refused from the CLI and scripts by default.
  • Verifying your business, linking bank accounts and wallet domains need a browser; those commands print where to go.
  • Scripts run as the user who runs them; scoped API keys can’t call Payments.

How it works

How does CLI and scripting work in Autessa Payments?

  1. Check setup

    autessa payments get-setup-status shows chargesEnabled and requirementsDue.

  2. Create a draft

    autessa payments create-invoice --json @invoice.json.

  3. Send it

    autessa payments send-invoice once verified.

  4. Report

    autessa payments get-tax-summary or list-transactions.

Every option

Command groups

OptionWhat it does
Setupstart-setup, get-setup-status, get-status, get-account, update-business-profile, complete-tax-setup.
Customerscreate-customer, update-customer, get-customer, list-customers, search-customers.
Invoicescreate-invoice, update-invoice, preview-invoice, send-invoice, resend-invoice, get-invoice, get-invoice-link, list-invoices, set-invoice-reminders.
Templates and recurringcreate/get/list/update/delete-invoice-template; create/get/list/update/pause/resume/end-recurring-invoice; preview-recurring-invoice.
Plans and subscriptionscreate/get/list/update/archive-plan; list/get-subscription; change-subscription-plan; preview-subscription-plan-change; cancel-subscription-at-period-end; resume-subscription; send-subscription-link.
Tax, money and brandcreate-tax-registration, list-tax-registrations, get-tax-suggestion, get-tax-summary, list-transactions, list-bank-accounts, update-branding, create-logo-upload.

Permissions

Who can do what?

WhoCan
Owner, Admin, Accountant (or any role with Payments)Run commands with the Payments permission.
Scoped API keysCan’t call Payments.

Connected

How it connects to the rest of Autessa Payments

FAQ

Questions about CLI and scripting

Can I send invoices from the command line?

Yes. Create a draft with create-invoice and send it with send-invoice once your business is verified.

Why was void-invoice refused?

Destructive commands are refused from the CLI and scripts by default. Void on the Payments page.

Can a script use a scoped API key?

No. Scripts run as the user who runs them; scoped API keys can’t call Payments.

Also in AI, agents and developers:The Payments guide (AI)Payment tools for agents

Autessa Payments

Try CLI and scripting in Autessa Payments

Autessa Payments has a full CLI and scripting surface: invoices, customers, templates, recurring invoices, plans, subscriptions, tax and branding, with risky actions kept in the web app.

Start free

100% customizable, code and all

Make Autessa Payments fully your own.

Use it out of the box, then change anything. Ask Autobot, Autessa’s AI builder, for a new field, screen, report, workflow or agent and it builds it into your copy of the app. Or open the code and edit it yourself. Nothing is locked: the app, its data and its code are yours.

Start free and make it yours