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)
23Products amount without payment terms discount/surcharge (valorTotalProdutosSemPercCondPag)DecimalNo2.24Total products amount, excluding payment terms discounts/interest, other discounts, surcharges and taxes. Equivalent to ListaPrecoProduto.valorUnitario X itemPedido.qtde.
24Fixed price option number used (numOpcaoPrecoPreFixado)IntegerNo2.26Number of the price option used (see Table 13, field 15), starting at 1. If no fixed price was used, 0 is sent. You may leave it empty when returning the order to Demander.
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
43Discounts and surcharges JSON (jsonDescontosAcrescimos) — reserved on importTextNo4.37

On export, contains the item discounts and surcharges JSON. On import, the content is ignored and does not change the JSON stored in Demander. You may leave it empty, preserving its position.

See the structure

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
49Price policy - summary note (politicaObsResumida)Text (255)No4.49Summary note for the item price policy.
50Price list code (codListaPreco)Text (30)No4.49Code of the price list used for the item.

Record example:

17||TV-001|26120|0|0|2000.00|1000.00|1000.00|2|||0|0|2000.00|1000.00|0|2000.00|1000.00|0|0|0|2000.00|0||0|0|1|0|1000.00|0|0|0|0|0|0|0|0|0|0|1000.00|0||0|0|0|0|0|Politica de exemplo|PADRAO|90.00|150.00|20.00|0.00|11.30|15.00|2.00|0.00|

The example has 58 fields: empty reserved JSON in position 43, policy note in 49, price list PADRAO in 50 and taxes in positions 51 to 58.

  • Preserve all positions, including reserved and empty ones. The identifier 17 occupies position 1.
  • Position 43 is reserved for jsonDescontosAcrescimos: it is exported, but content received from the ERP is ignored, preserving the item JSON in Demander.
  • Send the item price list code (codListaPreco) in position 50, after politicaObsResumida (position 49). Integrations that sent this code in position 43 must switch to position 50.
  • Legacy files ending at position 48 or 49 remain accepted. To provide the price list or taxes, append subsequent columns without shifting previous ones.
  • The record exported to the ERP uses the same positions accepted on import. Items must accompany the corresponding order from table 16.

Direction: ERP → Demander and Demander → ERP. ERP import and export use the same positions. This article describes the ERP integration file; the application synchronization layout is separate.

Fields are appended after field 50 (codListaPreco), preserving existing columns.

Position Field description Format and size Required Update Note
51 CBS amount (valorCBS) Monetary decimal No 11/2026 Total tax amount for the item quantity; it is not a unit amount.
52 State IBS amount (valorIBSEstadual) Monetary decimal No 11/2026 Total tax amount for the item quantity; it is not a unit amount.
53 Municipal IBS amount (valorIBSMunicipal) Monetary decimal No 11/2026 Total tax amount for the item quantity; it is not a unit amount.
54 IS amount (valorIS) Monetary decimal No 11/2026 Total tax amount for the item quantity; it is not a unit amount.
55 CBS rate (aliquotaCBS) Percentage decimal No 11/2026 Percentage applied to the item.
56 State IBS rate (aliquotaIBSEstadual) Percentage decimal No 11/2026 Percentage applied to the item.
57 Municipal IBS rate (aliquotaIBSMunicipal) Percentage decimal No 11/2026 Percentage applied to the item.
58 IS rate (aliquotaIS) Percentage decimal No 11/2026 Percentage applied to the item.
  • Positions 51 to 54 contain total monetary amounts for the item. Positions 55 to 58 contain percentage rates.
  • Each monetary field contains the total tax amount for that item. Send each item associated with the corresponding order, preserving existing keys.
  • Preserve the amounts actually used for the item so the order totals can be checked.
  • Fields are optional; absent or empty fields preserve compatibility with integrations without tax reform.
  • If a state or municipal IBS component is sent, send both; do not infer one from the other.
  • Explicit zero represents a zero amount or rate; do not convert absence to zero without a contract rule.
  • The state and municipal IBS split for specific regimes with an aggregate parameter still needs to be defined.

Fields in braces abbreviate existing columns and must not be sent literally. Values are fictitious, with a period as the decimal separator.

These are record lines for the Sincronizador/loadData file, not a complete file. The file must contain the version line before the records, and each item must be associated with the corresponding order from table 16.

17|{campos 2 a 50 do item televisor}|90.00|150.00|20.00|0.00|11.30|15.00|2.00|0.00|
17|{campos 2 a 50 do item refrigerante}|18.36|30.60|4.08|4.00|11.30|15.00|2.00|2.00|

The example considers a television with CBS of 90.00, state IBS of 150.00 and municipal IBS of 20.00; and a soft drink with CBS of 18.36, state IBS of 30.60, municipal IBS of 4.08 and IS of 4.00. The four order totals are 108.36, 180.60, 24.08 and 4.00, respectively.

See Table 16 - Order and Tax reform.