LogoLogo
System Status
  • Digital River API
  • Getting started
  • Using our services
    • Local pricing
    • Item classification
    • Subscriptions
    • e-Invoicing
  • Integration options
    • Low-code checkouts
      • Implementing a Prebuilt Checkout
      • Implementing a Components checkout
      • Offering local pricing
      • Using a shipping endpoint
      • Processing subscription acquisitions
      • Adding custom fields
      • Offering store credit
      • Displaying policies and getting consent
      • Collecting e-invoice information
      • Handling completed checkout-sessions
    • Direct integrations
      • Standard flow
      • Building checkouts
        • Checking out guest and registered customers
        • Describing line items
          • Setting the price of an item
          • Managing items with shared SKU identifiers
        • Providing address information
        • Handling shipping choice
        • Tax identifiers
        • Applying a discount
        • Setting the customer type
        • Providing the IP address
        • Selecting a currency
        • Initiating a charge
        • Setting the purchase location
        • Configuring taxes
        • Accessing regulatory fee information
        • Localizing invoices and credit memos
        • Providing an upstream identifier
        • Applying store credit
        • Handling e-invoicing requirements
        • Landed cost
        • Tax calculation inputs
        • Selling entities
        • Payment sessions
        • Applying store credit (legacy)
        • Country specs
      • Building payment workflows
        • Handling redirect payment methods
        • Handling delayed payment methods
      • Subscription acquisitions
        • Handling subscription acquisitions
        • Handling external subscription acquisitions
        • Subscription information
      • Digital River coordinated fulfillments
        • Checking inventory levels
        • Using shipping quotes
        • Reserving inventory items
        • Managing a fulfillment order
        • Cancelling a fulfillment order
    • Connectors
  • Order management
    • Processing orders
    • Handling a rejected order
    • Accessing invoices and credit memos
    • Fulfilling goods and services
    • Capturing and cancelling charges
    • Payment reauthorizations
    • Handling reversals
      • Return basics
        • Digital River coordinated returns
        • Third party coordinated returns
      • Refund basics
        • Issuing refunds
        • Refunding asynchronous payment methods
      • Disputes and chargebacks
    • Customer notifications
    • Responding to events
      • Events
        • Key event types
        • All event types
      • Webhooks
        • Creating a webhook
        • Digital River API safelist
        • Digital River signature
      • Expanding events
      • Preventing webhooks from getting disabled
    • Distributor model
  • Subscription Management
    • Managing a subscription
    • Managing an external subscription
  • Payments
    • Payment solutions
      • Drop-in payments
        • How Drop-in payments work
        • Drop-in payments integration guide
      • DigitalRiver.js with Elements
        • Elements integration guide
        • Configuring payment methods
          • Configuring Afterpay
          • Configuring Alipay+ (cross-border)
          • Configuring Alipay (domestic)
          • Configuring Amazon Pay
          • Configuring Apple Pay
          • Configuring Bancontact
          • Configuring BNP Paribas
          • Configuring BLIK
          • Configuring CCAvenue
          • Configuring Clearpay
          • Configuring Credit Cards
          • Configuring FPX Online Banking
          • Configuring Google Pay
          • Configuring iDEAL
          • Configuring Klarna
          • Configuring Konbini
          • Configuring Online Banking (IBP)
          • Configuring Online Banking (Korea Bank Transfer)
          • Configuring PayCo
          • Configuring PayPal
          • Configuring SEPA Direct Debit
          • Configuring Trustly
          • Configuring Wire Transfer
          • Common payment sources
          • Common payment objects
    • Supported payment methods
      • Afterpay
      • Alipay (domestic)
      • Alipay+ (cross-border)
      • Amazon Pay
      • Apple Pay
      • Bancontact
      • BNP Paribas
      • BLIK
      • CCAvenue
      • Clearpay
      • Credit Cards
      • FPX Online Banking
      • Google Pay
      • iDEAL
      • Klarna
      • Konbini
      • Korea Bank Transfer (Online Banking)
      • Online Banking (IBP)
      • Pay with Installments France
      • PayCo
      • PayPal
      • PayPal Billing Agreement
      • PayPal Credit
      • PayPal Pay in 3
      • PayPal Pay in 4
      • PayPal RatenZahlung (Installment Payment)
      • SEPA Direct Debit
      • Trustly
      • Wire Transfer
    • Source basics
      • Managing sources
      • Handling credit card sources
      • Retrieving sources
    • Authorization declines
    • PSD2 and SCA
      • How to ensure SCA compliance
    • Payment testing scenarios
  • Product management
    • Product basics
    • Managing SKUs
    • Using product details
    • Grouping SKUs
    • SKU-inventory item pairs
    • Managing inventory items
    • Regulatory fees
      • What are regulatory fees?
        • Fees terminology
        • Regulatory fee management
        • European regulatory fees
        • Compliance obligations
        • WEEE directive requirements
        • Copyright directive requirements
        • Compliance challenges
      • Managing regulatory fees
  • Customer management
    • Customer basics
    • Creating and updating customers
    • Setting up tax exemptions
    • Recording a customer's request to be forgotten
  • Financial reporting
    • Financials basics
    • Sales transactions
      • Returning a list of sales transactions
      • Getting a sales transaction by ID
    • Sales summaries
      • Returning a list of sales summaries
      • Getting a sales summary by ID
    • Payouts
      • Returning a list of payouts
      • Getting a payout by ID
      • Get a list of transactions included in payout by ID
  • Developer resources
    • Digital River API reference
    • DigitalRiver.js reference
      • Including DigitalRiver.js
      • Initializing DigitalRiver.js
      • DigitalRiver object
      • Elements
        • Amazon Pay element
        • Apple Pay elements
        • Google Pay elements
        • IBAN element
        • iDEAL element
        • Konbini elements
        • Compliance element
        • Offline Refund elements
        • Online Banking elements
        • Tax Identifier element
        • Invoice attribute element
        • Delayed Payment Instructions element
        • PayPal elements
      • Guidelines for capturing payment details
      • Security
      • Digital River payment objects
      • Error types, codes, and objects
    • DigitalRiverCheckout.js reference
      • Including DigitalRiverCheckout.js
      • Initializing DigitalRiverCheckout.js
        • DigitalRiverCheckout configuration object
      • DigitalRiverCheckout object
        • Configuring Prebuilt Checkout
          • Performing actions
          • Defining experience
        • Components
          • Configuring components
          • Address component
          • Shipping component
          • Tax identifier component
          • Invoice component
          • Wallet component
          • Payment component
          • Compliance component
          • Order summary component
          • Thank you component
        • Rendering a checkout button
          • Performing actions on the checkout button
        • Determining the checkout's status
      • Accessing country and currency
    • DynamicPricing.js reference
    • Postman collection
  • administration
    • Sign in
    • Digital River Dashboard
      • Digital River Dashboard quick start guide
      • Key features
      • Reset your password
      • Test and production environments
      • Account
        • Adding an account
        • Switching accounts
        • Account access
      • Profile settings
        • Viewing your personal information
        • Changing your password
        • Updating your phone number
        • Enabling multi-factor authentication
      • Finance
        • Payouts
          • Viewing your payout details
          • Filtering your payouts
          • Exporting your payouts
        • Sales summaries
          • Viewing your sales summaries details
          • Filtering your sales summaries
          • Exporting your sales summaries
          • Exporting your sales summary details
        • Transactions
          • Viewing your transaction details
          • Filtering your transactions
          • Exporting your transactions
      • Order management
        • Orders
          • Searching for orders
          • Filtering your orders
          • Viewing the order details
          • Cancelling items
          • Fulfilling items
          • Downloading an invoice
          • Downloading a credit memo
          • Creating shipping labels
          • Recording a customer's request to be forgotten
          • Viewing returns and refunds
          • Creating a return
          • Accepting a return
          • Creating a refund
          • Viewing the order's timeline
        • Checkouts
          • Searching for checkouts
          • Filtering your checkouts
          • Viewing the checkout details
        • Prebuilt Checkout links
          • Generate Prebuilt Checkout links
          • View and work with Prebuilt Checkout link details
          • Add a customer during Prebuilt Checkout
          • Add a product during Prebuilt Checkout
      • Customers
        • Viewing customer details
        • Searching for customers
        • Filtering your customers
        • Editing account information
        • Adding a customer
        • Tax IDs and certificates
          • Adding a tax certificate
          • Adding a tax ID
          • Deleting a tax ID
        • Metadata
          • Adding metadata
          • Editing metadata
        • Manage subscriptions from the Customer Details page
        • Disabling a customer
        • Recording a customer's request to be forgotten
        • Deleting a customer
      • Catalog
        • SKUs
          • Viewing the SKU details
          • Searching for SKUs
          • Filtering your SKUs
          • Adding a SKU
          • Editing a SKU
          • Deleting a SKU
          • Adding a fee to a SKU
          • Editing a fee
          • Deleting a fee
          • Viewing product tariff codes
        • Managing customer subscriptions from Digital River Dashboard
      • Developers
        • API keys
          • Updating your API version
          • Getting your API keys
          • Changing the API version for your key
          • Creating a restricted key
          • Editing a restricted key
          • Deleting a restricted key
          • Rotating keys
        • Webhooks
          • Creating a webhook
          • Editing a webhook
          • Deleting a webhook
          • Rotating a webhook's secret
        • API logs
          • Filtering the API log
          • Viewing the API log details
        • Event logs
          • Filtering the events log
          • Viewing the event details
      • Settings
        • Users and roles
          • Roles
          • Searching for a user by name or email
          • Filtering your users and roles
          • Adding a user
          • Editing a user
          • Deleting a user
        • Prebuilt Checkout
        • Payment methods
          • Viewing your payment methods
          • Viewing payment method details
            • Enabling currencies
            • Managing countries
          • Enabling or disabling a payment method
  • General Resources
    • eCompass
    • eCompass documentation
    • Release notes
      • 2024
      • 2023
      • 2022
      • 2021
      • 2020
      • 2019
    • Standards and certifications
      • Certification process
      • Compliance requirements
      • Documentation requirements
      • Integration checklists
        • Admin portal
        • Products and SKUs
        • Customers and tax exemptions
        • Checkouts, payment sources, and orders
        • Disclosures, compliance statements, and emails
        • Fulfillments and cancellations
        • Customer portal
        • Order refund synchronization
        • Reversals
        • Error handling
      • Test and use cases
    • Commerce infrastructure
    • Versioning
    • Glossary
