The Autohive Stripe integration connects your Stripe account with Autohive’s automation platform, enabling:

  • Complete customer management - Create, retrieve, update, and delete customers with full profile information including email, name, phone, address, and custom metadata
  • Invoice lifecycle automation - Manage invoices from draft creation through finalization, sending, payment, and voiding with complete control over the billing workflow
  • Line item management - Create, update, and manage invoice items with quantity pricing, unit amounts, and detailed descriptions for accurate billing
  • Flexible billing workflows - Support for both automatic charging and manual invoice sending with configurable due dates and collection methods
  • Pagination and filtering - Retrieve large datasets efficiently with cursor-based pagination and powerful filtering by date ranges, status, and customer
  • Metadata support - Attach custom key-value data to customers, invoices, and invoice items for extended business context
  • Multi-currency support - Handle billing in multiple currencies with proper amount handling in cents

Install the integration

  1. Log in to Autohive and navigate to Your user profile > Connections or Your workspace -> Manage workspace

  2. Locate the Stripe Integration card and click Connect

    List of integrations in Autohive
  3. Enter your Stripe API Key - You can find your API key in the Stripe Dashboard under Developers > API keys. Use your Secret key (starts with sk_live_ for production or sk_test_ for testing)

  4. Review the permissions. Autohive will have access to:

    • Customers: Create, read, update, and delete customer records
    • Invoices: Full invoice lifecycle management including creation, finalization, sending, and payment
    • Invoice Items: Create, read, update, and delete invoice line items
  5. Confirm installation - you’ll be redirected to Autohive with “Connected” status displayed


Use the integration

You can now use the integration with your agents, workflows and scheduled tasks!

  1. Follow our Create your first agent guide on how to create an agent.
  2. In the ‘Agent settings’, scroll down to the ‘Add capabilities’ section and turn on the Stripe capability. You can choose what individual Stripe capabilities to turn on and off.
  3. Once the settings have been selected, begin prompting the agent of the workflow you’d like to achieve with Autohive and Stripe!

Available capabilities

Customer Management

  • List Customers: Retrieve a paginated list of all customers with filtering by email and creation date
  • Get Customer: Retrieve complete details for a specific customer by their Stripe customer ID
  • Create Customer: Add new customers with email, name, description, phone, address, and custom metadata
  • Update Customer: Modify existing customer information including contact details, address, and metadata
  • Delete Customer: Permanently remove a customer from your Stripe account

Invoice Management

  • List Invoices: Retrieve a paginated list of invoices with filtering by customer, status, and creation date
  • Get Invoice: Retrieve complete details for a specific invoice including line items and payment status
  • Create Invoice: Create a new draft invoice for a customer with description, currency, and collection settings
  • Update Invoice: Modify draft invoice details including description, metadata, and collection method
  • Delete Invoice: Permanently delete a draft invoice (only works for invoices in draft status)
  • Finalize Invoice: Convert a draft invoice to open status, making it ready for payment or sending
  • Send Invoice: Email the invoice directly to the customer for payment
  • Pay Invoice: Mark an invoice as paid, completing the billing cycle
  • Void Invoice: Cancel an invoice and mark it as uncollectible

Invoice Item Management

  • List Invoice Items: Retrieve a paginated list of invoice items with filtering by customer and invoice
  • Get Invoice Item: Retrieve complete details for a specific invoice line item
  • Create Invoice Item: Add a new line item with amount, quantity, unit price, description, and metadata
  • Update Invoice Item: Modify existing invoice item details including amount, description, and metadata
  • Delete Invoice Item: Remove a line item from an invoice

Key features

Complete Invoice Lifecycle Management

  • Create draft invoices and add line items before finalization
  • Finalize invoices when ready to convert from draft to open status
  • Send invoices via email directly to customers for payment
  • Mark invoices as paid or void them when needed
  • Support for both automatic charging and manual invoice sending

Flexible Pricing and Billing

  • Specify amounts in cents for precise billing (e.g., 1000 = $10.00)
  • Support for quantity-based pricing with unit amounts
  • Configure collection methods: automatic charging or invoice sending
  • Set custom due dates with days_until_due parameter
  • Multi-currency support with configurable currency codes

Customer Data Management

  • Store comprehensive customer profiles with contact information
  • Maintain customer addresses with full address components
  • Attach custom metadata to customers for extended business context
  • Filter and search customers by email or creation date
  • Paginate through large customer lists efficiently

Pagination and Filtering

  • Cursor-based pagination with starting_after and ending_before
  • Configurable page sizes up to 100 records per request
  • Filter invoices by status (draft, open, paid, uncollectible, void)
  • Filter by creation date ranges using Unix timestamps
  • has_more indicator for detecting additional pages

Common use cases

Automated Invoicing Workflow

  • Create draft invoices for customers based on service delivery
  • Add multiple line items for different services or products
  • Finalize invoices automatically when ready for billing
  • Send invoices to customers via email for payment collection
  • Track invoice status and follow up on unpaid invoices

Customer Onboarding

  • Automatically create Stripe customers when new clients sign up
  • Store customer contact information and billing addresses
  • Attach custom metadata for tracking customer segments or sources
  • Link customers to invoices for ongoing billing relationships

Subscription and Recurring Billing Support

  • Create invoices for subscription-based services
  • Add recurring line items with consistent pricing
  • Track payment status and collection history
  • Manage customer billing preferences and payment methods

Financial Reporting and Reconciliation

  • Retrieve invoices by date range for period-based reporting
  • Filter invoices by status for collections management
  • Export invoice data for accounting and reconciliation
  • Track payment completion and revenue recognition

Service-Based Billing

  • Create itemized invoices with detailed line item descriptions
  • Support quantity-based pricing for hourly or unit-based services
  • Add administrative fees and processing charges as separate line items
  • Configure payment terms with custom due dates

Invoice workflow example

Here’s a typical workflow for creating and sending an invoice:

  1. Create a draft invoice for the customer using create_invoice
  2. Add line items using create_invoice_item for each service or product
  3. Finalize the invoice using finalize_invoice to convert it from draft to open
  4. Send the invoice using send_invoice to email it to the customer
  5. Track payment using get_invoice to check the payment status

Disconnect the integration

Important: Disconnecting stops data synchronization but preserves existing data in both systems.

  1. Navigate to Your user profile -> Connections or Your workspace -> Manage workspace
  2. Find the Stripe Integration
  3. Click Disconnect and confirm

Data Impact: Existing data remains unchanged in both systems, but sync stops and Autohive loses Stripe API access.


Uninstall the app

From Stripe: Go to your Stripe Dashboard > Developers > API keys and revoke or regenerate the API key used for the Autohive integration.