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

# Invoice/Quote Settings

> Configure how invoices and quotes are automatically created in Xero based on your Pipedrive pipeline stages, and map the right fields for accurate invoicing.

## Why Invoice/Quote Sync Rules Matter

<CardGroup cols={3}>
  <Card icon="bolt" title="Automate invoice creation">
    Trigger invoice or quote creation in Xero at exactly the right moment in your sales process.
  </Card>

  <Card icon="arrows-rotate" title="Ensure data consistency">
    Automatically create or update customer information in Xero based on your Pipedrive deals.
  </Card>

  <Card icon="clock" title="Save time">
    Eliminate manual data entry and reduce the risk of errors across both platforms.
  </Card>
</CardGroup>

***

## Setting Up Invoice/Quote Sync Rules

<Steps>
  <Step title="Navigate to Invoice/Quote sync rules">
    Go to the **Invoice/Quote sync rules** tab in your integration settings and click **Add Pipeline** to create a new rule.
  </Step>

  <Step title="Define the three key elements for each rule">
    For each rule, configure the following:

    * **Pipeline** — select the Pipedrive pipeline you want to trigger from.
    * **Deal Stage** — choose the specific stage in the pipeline that will trigger the integration.
    * **Generate** — decide whether to create a draft invoice or a draft quote in Xero.
  </Step>

  <Step title="Add multiple rules if needed">
    You can add multiple rules for different pipelines or stages as needed.
  </Step>

  <Step title="Save your changes">
    After setting up your rules, save your changes to apply them.
  </Step>
</Steps>

***

## Invoice/Quote Field Mappings

**Why Invoice/Quote Field Mappings Matter**

* **Ensure data consistency** — match the right information between Pipedrive and Xero.
* **Customize for your needs** — adapt the integration to fit your unique invoicing process.
* **Save time** — automate the transfer of invoice data, reducing manual entry and potential errors.
* **Guarantee accuracy** — correct field mapping is crucial for ensuring accurate invoices in Xero.

### Setting Up Invoice/Quote Field Mappings

<Steps>
  <Step title="Navigate to Invoice/Quote field mappings">
    Go to the **Invoice/Quote field mappings** tab in your integration settings. The mappings are divided into three main areas:

    * **Notes and References**
    * **Delivery Address**
    * **Billing Address**
  </Step>

  <Step title="Review and edit existing mappings">
    For each Xero field, the default Pipedrive field will be shown (if applicable). Click **Edit** to change the mapping or **Delete** to remove it.
  </Step>

  <Step title="Prioritize key fields">
    Pay special attention to these key mappings:

    * **Notes Headline** *(mapped to Invoice headline in Pipedrive)*
    * **References** *(mapped to Purchase order number in Pipedrive)*
    * **Date** *(Invoice issue date)*
    * Delivery and Billing address fields
  </Step>

  <Step title="Save your changes">
    After setting your preferred mappings, save your changes to apply them.
  </Step>
</Steps>

<Note>
  Correct field mapping is essential for ensuring accurate invoices in Xero. Review and optimise these mappings regularly. If you're unsure about which fields to map or how to handle specific scenarios, [contact our support team](https://meetings.hubspot.com/cloudify/app-assistance) — we're here to help you get the most out of your integration.
</Note>

***

<Tip>
  **Got unique integration needs?** Our custom team can build tailored integrations, specialized data mappings, and workflow automations to perfectly match your specific business processes. [Learn more about Advanced Integration Settings](https://custom.cloudify.biz/)
</Tip>

<CardGroup cols={2} />
