...
Os outros parâmetros são encontrados no Comando Desconto na Venda. Clique aqui e acesse a documentação.
{
"version"1,
"sale"{
"discount"0.1,
"total"0,
"items"[
{
"itemNumber"1,
"unitPrice"0,
"increasePrice"0,
"packingQuantity"0,
"quantity"0,
"totalPrice"0,
"discountPrice"0.0859,
"status""sttValid",
"partitionDiscount"[
{
"discountAmount"1,
"price"0.0859,
"partnerCode"0,
"promotionCode"43
}
]
}
],
"partitionDiscount"[
{
"discountAmount"1,
"price"0.1,
"partnerCode"0,
"promotionCode"686
}
]
},
"pay"{
"total"8.59,
"discount"0,
"increase"0,
"paymentNumber"1,
"authorizationCode""FD455FKL34SS1100AXV",
"vouchersPrint"[
{
"text"" RECEBO PAGAMENTO, CONVENIO \r\n\r\n N. 100, Vlr. Compra 8.59\r\n"
},
{
"text"" RECEBO PAGAMENTO, CONVENIO \r\n\r\n N. 100, Vlr. Compra 8.59\r\n"
}
],
"identifcation"{
"document""11263629059",
"partnerCode"0,
"documentType""cdtCPF"
}
},
"execution""cetContinue",
"interpret"{
"commandType""cctGetValue",
"value"{
"title""Leitura de codigo",
"subtitle""Teste Pagamento",
"defaultValue""setsdgsdgsddsg",
"dataType""cvtQRCode",
"size"4000
}
}
}
...