Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Informará também os dados da venda “Sale” e dos itens “Items”.

{

"Event": "cetBeforecetAfter",
"Execution": "cetContinue",
"ID": "001600000590853001212000628814",
"Operation": "cotSubtotalSale",
"ParkingTicket": null,
"SalePay": { "Headernull,
"Response": "",
"Sale": {
"AccountingDateDiscount": "2020-01-22T00:00:00", 0.0,
"DateTimeIssueDiscountCodes": [],
"2020-01-22T14:15:36" "Header": {
}, "IDAccountingDate": "0016000005908532020-12-28T00:00:00",
"Items": [ { "CaptionPacking": "UN", DateTimeIssue": "2020-12-28T17:01:04",
"IdDocument": 628814,
"IdStore": 1,
"IdTerminal": 212,
"IdUser": 2,
"Identification": [ {
"Document": "04620339610",
"DocumentType": "cdtCPF",
"PartnerCode": 20
}
],
"Status": "sttValid"
},
"ID": "001212000628814",
"Increase": 0.0,
"Items": [ {
"BarCode": "255",
"CaptionPacking": "KG",
"Description": "SALADA MISTA kg",
"DiscountPrice": 0.0,
"IncreasePrice": 0.0,
"InternalCode": "255",
"ItemNumber": 1,
"PackingQuantity": 1.0,
"PartitionDiscount": [],
"PartitionIncrease": [],
"Quantity": 2.0,
"SellerCode": 0,
"Status": "sttValid",
"TotalPrice": 19.8,
"UnitPrice": 9.9
}
],
"Messages": {
"Customer": [],
"User": []
},
"PartitionDiscount": [],
"PartitionIncrease": [],
"DescriptionPaymentChange": null,
"COCA COLA", "InternalCodePayments": "3988", [],
"ItemNumberSolidaryChange": 1null,
"PackingQuantityTotal": 119.0008,
"QuantityVouchersPrint": 5.000 []
} ] } ,
"Version": 1
}

Finalização da venda

Com o PDV na operação “Finalização da venda”, a notificação da API trará o “Operation” com valor “cotEndSale”, informará também as informações da venda e dos itens.

...