Powered by GitBook
On this page
  • What is landed cost?
  • Landed cost payment options
  • Delivered duty paid (DDP)
  • Delivered at place (DAP)
  • Digital River’s landed cost feature
  • Setting up the landed cost feature
  • Triggering the landed cost feature
  • How landed cost is calculated
  • How landed cost is represented in checkouts
  • Checkout level attributes
  • Line item level attributes
  • European Union cross-border threshold
  • Less than or equal to the threshold
  • Greater than the threshold
  1. Integration options
  2. Direct integrations
  3. Building checkouts

Landed cost

Understand landed cost and learn how to use Digital River's landed cost feature

PreviousHandling e-invoicing requirementsNextTax calculation inputs

Last updated 2 months ago

allows you to present customers with a transaction's during checkout.

Once you , it's triggered when the are met. After the feature is activated, Digital River's , which we return to the so you can display it to customers.

What is landed cost?

Landed cost represents the total amount your customer must pay to purchase a product from one country and have it shipped to another country. Landed cost consists of:

  • The value of goods in a customer's cart

  • Shipping costs

  • Import duties

  • Taxes

Landed cost payment options

Customers have two options to pay a transaction's full :

For more information, refer to the section on the page.

Delivered duty paid (DDP)

Delivered Duty Paid (DDP) is a shipping agreement where the seller assumes responsibility for all costs and risks associated with transporting goods until they reach the buyer's location. This includes paying for shipping, import duties, taxes, and any other fees. Under DDP, customers pay the full landed cost during checkout, ensuring no additional charges upon delivery.

