Árvore de páginas

Versões comparadas

Chave

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

...

{
"Event": "cetAfter",
"Execution": "cetContinue",
"ID": "001212000628814",
"Operation": "cotSubtotalSale",
"ParkingTicket": null,
"Pay": null,
"Response": "",
"Sale": {
"Discount": 0.0,
"DiscountCodes": [],
"Header": {
"AccountingDate": "2020-12-28T00:00:00",
"DateTimeIssue": "2020-12-28T17:01:04",
"IdDocument": 628814,
"IdStore": 1,
"IdTerminal": 212,
"IdUser": 2,
"Identification": [ {
"Document": "0462033961012345678909",
"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": [],
"PaymentChange": null,
"Payments": [],
"SolidaryChange": null,
"Total": 19.8,
"VouchersPrint": []
},
"Version": 1
}

...

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

{

"Event": "cetBefore",
"Execution": "cetContinue",
"ID": "001600000590853001212000628816",
"Operation": "cotEndSale",
"ParkingTicket": null,
"SalePay"{ : null,
"Response": "",
"HeaderSale"{ : {
"AccountingDate""2020-01-22T00 00 00", Discount": 0.00,
"DateTimeIssue""2020-01-22T14 15 36""IdDocument"154625, "IdStore"1, "IdTerminal"1, "IdUser"2, "Identifcation"[ DiscountCodes": [],
"Header": {
"AccountingDate": "2020-12-28T00:00:00",
"DateTimeIssue": "2020-12-28T17:37:10",
"IdDocument": 628816,
"IdStore": 1,
"IdTerminal": 212,
"IdUser": 2,
"Identification": [ {
"Document": "04620339610",
"DocumentType": "cdtCPF",
"PartnerCode": 20
}
],
"Status": "sttValid"
},
"ID": "001212000628816",
"Increase": 0.0000000000000000E+000,
"Items": [ {
"BarCode": "255",
"CaptionPacking": "KG",
"Description": "SALADA MISTA kg",
"DiscountPrice": 1.9800000000000000E+000,
"IncreasePrice": 0.0000000000000000E+000,
"InternalCode": "255",
"ItemNumber": 1,
"PackingQuantity": 1.0000000000000000E+000,
"PartitionDiscount": [ {
"DiscountAmount": 1.0000000000000000E+000,
"PartnerCode": 20,
"Price": 9.8999999999999999E-001,
"PromotionCode": 85
},
{
"DiscountAmount": 1.0000000000000000E+000,
"PartnerCode": 20,
"Price": 9.8999999999999999E-001,
"PromotionCode": 50
}
],
"PartitionIncrease": [],
"Quantity": 2.0000000000000000E+000,
"SellerCode": 0,
"Status": "sttValid",
"TotalPrice": 1.7820000000000000E+001,
"UnitPrice": 9.9000000000000004E+000
}
],
"Messages": {
"Customer": [],
"User": []
},
"PartitionDiscount": [],
"PartitionIncrease": [],
"PaymentChange": null,
"Payments": [ {
"AuthorizationCode": "",
"Discount": 0.0000000000000000E+000,
"ExpirationDateCard": "",
"FirstDigitCard": "",
"FlagCard": "",
"IdWallet": "",
"Increase": 0.0000000000000000E+000,
"InstallmentAmount": 0,
"ItemNumber": 1,
"LastDigitCard": "",
"NetworkCard": "",
"OwnerCard": "",
"PartitionDiscount": [],
{ "Document""12345678909", PartitionIncrease": [],
"PartnerCode""10", "DocumentType""cdtCPF" PaymentNumber": 1,
} ], }, "IDPaymentType": "001600000590853cptMoney",
"Items"[ { "CaptionPacking""UN", Total": 1.7820000000000000E+001,
"Description""COCA COLA", "InternalCode""3988", "TransactionCanceledCode": "ItemNumber"1,
"PackingQuantity"1.000, "Quantity"5.000"Status""sttValid", "TransactionCode": "TotalPrice"9.89,
"UnitPrice"1.00 } ], "PaymentChange"{ "PaymentTypeTypeWallet": "cptMoney",
"Total"0.00 }, "Payments"[ { }
"ItemNumber"1, "authorizationCode""FD455FKL34SS1100AXV", "PaymentNumber"1, ],
"PaymentType""cptMoney", SolidaryChange": null,
"Total"9.89 : 1.7820000000000000E+001,
} "VouchersPrint": [],
"Total"0.000 },
"Version": 1
}