> ## 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/Order Settings

Invoice/Order Settings allow you to define how invoices and orders are created and mapped between HubSpot and Microsoft Business Central.

***

## Invoice/Order Sync Rules

These rules determine when invoices or orders are generated based on your HubSpot deal pipeline.

### Why Invoice/Order Sync Rules Matter

* Automate invoice/order creation at the right stage in your sales process
* Ensure data consistency between HubSpot and Business Central
* Reduce manual work and errors

<Steps>
  <Step>
    Navigate to the **Invoice/Order Sync Rules** tab in your integration settings.

    <Frame>
      ![Invoice Order Sync Rules Tab](https://framerusercontent.com/images/7P17yb9HmuGz6UlbJPqIOdLgZd4.png)
    </Frame>
  </Step>

  <Step>
    Click **Add Pipeline** to create a new rule.

    <Frame>
      ![Add Pipeline](https://framerusercontent.com/images/9TIoX5Jwm5fcahUmTFxxesJgOiU.png)
    </Frame>
  </Step>

  <Step>
    Select a **Pipeline** from HubSpot.

    <Frame>
      ![Select Pipeline](https://framerusercontent.com/images/7P17yb9HmuGz6UlbJPqIOdLgZd4.png)
    </Frame>
  </Step>

  <Step>
    Choose the **Deal Stage** that will trigger invoice or order creation.

    <Frame>
      ![Select Deal Stage](https://framerusercontent.com/images/fjeAmX8DwjC6yuKgeaB7kINSlo.png)
    </Frame>
  </Step>

  <Step>
    Select whether to generate a **Draft Invoice** or **Draft Order** in Business Central.

    <Frame>
      ![Select Order or Invoice](https://framerusercontent.com/images/ITFrfB23TLEuduXZdukVhuAlliw.png)
    </Frame>
  </Step>

  <Step>
    Click **Save** after configuring your rules.
  </Step>
</Steps>

***

## Invoice/Order Field Mappings

Field mapping ensures that the correct data is transferred from HubSpot to Business Central.

### Why Field Mapping Matters

* Ensures accurate invoice creation
* Matches correct fields between systems
* Reduces manual corrections

<Steps>
  <Step>
    Navigate to the **Invoice/Order Field Mappings** tab.

    <Frame>
      ![Field Mapping Tab](https://framerusercontent.com/images/TSesqn5gdpjo18KH8qATrWlHf0.png)
    </Frame>
  </Step>

  <Step>
    Review the available mapping sections:

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

  <Step>
    Click **Edit** to modify a field mapping or **Delete** to remove it.

    <Frame>
      ![Edit Mapping](https://framerusercontent.com/images/TSesqn5gdpjo18KH8qATrWlHf0.png)
    </Frame>
  </Step>

  <Step>
    Ensure key fields are mapped correctly:

    * Notes Headline
    * References (Purchase Order Number)
    * Invoice Date
    * Delivery & Billing Addresses
  </Step>

  <Step>
    Click **Save Mappings** to apply your changes.

    <Frame>
      ![Save Mapping](https://framerusercontent.com/images/TSesqn5gdpjo18KH8qATrWlHf0.png)
    </Frame>
  </Step>
</Steps>

***

<Note>
  Correct field mapping is essential to ensure accurate invoice creation in Microsoft Business Central. Always test your configuration before going live.
</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.

  [Advanced Integration Setting](https://custom.cloudify.biz/)
</Tip>
