diff --git a/src/org/openbravo/retail/posterminal/PaidReceipts.java b/src/org/openbravo/retail/posterminal/PaidReceipts.java
index 3b8070d83..447bfe674 100644
--- a/src/org/openbravo/retail/posterminal/PaidReceipts.java
+++ b/src/org/openbravo/retail/posterminal/PaidReceipts.java
@@ -51,6 +51,7 @@ import org.openbravo.model.common.enterprise.Organization;
 import org.openbravo.model.common.enterprise.OrganizationInformation;
 import org.openbravo.model.common.invoice.Invoice;
 import org.openbravo.model.common.order.OrderLineOffer;
+import org.openbravo.model.pricing.pricelist.PriceListVersion;
 import org.openbravo.service.json.JsonConstants;
 
 public class PaidReceipts extends JSONProcessSimple {
@@ -147,9 +148,14 @@ public class PaidReceipts extends JSONProcessSimple {
       // Get PriceListVersion from Order PriceList
       String priceListVersionId = null;
       if (order != null) {
-        priceListVersionId = POSUtils
-            .getPriceListVersionForPriceList(order.getPriceList().getId(), order.getOrderDate())
-            .getId();
+        PriceListVersion plv = POSUtils
+            .getPriceListVersionForPriceList(order.getPriceList().getId(), order.getOrderDate());
+        if (plv != null) {
+          priceListVersionId = plv.getId();
+        } else {
+          throw new OBException("No pricelist version found for price list "
+              + order.getPriceList().getId() + " at order date : " + order.getOrderDate());
+        }
       }
 
       // get the orderId
