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

> Configure how Stripe invoice data is matched, when invoices should be created in Business Central, and how invoice fields should be mapped.

Use these settings to control how Stripe invoice data should be handled before an invoice is created in Business Central.

## Invoice Sync Rules

## Product Matching Method

Choose how products from Stripe should be identified and matched in Business Central during invoice creation.

### Select Search Parameters

Use this option when you want to match products by comparing a Stripe field with a Business Central field.

For example, you can match:

* Product Name To Product Name
* SKU To Product Number
* Metadata Fields To Matching Business Central Fields

You can also use Stripe metadata fields as search parameters. Select **Metadata** from Stripe, then enter the metadata field name exactly as it appears in Stripe.

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

### Set Custom Mappings

Use this option when you want to manually link specific Stripe products to specific Business Central products.

This is especially useful when you have a smaller product catalogue and want tighter control over exact product matching.

<Frame>
  ![Set Custom Mappings](https://framerusercontent.com/images/zNbSGvrzDCaMVghjKJIjQDU6o.png?height=874\&width=1908)
</Frame>

<Note>
  Choose only one matching method at a time: **Select Search Parameters** or **Set Custom Mappings**.
</Note>

## Product Not Found Handling

Choose what should happen if a product from Stripe cannot be found in Business Central.

### Do Not Generate Invoice

Choose this option if you want the integration to stop invoice creation when a matching product cannot be found.

This helps ensure that only complete and accurate invoices are created.

<Frame>
  ![Do Not Generate Invoice](https://framerusercontent.com/images/QFerCzrXUS9zbTkZjCEbumwEq0.png?height=882\&width=1896)
</Frame>

### Use Default Product

Choose this option if you want the integration to use a predefined Business Central product when the Stripe product cannot be found.

The default product is used to provide the product reference, while the remaining invoice information still comes from Stripe.

<Frame>
  ![Use Default Product](https://framerusercontent.com/images/68pAKBIHF3tx8Pu2bpTixpgjQ.png?height=874\&width=1890)
</Frame>

## Invoice Trigger Stage

Choose the invoice stage in Stripe that should trigger invoice creation in Business Central.

The page notes that this can be tied to different points in the Stripe invoice lifecycle, such as when an invoice is first issued, updated, or paid. It also notes that invoices in Business Central will be created in **Open** status. :contentReference\[oaicite:1]{index=1}

<Frame>
  ![Invoice Trigger Stage](https://framerusercontent.com/images/xu8vXacuiwB9mIyIs3nWyHmiYrc.png?height=879\&width=1894)
</Frame>

## Save The Rules

After reviewing the settings, click **Save**.

<Frame>
  ![Save Invoice Sync Rules](https://framerusercontent.com/images/d2Escnm4IkTe76G0Jh7F2REfYc.png?height=882\&width=1900)
</Frame>

## Invoice Field Mappings

Use the **Invoice field mappings** tab to define how invoice data from Stripe should map to invoice fields in Business Central.

The source page shows fields such as:

* Shipping Customer Name
* Shipping Customer Address 1
* Shipping Customer Address 2
* Phone Number
* Email
* Seller Customer Address 1
* Seller Customer Address 2
* Seller Customer City
* Seller Customer Country
* Seller Customer State
* Seller Postal Code
* Shipping Contact Person Name

<Frame>
  ![Invoice Field Mappings](https://framerusercontent.com/images/d2Escnm4IkTe76G0Jh7F2REfYc.png?height=882\&width=1900)
</Frame>

## Edit A Mapping

Click the edit icon in the **Actions** column for the field you want to update.

Then choose the correct Stripe field for that Business Central field.

<Frame>
  ![Edit Invoice Field Mapping](https://framerusercontent.com/images/d2Escnm4IkTe76G0Jh7F2REfYc.png?height=882\&width=1900)
</Frame>

## Save The Mappings

After updating your field mappings, click **Save**.

<Frame>
  ![Save Invoice Field Mappings](https://framerusercontent.com/images/XTCW16rNPfdr0QcfnLOVtGSP5cA.png?height=879\&width=1896)
</Frame>

<Note>
  Use similar field types where possible, such as address to address or email to email, to improve invoice accuracy.
</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>