Delivered at place (DAP)

Digital River’s landed cost feature

Setting up the landed cost feature

Prior to using this feature, you need to complete the following steps:

Step one: Verify your fulfiller ships products outside of their country (not all fulfillers provide this service).

Step two: Determine whether your shipper is willing and able to prepay landed costs on behalf of the customer and invoice you for these costs.

Step four: Provide samples of completed customs forms, such as commercial invoices, to Digital River's compliance team for approval.

Step five: Sign an addendum in your Digital River contract to enable the landed cost feature (unless already specified in the order form).

For more information, refer to:

In this step, we recommend selecting option two or three. These options allow you to:

  • Simplify the process of assigning and managing your products' HS codes.

Triggering the landed cost feature

How landed cost is calculated

Calculation failures

If a customer attempts to ship a product to an embargoed country, then the checkout fails:

{
    "type": "conflict",
    "errors": [
        {
            "code": "country_unsupported",
            "parameter": "country",
            "message": "Country 'KP' is not supported."
        }
    ]
}

How landed cost is represented in checkouts

In versions 2020-09-30 and earlier, landed cost is represented by totalDuty and importerOfRecordTax.

Checkout level attributes

Line item level attributes

Importer tax amount

The importerTax.amount indicates the amount of taxes that the importer of record pays on all the products in this line item.

