> ## Documentation Index
> Fetch the complete documentation index at: https://docs.numeral.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Campfire

> Automate sales tax calculations and invoice processing by connecting Numeral to Campfire.

The Campfire and Numeral integration enables Zero Day Close by automating sales tax calculations and invoice processing. Once connected, Numeral automatically applies the correct sales tax rate to invoices created in Campfire and syncs transaction data back for compliance.

***

## Prerequisites

Before you begin, ensure you have:

* An active Campfire account with admin access
* A Numeral account
* Permissions to generate API keys in Campfire

***

## Step 1: Connect Numeral to Campfire

### Generate a Campfire API Key

1. Log in to your Campfire account.
2. Navigate to **Settings > API Keys** (or go directly to `https://app.meetcampfire.com/v2/settings/api-keys`).
3. Click **Generate New API Key** or **Create API Key**.
4. Copy the API key — you'll need it in the next step.

<Warning>
  Store your API key securely. It will only be displayed once.
</Warning>

### Add the API Key to Numeral

1. Log in to your Numeral account.
2. Go to **Settings > Integrations**.
3. Find **Campfire** in the list of available integrations.
4. Click **Connect** or **Configure**.
5. Enter a name for your Campfire connection.
6. Paste your Campfire API key into the appropriate field.
7. Click **Connect**.

You should see a confirmation that Numeral is now connected to Campfire and can proceed to the webhook setup step.

***

## Step 2: Set Up the Numeral Webhook in Campfire

The webhook enables real-time data synchronization between Numeral and Campfire.

1. After connecting your API key in Numeral, you'll be provided with a webhook URL.
2. Click **Copy Numeral webhook URL** to copy it to your clipboard.
3. In your Campfire account, navigate to **Settings > Webhooks** (or go directly to `https://app.meetcampfire.com/v2/settings/webhooks`).
4. Click **Add New Webhook** or **Create Webhook**.
5. Paste the Numeral webhook URL into the webhook URL field.
6. Configure the webhook to listen for **Invoice** entity events:
   * **Created** — When a new invoice is created
   * **Updated** — When an invoice is updated
   * **Payment Updated** — When payment status changes
7. After saving the webhook in Campfire, Campfire will generate a **Webhook Secret**.
8. Copy the webhook secret from Campfire.
9. Return to Numeral and paste the webhook secret into the **Webhook Secret** field.
10. Click **Continue** to complete the setup.

### Verify the Connection

1. Return to your Numeral account.
2. Check the integration status to confirm the webhook is active.
3. Send a test transaction to verify data is flowing correctly.

***

## Step 3: How Automated Tax Works on Invoices

Once the integration is complete, Numeral automatically calculates and adds sales tax to your invoices based on your configured tax rules.

When you create or update an invoice in Campfire:

1. Campfire sends the invoice data to Numeral via the webhook.
2. Numeral identifies the customer's location.
3. The system applies the appropriate sales tax rate.
4. The tax amount is calculated and added to the invoice.
5. The complete transaction data (including tax breakdown) is synchronized back to Campfire.

**What you'll see:**

* **In Campfire:** Invoices will display itemized sales tax amounts calculated by Numeral.
* **In Numeral:** Transaction data will include detailed tax information for accounting and compliance purposes.
