Skip to content

Commit 188d9ee

Browse files
committed
[ADD] Biteship as a delivery provider
1 parent 3def538 commit 188d9ee

File tree

11 files changed

+241
-0
lines changed

11 files changed

+241
-0
lines changed

content/applications/inventory_and_mrp/inventory/shipping_receiving/setup_configuration.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ delivery order. To add or change the delivery method on the delivery itself, go
7979
setup_configuration/fedex
8080
setup_configuration/sendcloud_shipping
8181
setup_configuration/starshipit_shipping
82+
setup_configuration/biteship_shipping
8283
setup_configuration/ups_credentials
8384
setup_configuration/zebra
8485
setup_configuration/cancel
Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
=================
2+
Biteship shipping
3+
=================
4+
5+
Biteship is a shipping service aggregator that facilitates the integration of Indonesian
6+
shipping carriers with Odoo. Once integrated, users can select shipping carriers on inventory
7+
operations in their Odoo database.
8+
9+
.. seealso::
10+
- :doc:`Automatically calculate shipping <../setup_configuration>`
11+
- :doc:`Integrate other third-party couriers <third_party_shipper>`
12+
13+
Setup in Biteship
14+
=================
15+
16+
Create an account and complete profile
17+
--------------------------------------
18+
19+
To get started, go to `Biteship's platform <https://dashboard.biteship.com/>`_ to configure the
20+
account and generate the connector credentials. Log in with the Biteship account, or create a new
21+
one if needed.
22+
23+
Profile configuration
24+
---------------------
25+
26+
After logging into your Biteship account, go to :menuselection:`Settings`. Complete your profile
27+
details in the :menuselection:`Profile` tab, then verify your account under the
28+
:menuselection:`Account Verification` tab.
29+
30+
.. image:: biteship_shipping/biteship-settings.png
31+
:alt: Complete profile in Biteship settings.
32+
33+
Payment method configuration
34+
----------------------------
35+
36+
To configure payment methods, open the :menuselection:`Balance` page.
37+
38+
There are two payment options available:
39+
40+
- **Prepaid - Top Up Bitepoints**: Add funds to your wallet for daily transactions by clicking
41+
the :guilabel:`Add Balance` button.
42+
- **Postpaid - Monthly Invoicing**: For monthly billing, click the
43+
:guilabel:`Request Monthly Invoice System` button to complete and sign the Monthly Payment
44+
Activation form. The following documents are required:
45+
46+
- Company Tax ID (NPWP)
47+
- Business License (SIUP) or Business Identification Number (NIB)
48+
- Company Deed
49+
50+
.. image:: biteship_shipping/biteship-balance.png
51+
:alt: See balance in Biteship.
52+
53+
.. _inventory/shipping_receiving/bite-api-key:
54+
55+
Biteship API Key
56+
----------------
57+
58+
In the Biteship account, navigate to :menuselection:`Integration`. Under :guilabel:`API Keys`, click
59+
:guilabel:`Settings`.
60+
61+
.. image:: biteship_shipping/biteship-integration.png
62+
:alt: API Key settings in Biteship.
63+
64+
The :guilabel:`API Keys` configuration page opens, which displays a list of created API keys and the
65+
API logs.
66+
67+
To create an API key, click :guilabel:`Add API Key`. A prompt appears to enter the name of the key.
68+
The API key is automatically generated and is shown only once. Make sure to copy and keep it
69+
safe.
70+
71+
.. image:: biteship_shipping/biteship-api-key.png
72+
:alt: Add API key in Biteship.
73+
74+
.. important::
75+
Save the API key and keep it safe, as it cannot be accessed after this stage.
76+
77+
.. note::
78+
The Order API is not active yet. An activation request must be submitted to activate it.
79+
80+
.. _inventory/shipping_receiving/bite-api-key-test:
81+
82+
Key for testing
83+
---------------
84+
85+
Next, create a test API key. First, activate the :guilabel:`Testing Mode` toggle in the sidebar.
86+
Then create a testing API key using the same instructions for the production API key.
87+
88+
.. image:: biteship_shipping/biteship-test-mode.png
89+
:alt: Enter testing mode in Biteship.
90+
91+
.. _inventory/shipping_receiving/bite-activation-api:
92+
93+
Activate the order API key
94+
--------------------------
95+
96+
To use the API key in a production environment, you must activate it.
97+
98+
In the Biteship account, navigate to :menuselection:`Integration`. Under :guilabel:`API Key`, click
99+
:guilabel:`Settings`. The :guilabel:`API Keys` page opens. Click the :guilabel:`Order API
100+
Activation` button.
101+
102+
.. image:: biteship_shipping/biteship-api-key.png
103+
:alt: Order API activation in Biteship.
104+
105+
.. important::
106+
To complete the form, Biteship requires testing mode to be enabled so that it can create a test
107+
order and simulate multiple order statuses.
108+
109+
.. image:: biteship_shipping/biteship-activation.png
110+
:alt: Order API Activation Form in Biteship.
111+
112+
Complete the following fields:
113+
114+
- :guilabel:`Select API Key`: choose the API key to activate.
115+
- :guilabel:`Select Couriers to Activate`: select one or more couriers to activate.
116+
- :guilabel:`Delivered Order ID`: enter a test order ID with "delivered" status.
117+
- :guilabel:`Cancelled Order ID`: enter a test order ID with "cancelled" status.
118+
- :guilabel:`Please check if you have orders that include insurance`: optionally enable insurance
119+
for the delivery.
120+
121+
When the form is complete, click the :guilabel:`Submit API Activation Data` button to submit the
122+
activation request. After the request is approved, a confirmation message appears.
123+
124+
Check the API key status. The order API should be active.
125+
126+
Setup in Odoo
127+
=============
128+
129+
Install
130+
-------
131+
132+
After the Biteship account is set up, integrate it with the Odoo database. To do that, go to Odoo's
133+
:guilabel:`Apps` module, search for the :guilabel:`Biteship Shipping` module, and click
134+
:guilabel:`Activate` to install it.
135+
136+
.. image:: biteship_shipping/biteship-app.png
137+
:alt: Biteship Shipping module in the Odoo Apps module.
138+
139+
Configuration
140+
-------------
141+
142+
Create a delivery method. Open :menuselection:`Inventory --> Configuration --> Delivery --> Shipping
143+
Methods`, then click :guilabel:`New`.
144+
145+
Configure Biteship in Odoo by filling out the fields on the :guilabel:`Shipping Methods` form as
146+
follows:
147+
148+
- :guilabel:`Shipping Method`: name of shipping method (for example, `Biteship JNE Reguler`).
149+
- :guilabel:`Provider`: select :guilabel:`Biteship`.
150+
- :guilabel:`Delivery Product`: assign or create the delivery product that will appear on the sales
151+
order line when the cost of shipping is computed.
152+
153+
In the :guilabel:`Biteship Configuration` tab, fill out these fields:
154+
155+
- :guilabel:`Biteship Live API Key`: enter the live :abbr:`API (Application Programming Interface)`
156+
key :ref:`obtained from Biteship <inventory/shipping_receiving/bite-api-key>`.
157+
- :guilabel:`Biteship Test API Key`: enter the test :abbr:`API (Application Programming Interface)`
158+
key :ref:`obtained from Biteship <inventory/shipping_receiving/bite-api-key-test>`.
159+
- :guilabel:`Enable Insurance`: this option can be checked to enable insurance for the delivery if
160+
desired. Make sure to also enable it when submitting the :ref:`Order API Activation
161+
<inventory/shipping_receiving/bite-activation-api>`.
162+
- :guilabel:`Default Package Type`: Set a default package type to include the weight of the empty
163+
package when automatically calculating shipping rates. If this is left empty, the weight of the
164+
product will be used instead.
165+
166+
.. important::
167+
To set a default package type, the *Packages* feature **must** be enabled in
168+
:menuselection:`Inventory --> Configuration --> Settings`.
169+
170+
Manually :guilabel:`Save` the form by clicking the :icon:`fa-cloud-upload` :guilabel:`(Save
171+
manually)` icon icon next to the :guilabel:`Shipping / New` breadcrumbs.
172+
173+
To select a courier service, click the :guilabel:`Select from a list of available couriers` link in
174+
the :guilabel:`Biteship Configuration` tab.
175+
176+
The :guilabel:`Choose Biteship Shipping Service` box opens. In the :guilabel:`Delivery Service`
177+
field, choose the desired shipping service for deliveries from the drop-down menu. Finally, click
178+
:guilabel:`Confirm`.
179+
180+
The chosen delivery service will populate in the :guilabel:`Courier Name` and :guilabel:`Biteship
181+
Service Name` field.
182+
183+
.. example::
184+
Sample of a Biteship shipping product configured in Odoo:
185+
186+
| :guilabel:`JNE Reguler`
187+
| :guilabel:`Courier Name`: `JNE`
188+
| :guilabel:`Biteship Service Name`: `Reguler`
189+
190+
.. image:: biteship_shipping/biteship-configuration.png
191+
:alt: Example of shipping products configured in Odoo.
192+
193+
.. tip::
194+
Switch between the test and production environment by clicking the :guilabel:`Environment` smart
195+
button at the top of the shipping method form. Make sure to fill the test API key beforehand.
196+
197+
198+
Generate a label with Biteship
199+
------------------------------
200+
201+
When creating a quotation in Odoo, add the Biteship shipping method by clicking the :guilabel:`Add
202+
shipping` button.
203+
204+
In the :guilabel:`Add a shipping method` box, select Biteship in the :guilabel:`Shipping Method`
205+
field.
206+
207+
Calculate the shipping rate by clicking :guilabel:`Get rate`. Finally, click :guilabel:`Add` to
208+
add the cost of shipping to a sales order line, labeled as the *delivery product*.
209+
210+
.. note::
211+
Automatically calculate shipping costs for Biteship in **both** Odoo *Sales* and *eCommerce*
212+
applications.
213+
214+
Then, :guilabel:`Validate` the delivery. Access shipping label documents from the :guilabel:`Print`
215+
menu under the :icon:`fa-cog` :guilabel:`(Actions)` icon next to the :guilabel:`Deliveries`
216+
breadcrumbs.
217+
218+
.. image:: biteship_shipping/biteship-shipping.png
219+
:alt: Example of a shipped order in Odoo.
220+
221+
Information such as :guilabel:`Tracking Number`, :guilabel:`Waybill Number`: and the cost of
222+
shipping are generated in the chatter.
223+
224+
.. important::
225+
Package weight in Odoo is calculated by adding the weights of the products plus the empty package
226+
saved in the database. Ensure the correct shipping option is selected, as the package weight is
227+
not automatically verified.
228+
229+
Verify the destination address, as Biteship checks it when the order is created.
230+
231+
Finally, the couriers require information, such as an email address, phone number and a post
232+
code. Please ensure that all necessary information is set and valid upon sending a shipping order
233+
and when retrieving the shipping rates.
234+
235+
Cancellations
236+
-------------
237+
238+
If a delivery order is cancelled in Odoo, it is automatically cancelled in Biteship. However, the
239+
cancellation varies between couriers and current status of delivery, so make sure to log onto the
240+
courier's platform to check and potentially handle the cancellation manually.
25.1 KB
Loading
21.1 KB
Loading
8.06 KB
Loading
20.3 KB
Loading
Loading
40.5 KB
Loading
25.2 KB
Loading
36 KB
Loading

0 commit comments

Comments
 (0)