Duties amount

The duties.amount indicates the amount of duty levied by an importing country on all the products in this line item.

Tariff code

European Union cross-border threshold

In the European Union, a de minimis threshold, currently set at 150 EUR, determines whether (1) duties are collected on imported goods and (2) the buyer or seller is responsible for remittances.

Less than or equal to the threshold

If it’s less than or equal to the 150 EUR threshold, then:

  • totalDuty is 0, because duties aren’t collected on what the EU considers to be low-value imports.

  • totalTax contains the amount that this selling entity must remit, which is added to the totalAmount that the buyer pays.

curl --location 'https://api.digitalriver.com/checkouts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <Your secret API key>' \
....
--data-raw '{
    "currency": "EUR",
    ...
    "taxInclusive": false,
    "shipTo": {
        ...
        "address": {
            "line1": "Deinsesteenweg 108B",
            "city": "Drongen",
            "postalCode": "9031",
            "state": "Oost-Vlaanderen",
            "country": "BE"
        }
    },
    "shipFrom": {
        "address": {
            "line1": "5215 4th Ave S",
            "city": "Minneapolis",
            "postalCode": "55104",
            "state": "MN",
            "country": "US"
        }
    },
    "items": [
        {
            "skuId": "sku_7d8c3133-342a-4c8e-90b2-ac541fcccd13",
            "price": 75,
            "quantity": 1
        },
        {
            "skuId": "sku_00af8f73-4aa6-4b08-b904-78b42869da73",
            "price": 75,
            "quantity": 1
        }
    ]
}'
{
    "id": "b83bb92f-f5b5-40d0-9d6d-59a9968d5d83",
    ...
    "currency": "EUR",
    ...
    "shipTo": {
        "address": {
            "line1": "Deinsesteenweg 108B",
            "city": "Drongen",
            "postalCode": "9031",
            "state": "Oost-Vlaanderen",
            "country": "BE"
        },
        ...
    },
    "shipFrom": {
        "address": {
            "line1": "5215 4th Ave S",
            "city": "Minneapolis",
            "postalCode": "55104",
            "state": "MN",
            "country": "US"
        }
    },
    "totalAmount": 181.5,
    "subtotal": 150.0,
    ...
    "totalTax": 31.5,
    "totalImporterTax": 0.0,
    "totalDuty": 0.0,
    ...
    "items": [
        {
            "id": "21a44c0f-a50b-43bf-91a6-ebb8d63fbe03",
            "skuId": "sku_7d8c3133-342a-4c8e-90b2-ac541fcccd13",
            ...
            "amount": 75.0,
            "quantity": 1,
            "tax": {
                "rate": 0.21,
                "amount": 15.75
            },
            "importerTax": {},
            "duties": {},
            ...
            "sellerTaxIdentifier": "IM3720000202",
            ...
        },
        {
            "id": "0d99a3a7-2601-4980-8fa9-af5cf1d9f3e0",
            "skuId": "sku_00af8f73-4aa6-4b08-b904-78b42869da73",
            ...
            "amount": 75.0,
            "quantity": 1,
            "tax": {
                "rate": 0.21,
                "amount": 15.75
            },
            "importerTax": {},
            "duties": {},
            ...
            "sellerTaxIdentifier": "IM3720000202",
            ...
        }
    ],
    ...
    "sellingEntity": {
        "id": "DR_IRELAND-ENTITY",
        "name": "Digital River Ireland Ltd."
    },
    ...
}

