CPM Document Level Payment

CPM supports taking payments from Posted Sales Invoices, Posted Service Invoices and Open Sales Orders

Paying a Posted Sales or Service Invoice
You can select a posted sales or service invoice in Business Central and record a payment directly against it. 

Note: the following instructions describe the process of paying a posted sales invoice, but they can also be followed for posted service invoices.

  • Choose the looking glass within Business Central
  • Enter Posted Sales Invoices and then choose the related link
  • Open the posted sales invoice for which you want to record a payment
  • From the CPM tab on the ribbon, choose New CPM Payment
    • This payment action is only available if the posted sales invoice’s customer record has been linked to your external payment platform. If this action is not visible to you, please review the instructions on CPM Customer mapping and 
      confirm that these steps have been performed.
    • In addition, this payment action is only available if the posted sales invoice has a remaining amount. It is not possible to initiate a payment against a posted sales invoice that has already been fully paid.
  • In the CPM Stripe Payment page, fill in the following fields:
    • Amount: enter the amount of the payment you want to capture. This will default to the outstanding amount of the posted sales invoice, but you can change this to a lesser value if you want to record a partial payment. You cannot record a greater payment than the document’s outstanding amount.
    • Currency: this will default to the currency code that has been assigned to the posted sales invoice. If a currency code has not been assigned to the document, CPM will assign the default LCY code that you have set up in Business Central.
    • Description: enter a description for the payment. This will default to the posted sales invoice’s number, but you can change this to reference a customer document number or other relevant information.
    • Use Saved Payment Method: select this check box to instruct CPM that the payment should be processed with a payment method that has been saved for the customer in your external payment platform. If you enable this setting, there is no need for you to enter credit card information, and these fields will be replaced with the Selected Payment Method field.
    • Selected Payment Method: if the Use Saved Payment Method field has been selected, enter or use the AssistButton to select a payment method that has been saved for the customer in your external payment platform. The list of available payment methods is retrieved directly from your external environment.
    • Save New Card: if you are manually entering values in the credit card information fields, you can select this check box if you want to save this payment method for the customer in your external payment platform.
    • Credit card information fields: if you do not select the Use Saved Payment Method check box, you must enter the number, expiry date, and CVC number for the credit card that will be used to process the payment.
    • Choose the Submit button

If the payment collection process was successful, a new payment entry for the specified amount will be created in the customer’s ledger. This payment entry will be applied to the open invoice entry that exists for the posted sales invoice. In addition, if the payment is for the full outstanding amount of the invoice, CPM will automatically select the Closed check box on the posted sales invoice’s header.

Paying a Sales Order
You can select a sales order in Business Central and record a payment directly against it. 
Depending on how the transaction is configured, the payment will be recorded as either an authorization or a capture:

  • Authorization: the payment amount is confirmed as being available on the credit card. These funds are reserved for the completion of the transaction, and cannot be used for other activities. However, the financial transaction is not yet completed and these reserved funds are not deposited into the vendor’s account.
  • Capture: the payment amount is deposited into the vendor’s account, completing the financial transaction.

The way CPM handles a sales order payment depends on the activity type. An authorization is entered as a payment request record, where it is available for capture at a later date. A capture (either entered as response to an existing authorization or as the initial payment activity) is entered as a payment in the customer’s ledger, where it is automatically applied to the relevant invoice entry.


It is possible to require that a certain percentage of a sales order’s total amount be authorized before the order can be released or shipped. These thresholds are defined for payment terms codes. When a payment terms code is assigned to a sales order and the user attempts to release or ship it, CPM will determine whether any threshold values exist for the relevant payment terms code. If a threshold has been defined and a payment authorization for the appropriate amount has not been recorded, it will not be possible for the user to perform the relevant activity.


For example, suppose we define a CPM authorization percentage on release value of 40% for a payment terms code. If that payment terms code is assigned to an order with a total amount of $200, we would not be able to release the order until a payment authorization of $80 or more is recorded against the sales order.


When a payment activity (regardless of type) is recorded, information is sent to the connected external payment platform as a payment record, keeping both of your environments in synch.

  • Choose the looking glass within Business Central
  • Enter Sales Orders and then choose the related link
  • Open the sales order for which you want to record a payment
  • From the CPM Tab, choose New CPM Payment
    • This payment action is only available if the sales order’s customer record has been linked to your external payment platform. If this action is not visible to you, please review the instructions on CPM Customer Mapping and confirm these steps have been performed.
  • In the CPM Stripe Payment page, fill in the following fields:
    • Amount: enter the amount of the payment you want to capture. This will default to the outstanding amount of the sales order, but you can change this to a lesser value if you want to record a partial payment. You can also record a greater payment than the document’s outstanding amount, if necessary.
    • Currency: this will default to the currency code that has been assigned to the sales order. If a currency code has not been assigned to the document, CPM will assign the default LCY code that you have set up in Business Central.
    • Description: enter a description for the payment. This will default to the sales order’s number, but you can change this to reference a customer document number or other relevant information.
    • Use Saved Payment Method: select this check box to instruct CPM that the payment should be processed with a payment method that has been saved for the customer in your external payment platform. If you enable this setting, there is no need for you to enter credit card information, and these fields will be replaced with the Selected Payment Method field.
    • Selected Payment Method: if the Use Saved Payment Method field has been selected, enter or use the AssistButton to select a payment method that has been saved for the customer in your external payment platform. The list of available payment methods is retrieved directly from your external environment.
    • Capture Method: select the manner in which the payment will be captured. You can instruct CPM to immediately capture the payment as part of the submission, or delay capture, in which case the submission will result in a payment authorization that can be captured at a later date. It is only possible to delay payment capture for credit card payments; ACH direct debit payments are always captured immediately. The value in this field will default from any customer or platform-specific settings, but you can modify it, if necessary.
    • Authorization Behavior: if the Delay option is selected in the Capture Method field, select the method by which the authorized payment amount will be captured. Authorized payments can either be manually captured by a user or automatically captured by the system when the sales order is invoiced. The value in this field will default from any customer or platform-specific settings, but you can modify it, if necessary. It is not possible to specify authorization behavior if the payment’s capture method is immediate. For more information on payment authorizations, see here.
    • Reauthorization Behavior: if the Delay option is selected in the Capture Method field, select the method by which necessary payment reauthorizations are created when a partial capture is recorded. Payment reauthorizations can either be manually created by a user or automatically created by the system as the time of the initial payment capture. The value in this field will default from any customer or platform specific settings, but you can modify it, if necessary. It is not possible to specify reauthorization behavior if the payment’s capture method is immediate. In addition, if you are entering values in the credit card information fields and are not saving this information as a new customer payment method in your external platform, CPM will not permit you to automatically reauthorize payment amounts. For more information on payment reauthorizations, see here.
    • Save New Card: if you are manually entering values in the credit card information fields, you can select this check box if you want to save this payment method for the customer in your external payment platform
    • Credit card information fields: if you do not select the Use Saved Payment Method check box, you must enter the number, expiry date, and CVC number for the credit card that will be used to process the payment.
    • Choose the Submit button.

If the payment collection process was successful, CPM will record information in Business Central. For successful ACH payments, a new payment entry for the specified amount will be created in the customer’s ledger. For successful credit card payments, the manner in which the payment is recorded depends on the whether the transaction was a payment capture or a payment authorization.

Next: Accepting Customer Level Payments

Or CPM Payment Requests 

Additional Information: 

CPM Payment Capture

CPM Authorization/Reauthorization

Refunding Captured Payments