# Charge freight and report the volumes on the NF-e

> The product record carries the weights, the volume type and the brand, so the invoice created by the delivery already has the volumes. In Odoo 18, by KMEE.

Fonte: https://docs.kmee.com.br/en/odoo/18.0/funcional/vendas/cobrar-frete-e-informar-volumes/

The product record carries the weights, the volume type and the brand, so the invoice created by the delivery already has the volumes of the NF-e. The order sets who pays for the freight: the customer's carrier (FOB), no transport at the counter, or freight charged on the note and split among the items.

## Before you start

The user in charge of the product has the Inventory: Administrator access, the Guatambu brand is registered and the carrier is registered as a delivery method. The user who sells needs the Brazilian fiscal details (popup) group in the order lines. This applies in Brazil with configuration: the product record and the freight modality are the same for any company that issues an NF-e for a sale with transport.

## Step by step

### 1. Register the weights, the volume type and the brand

In Inventory > Products > Products, open the product. In Brand, choose the brand. On the Inventory tab, enter the Volume type, the Net Weight and the Gross Weight, and save. The net weight is the goods without the packaging, and the gross weight is the goods with it. Example: the steel office desk comes in individual boxes and weighs 28.00 kg without the box and 31.50 kg with it. For a delivery of 6 desks, the note carries 6 volumes of Boxes, 168.000 kg net and 189.000 kg gross, with the brand Guatambu.

### 2. Sell with freight paid by the customer (FOB)

In the quotation, choose the customer and the Delivery Method of the carrier the customer hired and, on the Other Info tab, the Incoterm FOB. Add the product and confirm the order. Click Delivery, Validate, Marked to be invoiced and Create Invoice. In the invoice window, check the volume line: 6 volumes of Boxes, brand Guatambu, net weight 168.000 and gross weight 189.000. Click Create, Confirm and Fiscal Details and, on the Delivery tab, check the carrier and the freight modality FOB. In View XML, the freight modality is 1, with the carrier and the 6 volumes. Example: Canjerana Móveis buys 6 steel desks at 1,000.00 and hires Transportes Pau-Ferro: NF-e of 6,000.00, ICMS of 12%, 720.00, with no freight charged.

### 3. Sell at the counter without transport

When the customer takes the goods on the spot, leave the Delivery Method empty and the Incoterm empty, and on the Other Info tab keep the Buyer Presence In-person operation. Click Delivery, Validate, Marked to be invoiced and Create Invoice. In the window, delete the volume line, since there is no transport, and click Create and Confirm. In Fiscal Details, on the Delivery tab, the freight modality is without transport occurrence. In View XML and View PDF, the freight is "9 - Sem Frete", with no carrier and no volumes. Example: Canjerana Móveis buys 2 swivel chairs at 500.00 at the counter: NF-e of 1,000.00, ICMS of 12%, 120.00.

### 4. Charge the freight and split it among the items

In the quotation with the items already entered and saved, choose the Delivery Method of the carrier and, on the Other Info tab, the Incoterm CIF and the option Force Delivery Cost Calculation by Total. Enter the Freight Value and click Confirm. Click Create Invoice and Create Draft: the freight is split among the items in proportion to the value of each one, and the last item takes the rounding difference. Check the split and click Confirm. In Fiscal Details, on the Totals tab, check the Freight Value. In View XML, the freight modality is 0, and the freight enters the ICMS base and the total. Example: 1 desk at 1,000.00, 2 chairs at 500.00 and 4 metal frames at 450.00, products of 3,800.00, with 100.00 of freight by Pau-Ferro: split 26.32, 26.32 and 47.36, ICMS of 12% on 3,900.00, 468.00, total of 3,900.00.

### 5. Sell to another state with freight on the note

The same path applies to a sale to a taxpayer in another state. Example: Guatambu Móveis, in São Paulo, sells to Bracatinga Móveis, in Curitiba, Paraná, 4 desks at 1,000.00 and 4 chairs at 500.00, products of 6,000.00, with CIF freight by Pau-Ferro and 300.00 of freight on the note. The freight is split 200.00 for the desks and 100.00 for the chairs. In the invoice, check the Freight Value of 300.00 and the total of 6,300.00. In View XML, check the CFOP 6102, the ICMS base of 6,300.00, the interstate ICMS of 12%, 756.00 (504.00 + 252.00), and the freight modality 0. The DANFE shows the freight of 300.00, the ICMS of 756.00 and the total of 6,300.00.

### 6. Charge freight, insurance and other expenses on the item

For expenses charged on the item, choose the customer and, on the Other Info tab, the Incoterm CIF. Add the product and, on the Others tab, enter the freight, the insurance and the other amounts. On the Taxes tab, in ICMS, the base now includes the expenses. Confirm, validate the delivery and create the invoice: the total includes the expenses. In the XML, check the freight modality 0, the freight, the insurance and the other expenses. Example: 10 chairs at 500.00 to Canjerana Móveis with 300.00 of freight, 50.00 of insurance and 50.00 of packaging: goods of 5,000.00, ICMS base of 5,400.00, ICMS of 12%, 648.00, total of 5,400.00, NF-e no. 107.

## Expected result

The NF-e comes out with the right freight modality (1 for FOB, 0 for CIF, 9 at the counter), the carrier and the volumes calculated from the product record, and the freight charged inside the ICMS base and the total, as checked in the XML and in the DANFE preview.

## If something goes wrong

If the Net Weight and Volume type fields are not on the Inventory tab, the product has variants: enter the data in each variant. If Odoo warns that the net weight must be less than the gross weight, the two values were swapped. If the invoice window shows volumes with zero weight, register the weights in the product and create the invoice again, or type them in the volume line. If the freight modality comes out as 9 on a sale with a carrier, the order was confirmed without the Incoterm: choose it before confirming. If the note comes out with the carrier and modality 9, remove the delivery method from the order. If the Freight Value field does not accept typing, tick Force Delivery Cost Calculation by Total. If the freight falls entirely on the last item, save the order with the items before entering the freight.

## Continue the process

- [Invoice the sale with an NF-e](https://docs.kmee.com.br/en/odoo/18.0/funcional/vendas/faturar-a-venda-com-nf-e/)
