Help

Payments and sales from KeyCRM in Bimp

Updated 6 min read

On this page
In short

The KeyCRM integration creates a "Customer payment" in Bimp for KeyCRM order payments and a "Sale of goods and services" when the order reaches the selected status. The settings are on the "Payment" and "Sales" tabs of the integration window: payment types are mapped to Bimp cash desks and accounts, the document date is chosen, and batch filling is turned on for batch accounting.

What the integration creates on the “Payment” and “Sales” tabs

The “Payment” tab creates a “Customer payment” document in Bimp for each KeyCRM order payment. The “Sales” tab creates a “Sale of goods and services”, that is, writes the products off the warehouse when the KeyCRM order gets the selected status. Both documents are linked to the customer order the integration created earlier.

Connecting the integration and the “Orders” tab are described in the article Setting up the KeyCRM integration. To open the tabs: Sales → Orders → Integration connections, then Settings on the KeyCRM card.

How to set up payments

The KeyCRM integration "Payment" tab: "Allow loading payments" on; the "Document creation date" switch with "Payment creation date by update date" and "Payment creation date at the source", the "KeyCRM status for archiving a payment" field and the "Account for payment service fees in expenses" switch are framed; a separate frame marks the "Payment types in KeyCRM" — "Bimp account/card/cash desk" table with the row Cash — Main cash desk

  1. Turn on “Allow loading payments”.
  2. If needed, turn on “Reload documents”: payment changes in KeyCRM overwrite the document in Bimp together with manual changes.
  3. In “Document creation date”, choose “Payment creation date by update date” (when the status changed in KeyCRM) or “Payment creation date at the source” (the actual payment date).
  4. In “KeyCRM status for archiving a payment”, choose the status (for example, refusal or cancellation) at which the payment is archived in Bimp.
  5. In the “Payment types” table, add a row with the Payment type button for each KeyCRM payment method (for example, Cash, Credit card, Bank transfer) and choose the Bimp account, card or cash desk that receives the money.
  6. Save the integration.

If a payment was canceled in KeyCRM and a new one was created, the original payment in Bimp is canceled and the new one is loaded from KeyCRM.

How to account for payment service fees

The “Account for payment service fees in expenses” switch transfers the fee from the “Expenses” block of the KeyCRM order (Nova Pay, LiqPay, marketplaces and so on) to the “Customer payment”. The customer’s debt is closed for the full amount they paid. The account receives the amount minus the fee, and the fee goes to the “Expenses” report under the “Fee not paid by the customer” item.

The "Payment" tab with "Account for payment service fees in expenses" on: the switch, the "KeyCRM expense types to treat as a fee" field set to "Not defined" and the hint "Select at least one expense type, otherwise the fee will not be transferred" are framed

  1. Turn the switch on.
  2. In “KeyCRM expense types to treat as a fee”, choose one or more expense types.
  3. Save the integration.

If the switch is off, the fee from KeyCRM is not transferred: the payment is created for the KeyCRM amount, and you enter the fee manually if needed.

How to set up sales

The KeyCRM integration "Sales" tab: "Allow loading sales" and "Reload documents" on; the "Status for creating a sale" field — Shipped, the "Fill in batches when selling products" switch and "Document creation date" with "Order creation date", "Shipment date", "Order closing date" are framed

  1. Turn on “Allow loading sales”.
  2. If needed, turn on “Reload documents”.
  3. In “Status for creating a sale”, choose the KeyCRM status at which a sale is created in Bimp, for example “Shipped”.
  4. If you keep batch accounting, turn on “Fill in batches when selling products”.
  5. Choose “Document creation date”: “Order creation date”, “Shipment date” (the “Shipping date” field in KeyCRM) or “Order closing date” (transition to the final status).
  6. Save the integration.

With “Shipment date”, Bimp compares the shipping date with the order date. If they are the same, the sale time equals the order time plus 10 seconds; if different, it is 00:00:00 of the shipping date. About the document itself: Shipment.

Common errors

The payment has the wrong date

“Payment creation date by update date” is selected: the payment gets the date and time when the manager changed the status in KeyCRM, not when the customer paid. To see the actual payment date, choose “Payment creation date at the source”.

The payment was not created

“Allow loading payments” is off, the KeyCRM payment method is not mapped to a cash desk or account in the “Payment types” table, or Bimp did not find the order (for example, the customer’s name was changed and customers are looked up by name). The reason is shown in the “Event log” on the integration card.

The fee was not transferred

“Account for payment service fees in expenses” is on, but no expense type is selected in “KeyCRM expense types to treat as a fee”.

The sale was not created

Check in turn:

  • at the moment of the status change the product was not in free stock or was reserved for another document;
  • the sale date falls into a closed period;
  • batch accounting is used, but “Fill in batches when selling products” is off;
  • the order status is not the one set in “Status for creating a sale”.
The sale was not created: “Not enough batches … not allocated”

Batch accounting is used, and the sale is dated earlier than the batches arrived at the warehouse. Bimp picks batches on the document date: if, for example, opening balances were entered on 22.10 at 19:24 and the sale is dated 22.10 00:00, there are “no” batches on that date. Check “Document creation date” on the “Sales” tab and the date the product arrived; a sale dated yesterday can also shift FIFO write-offs.

Why products with a zero price are not transferred (“Inventory price” error)

“Zero price control” is on in the accounting settings. Then Bimp does not save a customer order, sale or return that contains a product or service priced at 0, for example a gift, free delivery or a product with a 100% discount in KeyCRM. The document is not created, and an error appears in the integration’s “Event log”.

How to fix:

  • if zero prices are normal for you (gifts, promotions), turn off “Zero price control”;
  • if the zero price is a mistake, fill in the price in the KeyCRM order and change the order so that it is loaded again.
The sale is created “yesterday”

“Shipment date” is selected, and in KeyCRM the shipping date differs from the order date: then the sale time is 00:00:00 of the shipping date. Check the “Shipping date” field in KeyCRM or choose another document date.

FAQ

What date does a payment from KeyCRM get?

It depends on the "Document creation date" field on the "Payment" tab: the date the status was updated in KeyCRM or the actual payment date at the source.

How do I transfer the Nova Pay, LiqPay or marketplace fee to Bimp?

Turn on "Account for payment service fees in expenses" on the "Payment" tab and choose the KeyCRM expense types to treat as a fee. The account receives the amount minus the fee, and the fee goes to the "Expenses" report.

Why was the sale from KeyCRM not created?

Most often the product was not in free stock when the status changed, the period is closed, or "Fill in batches when selling products" is off under batch accounting.

Was this article helpful?

Read next

Didn't find the answer?Write to us — support replies during business hours.