Greater than the threshold

If the aggregated value of the imported goods is greater than the 150 EUR threshold, then:

  • Buyers are responsible for the remittance of tax and duty.

curl --location 'https://api.digitalriver.com/checkouts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <Your secret API key>' \
....
--data-raw '{
    "currency": "EUR",
    ...
    "taxInclusive": false,
    "shipTo": {
        ...
        "address": {
            "line1": "Deinsesteenweg 108B",
            "city": "Drongen",
            "postalCode": "9031",
            "state": "Oost-Vlaanderen",
            "country": "BE"
        }
    },
    "shipFrom": {
        "address": {
            "line1": "5215 4th Ave S",
            "city": "Minneapolis",
            "postalCode": "55104",
            "state": "MN",
            "country": "US"
        }
    },
    "items": [
        {
            "skuId": "sku_7d8c3133-342a-4c8e-90b2-ac541fcccd13",
            "price": 75,
            "quantity": 1
        },
        {
            "skuId": "sku_00af8f73-4aa6-4b08-b904-78b42869da73",
            "price": 76,
            "quantity": 1
        }
    ]
}'
{
    "id": "8365ecbc-0e28-4ba4-bcc7-75ae8c6a93f4",
    ...
    "currency": "EUR",
    ...
    "shipTo": {
        "address": {
            "line1": "Deinsesteenweg 108B",
            "city": "Drongen",
            "postalCode": "9031",
            "state": "Oost-Vlaanderen",
            "country": "BE"
        },
        ...
    },
    "shipFrom": {
        "address": {
            "line1": "5215 4th Ave S",
            "city": "Minneapolis",
            "postalCode": "55104",
            "state": "MN",
            "country": "US"
        }
    },
    "totalAmount": 213.77,
    "subtotal": 213.77,
    ...
    "totalTax": 0.0,
    "totalImporterTax": 37.1,
    "importerOfRecordTax": true,
    "totalDuty": 25.67,
    ...
    "items": [
        {
            "id": "b8408be2-9abf-42dd-b4ff-1e36e1d776a4",
            "skuId": "sku_7d8c3133-342a-4c8e-90b2-ac541fcccd13",
            ...
            "amount": 75.0,
            "quantity": 1,
            "tax": {
                "rate": 0.38,
                "amount": 0.0
            },
            "importerTax": {
                "amount": 18.43
            },
            "duties": {
                "amount": 12.75
            },
            ...
        },
        {
            "id": "8b6c522a-2751-44bb-af07-a68147746b72",
            "skuId": "sku_00af8f73-4aa6-4b08-b904-78b42869da73",
            ...
            "amount": 76.0,
            "quantity": 1,
            "tax": {
                "rate": 0.38,
                "amount": 0.0
            },
            "importerTax": {
                "amount": 18.67
            },
            "duties": {
                "amount": 12.92
            },
            ...
        }
    ],
    ...
    "sellingEntity": {
        "id": "DR_IRELAND-ENTITY",
        "name": "Digital River Ireland Ltd."
    },
    ...
}

In this option, customers do not pay the full during . Instead, they pay product and shipping costs during checkouts, and then, upon an order's delivery, they're responsible for paying duties, fees, and import taxes.

Digital River offers a feature that helps provide your customers with an estimated total cost of their order, including all applicable duties, fees, and import taxes. This estimate helps customers better understand the full cost of their purchase upfront. However, if the actual import costs assessed by the destination country's customs agency exceed the estimate, your company is responsible for covering the difference. The feature streamlines the process, as the fulfillment logistics provider coordinates with the shipper to handle customs documentation and pay the necessary duties, fees, and import taxes on behalf of the customer, billing the seller afterward.

The feature is available to anyone who integrates with the Digital River APIs. It's not dependent on the version you're using, how you , or who acts as your .

Step three: Define your patterns (in other words, where your products ship from and where they ship to).

The ship-to countries must be supported by Digital River and cannot include embargoed nations. For more information, refer to our .

Step six: Associate a with each of your . To do this, you can (1) set on the (2) associate a with the or (3) reference a in .

on the page

The page

Use country-specific HS tariff codes tailored to each transaction, which improves the accuracy of the .

Once you perform the , the landed cost is calculated during . To successfully at run-time, the following preconditions must exist:

