Collecting e-invoice information
Learn how to use a low-code checkout to comply with e-invoicing requirements in Taiwan
By pairing one of Digital River's low-code checkout solutions with our e-invoicing service, you can make domestic sales in Taiwan that comply with that country's data collection requirements.
On this page, you'll find information on:
Defining ship from
If items[]
in your create checkout-session request contain physical products, there's a variety of ways to define shipFrom
. However, to collect carrier information from customers making the purchase as an individual, the value of shipFrom
must be TW
.
Determining customer type
To collect the appropriate information from customers, Digital River needs to know whether they're making the purchase as an individual or on behalf of an organization. If you know this information before initiating checkout, you can define customerType
in the create checkout-session request. Alternatively, you can configure the checkout-session so that Digital River collects this information.
Invoice collection in Prebuilt Checkout
Prebuilt Checkout determines whether it's a business-to-customer or business-to-business transaction and then collects the appropriate information.
B2C
If customerType
is individual
and customers use Prebuilt Checkout's drop-down menu to select Taiwan as their shipping or billing country (or you pass a shoppingCountry
of TW
in the create checkout-session request), Digital River collects and validates the customer's carrier information.
B2B
If customerType
is business
and customers use the Prebuilt Checkout's drop-down menu to select Taiwan as their shipping or billing country (or you pass a shoppingCountry
of TW
in the create checkout-session request), Digital River collects and validates the customer's tax identification number.
How to collect e-invoicing information in Components
In Component checkouts, you'll need to use the data sent by callback functions to determine what information to collect from customers.
If showTaxIdentifiers
is true
in onReady
or requiredTaxIdentifiers[]
exists in onChange
, then the customer is making the purchase on behalf of a business entity. As a result, you'll need to display the tax identifier component.
If showInvoiceAttribute
exists in onChange
and its value is true
, then the customer is making the purchase an individual. As a result, you'll need to display the invoice component.
In both cases, when customers attempt to advance to the checkout's next stage by clicking your forward navigation control, call the applicable component's done()
function and then check the value it returns to determine whether the input is valid and the process can advance.
For details, refer to:
Last updated