|
| 1 | +===================== |
| 2 | +Envia.com integration |
| 3 | +===================== |
| 4 | + |
| 5 | +Envia is a shipping service that connects businesses with multiple carriers in Odoo. Key features |
| 6 | +include: |
| 7 | + |
| 8 | +- **Multi-carrier & international shipping**: Compare rates across carriers and select the best |
| 9 | + option for domestic or global shipments. |
| 10 | +- **Automated label generation**: Generate shipping labels at order confirmation. |
| 11 | +- **Real-time rate calculation**: Fetch rates based on package details and destination. |
| 12 | + |
| 13 | +Setup in Envia |
| 14 | +============== |
| 15 | + |
| 16 | +To integrate `Envia.com <https://www.envia.com>`_ with Odoo, first create an account and activate |
| 17 | +the necessary shipping carriers. Then, obtain the API credentials, which is used to connect |
| 18 | +Envia.com to your Odoo database. |
| 19 | + |
| 20 | +Create an account and activate carriers |
| 21 | +--------------------------------------- |
| 22 | + |
| 23 | +.. important:: |
| 24 | + When signing up, make sure to select the correct language **and** country in the upper right-hand |
| 25 | + corner. This affects the currency of the account! |
| 26 | + |
| 27 | + .. image:: envia_shipping/Envia_Registry_Process.png |
| 28 | + :alt: Registry process in website with Envia.com. |
| 29 | + |
| 30 | +Begin by going to `Envia.com <https://www.envia.com>`_. |
| 31 | + |
| 32 | +After signing in, in the left sidebar, click :menuselection:`Settings --> Print Options and |
| 33 | +Carriers`. Next, select your country to set the currency and display available shipping carriers. |
| 34 | + |
| 35 | +After deciding on the desired carrier, click :guilabel:`Activate`, then click :guilabel:`Services` |
| 36 | +to select the carrier's available shipping options. |
| 37 | + |
| 38 | +.. tip:: |
| 39 | + Billing is always processed in the currency of the country that matches your primary billing |
| 40 | + address. If the company operates in multiple countries, you may create separate accounts for each |
| 41 | + location. |
| 42 | + |
| 43 | +.. note:: |
| 44 | + Envia will send an SMS or WhatsApp message to confirm your email address and phone number. |
| 45 | + |
| 46 | +.. image:: envia_shipping/carriers-and-services.png |
| 47 | + :alt: Select carrier services. |
| 48 | + |
| 49 | +Generate Envia.com credentials |
| 50 | +------------------------------ |
| 51 | + |
| 52 | +Go to Envia.com, navigate to :menuselection:`Developers --> API Keys`, on the left menu, then click |
| 53 | +:guilabel:`add` to generate a new key. |
| 54 | + |
| 55 | +This key is required to authenticate Odoo's connection with Envia.com. Retrieve it at any time by |
| 56 | +returning to the :guilabel:`API Keys` section. |
| 57 | + |
| 58 | +.. image:: envia_shipping/envia_token.png |
| 59 | + :alt: API Keys in Envia.com. |
| 60 | + |
| 61 | +Setup in Odoo |
| 62 | +============= |
| 63 | + |
| 64 | +Install Envia.com shipping module |
| 65 | +--------------------------------- |
| 66 | + |
| 67 | +On Odoo's :guilabel:`Apps` module, search for the `Envia Shipping` integration, and install it. |
| 68 | + |
| 69 | +.. image:: envia_shipping/envia_mod.png |
| 70 | + :alt: Envia module to install in Odoo. |
| 71 | + |
| 72 | +Envia.com shipping connector configuration |
| 73 | +------------------------------------------ |
| 74 | + |
| 75 | +After activating the Envia.com connector, create a delivery method by going to |
| 76 | +:menuselection:`Inventory --> Configuration --> Delivery Methods` and click :guilabel:`New`. |
| 77 | + |
| 78 | +Fill out the following form fields: |
| 79 | + |
| 80 | +- :guilabel:`Shipping Method`: Name of the shipping method, e.g. `Envia.com`. |
| 81 | +- :guilabel:`Provider`: Select :guilabel:`Envia` from the drop-down menu. |
| 82 | +- :guilabel:`Delivery Product`: The product listed on the sales order as the delivery charge. A |
| 83 | + specific delivery product for Envia.com must be created. |
| 84 | +- In the :guilabel:`Envia Configuration` tab, enter the :guilabel:`Envia Production Access Token`. |
| 85 | +- In the :guilabel:`Envia Configuration` tab, enter the :guilabel:`Envia Sandbox Access Token`. |
| 86 | +- :guilabel:`Insurance percentage`: If insurance is needed, place a percentage of the value to |
| 87 | + insure. If not, leave it as 0. Keep in mind that the insurance price is calculated only after the |
| 88 | + label has been generated, including for LTL shipments. |
| 89 | + |
| 90 | +.. tip:: |
| 91 | + It is mandatory to fill both the production and sandbox tokens, but it could be left as a random |
| 92 | + character as it is not validated at this point. |
| 93 | + |
| 94 | +Additional considerations for the :guilabel:`Envia Default Package`: |
| 95 | + |
| 96 | +- The package is specified in :guilabel:`mm` and :guilabel:`kg`. The weight refers to the container |
| 97 | + itself, not its contents. Leave the weight as 0 if no weight is reported, and set the max weight |
| 98 | + to 0 if there is no specified limit. |
| 99 | +- :guilabel:`Envia Package Type`: Set to :guilabel:`Box` by default. Ensure the correct type is |
| 100 | + selected, as it affects the available carriers and options displayed, which vary depending on this |
| 101 | + selection. |
| 102 | + |
| 103 | +Once previous fields are properly set, navigate to the :guilabel:`Envia Configuration` tab, and in |
| 104 | +the :guilabel:`Envia.com Service Name` field, click the :icon:`fa-refresh` :guilabel:`(refresh)` |
| 105 | +icon to sync the carriers. In the pop-up window that appears, select a carrier and a service level |
| 106 | +from the list. |
| 107 | + |
| 108 | +.. image:: envia_shipping/envia_popup.png |
| 109 | + :alt: Envia.com carrier and services popup. |
| 110 | + |
| 111 | +.. important:: |
| 112 | + Envia keeps the main currency of the account fixed. In order to provide more precise conversions |
| 113 | + for the costs of shipping, specify the currency that is set for your account on Envia. If |
| 114 | + necessary, Odoo offers the option to change your country. By default it uses the country |
| 115 | + associated with your company. |
| 116 | + |
| 117 | +.. note:: |
| 118 | + If more than one shipping option is needed, create more shipping methods in Odoo and modify any |
| 119 | + parameter like the package, carrier, or service. |
| 120 | + |
| 121 | +.. _inventory/shipping_receiving/envia-shipping-info: |
| 122 | + |
| 123 | +Shipping information |
| 124 | +-------------------- |
| 125 | + |
| 126 | +To use Envia.com to generate shipping labels, the following information **must** be filled out |
| 127 | +accurately and completely in Odoo: |
| 128 | + |
| 129 | +#. **Customer information**: When creating a quotation, ensure the selected :guilabel:`Customer` has |
| 130 | + a valid phone number, email address, and shipping address. |
| 131 | + |
| 132 | + To verify, select the :guilabel:`Customer` field to open their contact page. Here, add their |
| 133 | + shipping address in the :guilabel:`Contact` field, along with their :guilabel:`Mobile` number and |
| 134 | + :guilabel:`Email` address. |
| 135 | + |
| 136 | +#. **Product weight**: Ensure all products in a delivery order have a specified :guilabel:`Weight` |
| 137 | + in the :guilabel:`Inventory` tab of their product form. Refer to the :ref:`Product weight section |
| 138 | + <inventory/shipping_receiving/configure-weight>` of this article for detailed instructions. |
| 139 | + |
| 140 | +#. **Warehouse address**: By default all packages are sent from the specified address in the |
| 141 | + warehouse, make sure to set the address for correct label generation. |
| 142 | + |
| 143 | +Address filling guide |
| 144 | +--------------------- |
| 145 | + |
| 146 | +Each country has rules regarding how an address is filled. This is a comprehensive guide of each |
| 147 | +country's expected fields exceptions: |
| 148 | + |
| 149 | +.. list-table:: |
| 150 | + :header-rows: 1 |
| 151 | + :stub-columns: 1 |
| 152 | + |
| 153 | + * - Country |
| 154 | + - Street |
| 155 | + - Street 2 |
| 156 | + - City |
| 157 | + - State_id |
| 158 | + * - Argentina |
| 159 | + - Street and number |
| 160 | + - Locality |
| 161 | + - City |
| 162 | + - Province |
| 163 | + * - Brazil |
| 164 | + - Exception |
| 165 | + - Neighborhood |
| 166 | + - City |
| 167 | + - State |
| 168 | + * - Chile |
| 169 | + - Street and number |
| 170 | + - City |
| 171 | + - Commune |
| 172 | + - Region |
| 173 | + * - Colombia |
| 174 | + - Street and number |
| 175 | + - Not needed |
| 176 | + - Municipality |
| 177 | + - Department |
| 178 | + * - Guatemala |
| 179 | + - Street and number |
| 180 | + - Neighborhood |
| 181 | + - City |
| 182 | + - State |
| 183 | + * - Mexico |
| 184 | + - Street and number |
| 185 | + - Neighborhood |
| 186 | + - City |
| 187 | + - State |
| 188 | + * - Uruguay |
| 189 | + - Street and number |
| 190 | + - Complementary info |
| 191 | + - Locality |
| 192 | + - State |
| 193 | + |
| 194 | +Countries not listed here should be entered normally. |
| 195 | + |
| 196 | +.. note:: |
| 197 | + For some countries, the zip code is not commonly requested. If empty, Odoo will use Envia's zip |
| 198 | + approximation services to get the zip code. |
| 199 | + |
| 200 | + For Colombia, the zip code is extracted from the city selected in `city_id` if the localization |
| 201 | + is installed, otherwise Odoo will use the zip field. |
| 202 | + |
| 203 | +.. note:: |
| 204 | + Colombia and Mexico have a list of cities referred to as `city_id` in Odoo. If `city_id` is set, |
| 205 | + it is used as the city field. If not set, then Odoo will try to use the city field. |
| 206 | + |
| 207 | +.. note:: |
| 208 | + In Mexico, some carriers might require the :guilabel:`Colony` field, commonly known as |
| 209 | + neighborhood. It is not always mandatory, but when using the :guilabel:`EDI for Mexico (Advanced |
| 210 | + Features)` module, the :guilabel:`Colony` field is required. |
| 211 | + |
| 212 | +.. note:: |
| 213 | + In Brazil the address is split to comply with regulation, so `street_name` is used for the street |
| 214 | + name only. `street_number1` is used for the street number and street_number2 is used for the |
| 215 | + complement. This logic also applies if the :guilabel:`Extended Addresses` module is installed. |
| 216 | + |
| 217 | +Generate labels with Envia |
| 218 | +========================== |
| 219 | + |
| 220 | +When creating a quotation in Odoo, add shipping and the :guilabel:`Envia.com shipping product`. |
| 221 | +Then, :guilabel:`Validate` the delivery. Shipping label documents are automatically generated in the |
| 222 | +chatter, which include the following: |
| 223 | + |
| 224 | +#. :guilabel:`Shipping label(s)` depending on the number of packages. |
| 225 | +#. :guilabel:`Return label(s)` if the Envia.com connector is configured for returns. |
| 226 | + |
| 227 | +.. important:: |
| 228 | + When labels are created, Envia.com automatically charges the configured account and the final |
| 229 | + amount is logged in the chatter. If multi-currency operations occur, the amount logged is |
| 230 | + calculated using Odoo's rate. Actual rates may vary. |
| 231 | + |
| 232 | +Additionally, the tracking number is now available. |
| 233 | + |
| 234 | +.. note:: |
| 235 | + Brazilian Authorities might request the invoice related to the shipping (NFe). It is recommended |
| 236 | + to physically attach the invoice of the order along with the label. |
| 237 | + |
| 238 | +International shipping |
| 239 | +---------------------- |
| 240 | + |
| 241 | +For international shipments it is required to fill both the :guilabel:`HS code` and the country of |
| 242 | +:guilabel:`Origin of Goods`, both can be found on the product's :guilabel:`Inventory tab`. |
| 243 | + |
| 244 | +LTL Shipments |
| 245 | +------------- |
| 246 | + |
| 247 | +LTL shipment labels can be generated through the Envia connector. The insurance for LTL shipments is |
| 248 | +based on the *insurance percentage* specified in the delivery method's form. |
| 249 | + |
| 250 | +.. important:: |
| 251 | + For Mexico, since a Bill of Landing needs to be created for the shipment, Odoo is required to |
| 252 | + send the UNSPSC code of the contents, as well as a unit of measure for transportation which is |
| 253 | + **X8A - Pallet de madera** as default. |
| 254 | + |
| 255 | +.. note:: |
| 256 | + Additional services are available when you select `pallet` as a :guilabel:`Envia Package Type` on |
| 257 | + the delivery method, which allows you to select additional services like lift assistance and |
| 258 | + deliveries during weekends. |
| 259 | + |
| 260 | +.. _inventory/shipping_receiving/setup_configuration/cancel: |
| 261 | + |
| 262 | +Tracking and cancellation |
| 263 | +========================= |
| 264 | + |
| 265 | +Shipments registered with Envia can be tracked using the Tracking smart button from the delivery |
| 266 | +order or using the tracking link from the customer portal. |
| 267 | + |
| 268 | +.. image:: envia_shipping/envia_customer_portal_tracking.png |
| 269 | + :alt: Customer portal tracking. |
| 270 | + |
| 271 | +Cancellations can be requested directly, see :ref:`Cancel section |
| 272 | +<inventory/shipping_receiving/setup_configuration/cancel>` |
| 273 | + |
| 274 | +FAQ |
| 275 | +=== |
| 276 | + |
| 277 | +Measuring volumetric weight |
| 278 | +--------------------------- |
| 279 | + |
| 280 | +Many carriers have several measurements for weight. There is the actual weight of the products in |
| 281 | +the parcel, and the volumetric weight. Volumetric weight is the volume that a package occupies when |
| 282 | +in transit, i.e. the physical size of a package. |
| 283 | + |
| 284 | +.. note:: |
| 285 | + Due to volumetric weight, it is possible that the actual weight in the label is higher than the |
| 286 | + calculated value. |
| 287 | + |
| 288 | +Which printing options are available? |
| 289 | +------------------------------------- |
| 290 | + |
| 291 | +On Envia.com in :menuselection:`Settings --> Print options and Carriers printing options` for each |
| 292 | +of your carriers are displayed, make sure to use the appropriate format for the chosen carrier. |
| 293 | + |
| 294 | +The needed service is not available |
| 295 | +----------------------------------- |
| 296 | + |
| 297 | +For available carriers, make sure that they are enabled through Envia. |
| 298 | + |
| 299 | +Who will pay customs duties? |
| 300 | +---------------------------- |
| 301 | + |
| 302 | +It's important to make sure that if there are exports to other countries, use Envia's carrier |
| 303 | +settings to configure whether it is paid by the sender or the receiver. |
| 304 | + |
| 305 | +What is "Envia error"? |
| 306 | +---------------------- |
| 307 | + |
| 308 | +It's a message that appears when there's an error in Envia. This message mentions what went wrong in |
| 309 | +their platform so it can be addressed. |
| 310 | + |
0 commit comments