> ## 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.

# Product Sync

> Configure how Stripe products are matched to e-conomic products and choose what should happen when a product is not found.

Use these settings to control how Stripe products are matched with e-conomic products during invoice creation.

## Product Matching Method

Choose how products should be matched between Stripe and e-conomic.

### Select Search Parameters

Use this option when you want to match products using specific fields.

For example, you can match:

* Product Name to Product Name
* SKU to Product Number

This option is usually the best fit for larger product catalogues.

<Frame>
  ![Select Search Parameters](https://framerusercontent.com/images/dpXZyucGmtiBU72G4wyYYfm5Q.png?height=584\&width=1329)
</Frame>

### Set Custom Mappings

Use this option when you want to connect products manually between Stripe and e-conomic.

This works well for smaller inventories where you want tighter control over which Stripe product maps to which e-conomic product.

<Frame>
  ![Set Custom Product Mappings](https://framerusercontent.com/images/HEbZpSvIRFyn35dsU1avR0rr8.png?height=717\&width=1373)
</Frame>

<Note>
  Matching similar field types usually gives the best results. For example, SKU to Product Number is often a strong choice.
</Note>

## Product Not Found Handling

Choose what should happen if a Stripe product does not match any product in e-conomic.

### Do Not Generate The Invoice

Choose this option if you want the integration to stop when a matching product is not found.

This is useful when you want to review mismatches manually before anything is created.

<Frame>
  ![Do Not Generate The Invoice](https://framerusercontent.com/images/54cFUmXBP6s6RTu7PX7tfZmsyyY.png?height=903\&width=1902)
</Frame>

### Use A Default Product

Choose this option if you want the integration to use a predefined e-conomic product as a fallback.

Only the product number comes from the default product. Other line-item details such as name, quantity, and price still come from Stripe.

<Frame>
  ![Use A Default Product](https://framerusercontent.com/images/ODRanj8cEo49uEnpR6P08tz0.png?height=905\&width=1900)
</Frame>

### Create A New Product

Choose this option if you want the integration to create a new product in e-conomic automatically from the Stripe product.

You also need to choose the e-conomic product group that should be used for newly created products.

<Frame>
  ![Create A New Product](https://framerusercontent.com/images/DVakmq7gSbft4IGx8Yi2BetI.png?height=912\&width=1900)
</Frame>

<Note>
  If you want invoices to keep flowing even when a Stripe product is missing, the default-product option is often the safest choice.
</Note>

## Invoice-Level Discounts

You can apply invoice-level discounts even though e-conomic supports discounts at product level.

When enabled, the integration adds a selected e-conomic product as a line item to represent the overall discount.

<Frame>
  ![Invoice-Level Discounts](https://framerusercontent.com/images/byR0WaqyPGOk1ehfkcaagzWEWGY.png?height=905\&width=1900)
</Frame>

## Directly Charge Your Customers

You can create a payment for customers without sending any product.

To do this, choose the product SKU that should be used for reference purposes.

<Frame>
  ![Directly Charge Your Customers](https://framerusercontent.com/images/KuTQKZA1Laq41jSkpFopwUYE6KA.png?height=278\&width=1329)
</Frame>

## Product Field Mappings

Use the **Product field mappings** tab to define how Stripe product fields should map to e-conomic fields.

Some common fields may already be pre-mapped.

To update mappings:

1. Click **Edit** on the row you want to change
2. Choose the correct Stripe field
3. Repeat for any other fields you want to update
4. Click **Save Mappings**

<Frame>
  ![Product Field Mappings](https://framerusercontent.com/images/XNxijgaaj0YeMS4VUMtKppUDQ.png?height=874\&width=1194)
</Frame>

<Note>
  The Product Field Mappings section is only used when you choose **Create A New Product** under the product-not-found settings.
</Note>

<Card title="Need Something More Advanced?" href="https://custom.cloudify.biz" cta="Advanced Integration Settings" arrow={true}>
  Cloudify can help with tailored integrations, specialised data mappings, and workflow automations.
</Card>