The contains

The checkout's are associated with a .

The checkout's flag must be false.

The checkout contains a and its value is inclusive of any

The checkout's must be .

The checkout's is on the approved list

The checkout's and shipTo.address.country are specified, and the values are different. Since shipments between EU countries are exempt from duties, a checkout's ship from country and ship to country can't both be EU nations.

To calculate in , Digital River sends an API request to a third-party service. Based on the data provided in the request, this service calculates taxes, duties, fees, and import taxes.

We use the values returned by this service to build a totalAmount. When you , this is what the customer is ultimately charged

Additionally, on rare occasions, the third-party landed cost service may be unavailable or unable to generate a calculation. In these cases, no are returned in the .

In , we provide you with an itemized breakdown of taxes, duties, fees, and import taxes. Since your customers ultimately pay these costs, you should display them during .

Numerous attributes at and the contain the . You can use this data to determine import duties and distinguish between taxes Digital River remits and those the shipper remits.

A totalAmount is ultimately what the customer is charged when you .

The totalAmount however may not represent the of a transaction. That depends on how you configure a checkout's .

If a , then importerOfRecordTax returns true. In these cases, totalImporterTax indicates the tax amount that the importer of record remits to the government and totalDuty are duties levied on the products by the importing country.

Sometimes products in a transaction don't incur any duties. As a result, in , totalDuty is not always greater than zero.

A totalTax represents taxes that Digital River remits to the government. Its value does not include totalImporterTax. Those taxes are remitted to the government by your shipper.

This means that a subtotal includes totalImporterTax but doesn't include totalTax.

In , each element in contains three landed cost-related attributes:

A tariffCode represents a product's country-specific . This value is only returned if you're using .

Landed cost calculations are based on this tariffCodeConsequently, it's often useful for troubleshooting purposes. For example, if duties presented to the customer during checkouts are later determined inaccurate, you can verify whether the correct code was applied to the product.

In where goods are being shipped into the EU, Digital River’s tax service determines whether the aggregated, intrinsic price of its items[], excluding shippingChoice.amount, is (A) or (B) this threshold.

Digital River Ireland Ltd., the assigned to the transaction, is responsible for the remittance of value-added tax.

Each items[] is assigned a sellerTaxIdentifier, which represents Digital River’s registration number. After the is converted to an , this value should be added to the to ensure that buyers aren’t assessed taxes again by customs (i.e., double-charged).

Assuming your account has the enabled and you don’t set the shippingChoice.shippingTerms to DAP, the amount that the buyer must remit is assigned to totalImporterTax and totalDuty.

totalImporterTax and totalDuty are added to totalAmount, which means Digital River Ireland Ltd., the assigned to the transaction is collecting these costs in advance, on behalf of the buyer, and then remitting them later.

Country Guide
Grouping SKUs
taxInclusive
Harmonized System code
SKU groups
sellingEntity.name
sellingEntity.name
checkout
landed cost
landed cost
landed cost calculation
checkout
pre-deployment configurations
receive a landed cost calculation
landed cost
applicable checkouts
checkout
checkouts that trigger the landed cost feature
checkout
line item levels
full landed cost
checkout triggers the landed cost feature
items[]
checkouts that trigger the landed cost feature
Handling shipping choice
Digital River's landed cost feature
landed cost
set up the landed cost feature
necessary preconditions
landed cost service generates a calculation
checkouts
landed cost
fulfillment coordinator
landed cost
Harmonized System (HS) code
productDetails
Harmonized System code
applied discounts
Import One-Stop Shop
commercial invoice
landed cost values
full landed cost
checkouts that trigger the landed cost feature
less than or equal to
greater than
landed cost feature
physical products
physical products
physical products
physical
hsCode
SKU
SKU group
SKU
SKU group
checkout
checkout
checkout's
checkout's
checkout
order
checkout’s
checkout's
checkout's
checkouts
convert a checkout to an order
convert a checkout to an order
send product data in checkouts
Sending product data in checkouts
Describing line items
shipTo.address.country
shipFrom.address.country
cross-border
cross-border
cross-border
cross-border
shipping terms
shippingChoice.amount
shippingChoice.shippingTerms
DDP
shippingChoice.shippingTerms