Skip to content
Light
English

Table 17 - Order Item

  • This article presents the fields of the ordered item integration layout. To better understand the concept behind ordered items, see our article on Requested Concept.
  • To carry out this integration, you must send the information along with Table 16 - Order
OrderField DescriptionFormat and SizeRequiredVersionNote
1Table Identifier (IDENTIFICADOR)FIXO=17 (2)Yes1.0
2Demander internal #489829IntegerNo1.0

Field of internal use of Demander

Ignore it when importing to ERP

When sending to Demander, send empty.

3Product Code (codProduto)Text (30)Yes1.0
4Order Code (codPedido)IntegerYes1.0
5Item Discount Percentage (percentualDesconto)DecimalNo1.0
6Item Add Percentage (percentualAcrescimo)DecimalNo1.0
7Total Value Discount Products (valorTotalProdutosComDesconto)DecimalYes1.0Total Value of Products already with Discount, but without IPI or ICMS ST. (Former field valorTotaltem)
8Unit Value without Discount (valorUnitarioSemDesconto)DecimalYes1.0Unit Value without Discount, is the List Price of the Product
9Unit Value with Discount (valorUnitarioComDesconto)DecimalNo1.0Unit value already with Discount (But without IPI and ICMS ST)
10Quantity of Units (qty)DecimalYes1.0
11Order Identifier (Table 16) (idPedido)IntegerNo2.5As of version 2.5, the need to register a number range per seller was eliminated. The order code may repeat, for example, there may be two sellers with codPedido 451, so the ERP can handle this during import, idPedido was added, which is the unique order identifier in each Order Item record.
12Note (note)TextNo2.6Item Observations
13Total IPI Value (valorTotalIPI)DecimalYes2.13Total IPI value calculated for the Order item
14Total Value ICMS ST (valorTotal_ICMS_ST)DecimalYes2.13Total value of ICMS ST calculated for the Order item
15Total Value of the Item with Taxes (valorTotalComImpostos)DecimalYes2.13Total Value of the Item (Total Value Products with Discount[Field7]+IPI[Field13]+ICMS ST[Field14]+Additional Tax[Field31])
16Unit Value with Taxes (valorUnitarioComImpostos)DecimalYes2.13Value per Unit (Value Total Products with Discount[Campo7]+IPI[Campo13]+ICMS ST[Campo14])
17Prorated Discount Value (valorTotalDescontoRateado)DecimalYes2.21Discount Value at order level that was prorated for this item
18Total Value of Products without Apportionment (valorProdutosSemRateioDesconto)DecimalYes2.21Total Value of Products (without taxes) before apportionment. Equivalent to valorTotalProdutosComDesconto-valorTotalRateado
19Unit Sales Value without Apportionment (valorUnitarioSemRateioDesconto)DecimalYes2.21Unit Sales Value (without taxes) before Apportionment at Order Level. Equivalent to valorProdutosSemRateioDesconto/qty
20QuantityCanceled (qtdeCancelado)DecimalNo2.22Send here the quantity of the product that was cancelled, for example, the seller placed an order for 100 units, only had 80 in stock and the remaining 20 were cancelled, so I sent here “20”, and in the Quantity field, continue sending 100.
21Invoiced Quantity (qtdeFaturado)DecimalNo2.22Send here the quantity of the product that was invoiced, for example, the seller placed an order for 100 units, if 80 units have already been invoiced to date. 100 requested, send 80 in this field. In the Quantity field, continue sending 100. The sum of the canceled quantity and invoiced quantity cannot be greater than the quantity (of the item)
22Transferred Flex Value (Credit or Debit) (valorFlexMovimentado)DecimalNo2.22Send the credit or debit amount generated by this item in this field. (If you generated a Flex debit, send a negative amount)
23Value Products without Discount/Addition to the payment condition (valorTotalProdutosSemPercCondPag)DecimalNo2.24Total value of the products, without discount/interest on the payment condition, or any other discount or increase or tax amount. Equivalent to ListaPrecoProduto.valorUnitario o Number of the price option used (see Table 13, field 15). The count starts at 1 (one); If no price is set, we send “0”. To return the order to Demander, you can leave this field empty.
25Date and Time of insertion of the item into the order (dataHoraCadastro)DateTimeNo2.28Informs dataHora that the item was inserted in the Order
26Commission Percentage (percComissao)DecimalNo2.35Commission Percentage stipulated for this order item.
27Commission Amount (valorTotalComissao)DecimalNo2.35Total Commission amount for this item.
28Quantity per Pack (qtdeEmbalagem)DecimalNo2.47Informs the quantity per package that the product had at the time of sale.
29Used the discount table (usouTabelaDesconto)BooleanNo3.0Whether the order item used the order discount table
30Price list unit value (valorUnitarioListaPreco)DecimalNo3.1
31Additional fee amount (valorTaxaAdicional)DecimalNo3.3Amount of the additional fee as shown in table 42 – Taxation configuration
32Amount to be deducted from the commission calculation base (valorAbaterBCComissao)DecimalNo3.4Value of linked order items that will decrease from the seller’s commission calculation base.
33Commission percentage excluding bonuses (percComissaoBonificada)DecimalNo3.5This field is related to the functionality of deducting the commission from the main order and bonus requests, it is calculated at the time of exporting the Demander web to the ERP, there is no physical field in the Demander to record this information, but even so, it has to be sent in the order integration, tip: if you don’t use the functionality in question, send this field empty.
34Gross Weight (pesoBruto)DoubleNo3.10Total gross weight of the item
35Net Weight (pesoLiquido)DoubleNo3.10Total net weight of the item
36Cubage (cubbing)DoubleNo3.10Total cubing of the item
37Shipping Value (valorFrete)DoubleNo3.14

In this field the “Order Shipping Value” is apportioned.. NOTE: A rule of 3 is used based on the “Total Value of the Order Item”.

38Suggested Shipping (freteSugerido)DoubleNo3.38
39Contribution margin percentage (percMargemContribuicao)DecimalNo3.38
40Replacement cost of sale (custoReposicaoNaVenda)DecimalNo3.38Pass the total cost of the item in question, example: if the cost of the merchandise is R$10.00 and 3 units were sold, the cost to be passed in this field is R$30.00
41Unit sales value without discount on discount (valorUnitarioSemDescontoSobreDesconto)DecimalNo3.56
42Percentage discount entered (percDescontoDigitado)DecimalNo3.56
43Demander Internal #118512
(jsonDescontosAcrescimos)
TextNo4.37

When returning to Demander, send it empty.

See here the structureof the json sent in this field.

44Total value of Own ICMS
(valorTotalICMSProprio)
DecimalNo4.46

Total Value of Own ICMS of the item

45IPI Rate (aliquotaIPI)DecimalNo4.49
46ICMS Rate (aliquotaICMS)DecimalNo4.49
47ICMS ST Rate (aliquotaIcmsST)DecimalNo4.49
48Redispatch Unit Value (valorUnitarioRedespacho)Decimal (15.2)No4.49

Registration Example:

17||11002|00026120|0|0|44.03|6.29|6.29|7|||2.21|0|46.24|6.605714 28571429|0|44.03|6.29|0.00|7|0||||0|0|0|0|0|0|0|0|1.05|0.63|||||