LogoLogo
Partner Integrations
Salesforce Lightning B2B Commerce App 1.3
Salesforce Lightning B2B Commerce App 1.3
  • Salesforce Lightning B2B Commerce App 1.3
  • Introduction
    • How it works
    • What's new in version 1.3
  • Upgrading to version 1.3
  • Integrate the Salesforce Lightning app
    • Step 1: Install the Digital River app
    • Step 2: Configure the Digital River app
    • Step 3: Register external services
    • Step 4: Configure DCM logs
    • Step 5: Add custom fields to the page layouts
    • Step 6: Enable email deliverability
    • Step 7: Import ECCN codes, tax groups, and tax types
    • Step 8: Configure and synchronize the products
    • Step 9: Schedule backend jobs
    • Step 10: Set up integration between Salesforce and Digital River
    • Step 11: Set up webhooks
    • Step 12: Configure landed cost
    • Step 13: Manage permission sets
    • Step 14: Configure shipping integration
    • Step 15: Integrating refunds
    • Step 16: Configure the From email address
    • Step 17 (alternative): Integrate the Digital River components into an asynchronous checkout flow
      • Custom components used in the checkout subflows
      • Subflow configuration
        • Configure the delivery method subflow
        • Configure the Checkout Summary subflow
        • Configure the Payment and Billing Address subflow
          • Edit the Payment Method screen
          • Edit the decision elements
          • Link screen components
        • Configure the shipping address subflow
          • Configure the shipping address screen
      • Configure the main checkout flow
    • Step 18 (alternative): Integrate the Digital River components into a synchronous checkout flow
      • Deploy flows using Salesforce Workbench
      • Update the flow nodes in the synchronous checkout flow
        • Create custom variables
        • Delete nodes
        • Connect nodes
        • Modify nodes
        • Add nodes
      • Configure screens for a customized synchronous flow
        • Add custom components to screens in the synchronous checkout flow
        • Configure the Shipping Options screen
        • Configure the Delivery Method Screen
        • Configure the Checkout Summary screen
        • Configure the Payment And Billing Address screen
        • Configure the Place Order Confirmation screen
    • Step 19: Add custom components to pages
      • Drag and drop (custom) components
    • Step 20: Test the Salesforce Lightning app integration
  • Extend the Salesforce Lightning app
    • Extend the Ship From address
    • Extend the webhook framework
    • Configure subscriptions
    • Shipping choice extension point
    • Customer credit
      • addCustomerCreditSourceToCheckout
      • deattachPaymentToCheckout
      • getAmountRemainingforCheckout
      • getCartDetailsById
      • Publishing connector events
    • Tax calculation
    • Overriding Digital River CSS
    • Customizing the Lightning web components
      • Designer attributes
      • Components
        • Buyer info component
        • Tax certificate component
        • DR util component
        • DR Terms component
        • Checkout summary component
        • Hide checkout summary component
        • Order Summary component
        • Place order component
        • Payments component
        • Payment details component
        • Tax identifier component
        • DR compliance component
        • Address details component
  • User guide
    • Regulatory fees
    • Tax certificates
    • Tax identifiers
    • My wallet
    • Customer credit
    • Checkout and order creation
    • Fulfillment/cancellation flow
    • Refunds
    • Invoices and credit memos
  • Support
  • Appendix
    • Custom fields and objects
    • Contact point address
    • Multi-currency support
Powered by GitBook
On this page

Prerequisites

  • An order is placed on a site/location that will generate an invoice.

  • PDF invoices are created for all sales made by Digital River Ireland, Ltd.

  • PDF invoices are created for all sales made by Digital River, Inc. (except where they are specifically suppressed by the client).

  • PDF invoices are created for all sales made by Digital River Global Tech, Inc. (except where they are specifically suppressed by the client).

  • Electronic invoices called a Nota Fiscal Eletrônica are created for all sales made by Digital River Brazil.

  • Electronic invoices called Electronic Government Uniform Invoices (eGUI) are created for all sales made by Digital River Taiwan.

  • A paper invoice called a Fapiao is created upon request for sales made by Digital River China.

  • A paper invoice is created upon request for sales made by Digital River Korea.

  • Digital River does not currently generate invoices for sales made by Digital River Japan.

Invoice and credit memo flow

The Digital River Invoice and Credit Memo file information will be captured in the custom object DR Invoice And Credit Memo. When an order.invoice.created event is generated for an order, the Salesforce Lightning app consumes this webhook event and stamps the Invoice File Id on the custom File ID field and Invoice on the custom File Type field available on custom DR Invoice and Credit Memo object for the order in question.

Similarly, when an order.credit_memo.created event is generated for an order, the app consumes this webhook event and stamps the Credit Memo File Id on the custom File ID field and Credit Memo on the custom File Type field available on the custom DR Invoice and Credit Memo object for the order in question.

Download the invoice or credit memo file

To download the Invoice and/or Credit Memo for an Order, the customer must follow the steps below:

  1. Log in to the storefront. The customer can view their orders by going to My Account and then selecting My Orders.

  2. Go to the Order Detail/Order Summary page to open the order for which you need to download the Invoice/Credit Memo.

  3. Click the View Invoice/Credit Memo link to download the Invoice/Credit Memo file.

The Invoice and/or Credit Memo links are available only on orders for which the Invoice File ID and/or Credit Memo File ID are generated and stamped on the DR Invoice and Credit Memo object.

Last updated 2 years ago

  1. User guide

Invoices and credit memos

Learn more about invoices and credit memos.

PreviousRefundsNextSupport
  • Prerequisites
  • Invoice and credit memo flow
  • Download the invoice or credit memo file