---
schema_version: "1"
id: a610c0d843757f718757736d4c404e6d7fcadfeba7761f89017bb20a58db95d2
title: Invalid Match ID During Payment Application
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/billing_rules_based_credits_payments_application.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.billing_rules_based_credits_payments_application.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5ef345dd1bd8226d09d88453798ba1038d80412836a4c5394e5f142eb76e8171
description: When a payment is applied using the Match ID rule, the invoice ID specified on the payment record is validated. If the referenced invoice is deemed invalid, the payment is applied to the next available invoice based on the subsequent rule in the sequence.
products:
  - Revenue Cloud
release: "264"
---
# Invalid Match ID During Payment Application

When a payment is applied using the Match ID rule, the invoice ID specified on the payment record is validated. If the referenced invoice is deemed invalid, the payment is applied to the next available invoice based on the subsequent rule in the sequence.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with <a href="https://help.salesforce.com/s/articleView?id=ind.revenue_licenses_areas_and_features.htm&amp;release=264.0.0&amp;type=5">the Revenue Cloud Billing license</a>. Contact your Salesforce account executive for more information.</td></tr></tbody></table>

An invoice is considered invalid for the Match ID rule in these scenarios.

- The Invoice ID specified on the Payment record is in Draft status.
- The referenced invoice is posted but has a zero balance.
- The legal entity of the referenced invoice and the payment are different.
- The related account of the referenced invoice and the payment are different.
- The currency ISO code of the referenced invoice and the payment are different.