Skip to content
Light
English

DBF Integration Layout - Order

  • This article presents the fields of the Order Items integration layout. To better understand the concept behind order items, see our article on Order Concept.
OrderField DescriptionFormat and SizeRequiredVersionNote
1Document Number Order(code)Integer (11)Yes4.58Same as Order Number.
2Payment Method Code(codForPag)Text (20)No4.58
3Payment Condition Code
(codConPag)
Text (20)
No
4.58

4Order Status Code
(codStatus)
Integer (11)
No
4.58
Send status code.
5Branch Code
(codFilial)
Integer (11)
No
4.58

6Customer Code
(codClient)
Integer (11)
Yes
4.58
New customers come with code “0”.
7Customer’s CPF/CNPJ
(cpfCNPJCl)
Text (18)Yes
4.58
With mask. EX:01.010.101/0001-72
8Price List Code
(codLisPre)
Text (20)Yes
4.58

9Seller Code
(codVen)
Integer (11)
Yes
4.58

10Code of the Issuing Seller
(codVenEmi)
Integer (11)

Yes
4.58
Note: In this field the code of the seller who issued the order is exported, this field will be different from the codVendedor field in the following situation: The Sales Manager issues an order to a customer linked to a seller, codVendedorEmissor will be the sales manager, and codVendedor will be the seller code linked to the customer.
11Purchase Order Number
(nOrdCompr)
Text (50)No
4.58

12Issuance Date
(dataEmis)
DateYes
4.58

13Emission Time
(horaEmis)
Text (6)Yes
4.58

16Quantity of Items
(qtdeItens)
Decimal (11.2)No
4.58

17Value of Products with Additional Discount
(vPrCDeAcr)
Decimal (11.2)
No
4.58
Sales Value of Products, already with the value of Increase or Discount Granted (Former field valorTotal) />Value of the Products, without the value of the increase or Discount granted. Old field valorBruto.
19Shipping Value
(vFrete)
Decimal (11.2)
Yes
4.58

20Total Order Value
(vTotalPed)
Decimal (11.2)
Yes
4.58
Total Order Value (Product Value+Value Shipping+IPI+ICMS ST+Interest/Discount by Payment Method).
21IPI Value
(vIPI)
Decimal (11.2)
Yes
4.58
Total IPI Value (Sum of IPI for each Item)
22ICMS ST Value
(vICMS_ST)
Decimal (11.2)
Yes
4.58
Total Value of ICMS ST (Sum of Value dand ICMS ST)
23Total Commission Amount
(vTotComis)
Decimal (11.2)
No
4.58
Total order commission amount calculated by Demander.
24Highlighted Discount
(descDest)
Decimal (11.2)
No
4.58

25Total Redispatch Value
(vTotRedes)
Decimal (11.2)

No
4.58

26Total Additional Fee
(tTaxaAdic)

Decimal (11.2)
No
4.58
Total amount of the additional fee that will be charged; This value must be equal to the sum of field 31 of the order items.
27Gross Weight Ordered
(pesoBruto)
Decimal (11.2)
No
4.58
Gross weight total order
28Net Order Weight
(pesoLiqui)
Decimal (11.2)
No
4.58
Total Net Order Weight
29Cubbing
(cubbing)
Decimal (11.2)
No
4.58
Total cubing of the order
30Margin Percentage Contribution
(prMarCont)
Decimal (11.2)
No
4.58

31Replacement Cost at Sale
(cusRepVen)
Decimal (11.2)
No
4.58

32Carrier Code
(cTranspor)
Text (15)No
4.58
Transporter code, records in Table 29
33Redispatch code
(cRedespac)
Text (15)No
4.58
Redispatch carrier code, records in Table 29
34Segment Code
(cSegmento)
Integer (11)No
4.58
Segment code used in the order.
35Discount Type Code
(cTipoDesc)
Text (50)No
4.58
Field referring to the discount type code used in the order. Type of discount is sent in Table 130 – Type of Discount
36Order Type Code
(cTipoPedi)
Integer (11)Yes
4.58
Code of records registered for the company in the ‘Order Types’ register.
37Delivery Estimate
(prevEntre)
DateNo
4.58

38Shipping Type
(tipoFrete)
Integer (2)No
4.58
Shipping Type Code.
39Originating Order Number
(nPedOrig)
Integer (11)No
4.58
If an order is linked to another, this field serves to identify the main order that gave rise to it.
40Customer Observation
(obsCliente)
Text (254)Yes
4.58
Whatever is entered in this field appears in the Order PDF Issue that is sent to the Customer.
41Observation
(obs)
Text (254)No
4.58

Registration Example: