Authorization: Bearer ********************
{
"SaleHeaderModel": {
"documentDate": "2025-11-05",
"documentNumber": "88",
"documentDesc": "dolore",
"cardId": "Coupe",
"loyaltyType": "exercitation deserunt",
"bonusCardPercent": 72250461,
"cardDiscountPercent": 72880571,
"taxCustomerType": "tempor nulla fugiat non",
"taxCustomerId": "qui non deserunt in veniam",
"taxCustomerName": "Ellis Langworth",
"totalPayAmount": 206,
"cashAmount": 919,
"totalCardUsedBonus": -45766217,
"totalCardAddedBonus": -65999736,
"totalItemDiscount": 98750963,
"totalCardDiscount": -39751325,
"totalVoucherDiscount": 96686633,
"voucherAmount": 320,
"email": "[email protected]",
"sellerId": "sit",
"sellerName": "Isabel Wisoky"
},
"SaleLineModel": [
{
"itemId": "quis dolor amet ullamco",
"barcode": "42",
"itemName": "Estelle West",
"qty": -85125929,
"baseprice": 501,
"price": 391,
"bonusCardPercent": -52537648,
"cardDiscountPercent": 67284345,
"payAmount": 54,
"cardUsedBonus": 74036723,
"cardAddedBonus": 68864556,
"itemDiscount": -57734533,
"cardDiscount": 68921921,
"voucherDiscount": 17801887,
"usedVoucher": 11381430
}
],
"SalePayment": [
{
"paymentType": "sunt id qui cillum",
"amount": 534,
"customerId": "sed",
"bankId": "nulla"
},
{
"paymentType": "ullamco",
"amount": 791,
"customerId": "elit ipsum in",
"bankId": "ut qui Lorem consectetur"
}
],
"Loyalty": {
"customerPkId": "velit in",
"cardId": "Coupe",
"discountPercent": -51743605,
"bonusPercent": -90803535,
"cardPkId": 93059296,
"baseAmount": 378,
"amount": 440,
"discountAmount": 1,
"bonusAddedAmount": 362,
"giftUsedAmount": 869
},
"SaleVoucherLineModel": {
"percent": 89381554,
"amount": 47,
"usedAmount": 35,
"voucherId": "nulla tempor cupidatat eu Excepteur",
"voucherType": "deserunt est in occaecat ullamco"
}
}
curl --location --request POST 'https://retailapiv2.smartlogic.mn/api/sale/sale' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"SaleHeaderModel": {
"documentDate": "2025-11-05",
"documentNumber": "88",
"documentDesc": "dolore",
"cardId": "Coupe",
"loyaltyType": "exercitation deserunt",
"bonusCardPercent": 72250461,
"cardDiscountPercent": 72880571,
"taxCustomerType": "tempor nulla fugiat non",
"taxCustomerId": "qui non deserunt in veniam",
"taxCustomerName": "Ellis Langworth",
"totalPayAmount": 206,
"cashAmount": 919,
"totalCardUsedBonus": -45766217,
"totalCardAddedBonus": -65999736,
"totalItemDiscount": 98750963,
"totalCardDiscount": -39751325,
"totalVoucherDiscount": 96686633,
"voucherAmount": 320,
"email": "[email protected]",
"sellerId": "sit",
"sellerName": "Isabel Wisoky"
},
"SaleLineModel": [
{
"itemId": "quis dolor amet ullamco",
"barcode": "42",
"itemName": "Estelle West",
"qty": -85125929,
"baseprice": 501,
"price": 391,
"bonusCardPercent": -52537648,
"cardDiscountPercent": 67284345,
"payAmount": 54,
"cardUsedBonus": 74036723,
"cardAddedBonus": 68864556,
"itemDiscount": -57734533,
"cardDiscount": 68921921,
"voucherDiscount": 17801887,
"usedVoucher": 11381430
}
],
"SalePayment": [
{
"paymentType": "sunt id qui cillum",
"amount": 534,
"customerId": "sed",
"bankId": "nulla"
},
{
"paymentType": "ullamco",
"amount": 791,
"customerId": "elit ipsum in",
"bankId": "ut qui Lorem consectetur"
}
],
"Loyalty": {
"customerPkId": "velit in",
"cardId": "Coupe",
"discountPercent": -51743605,
"bonusPercent": -90803535,
"cardPkId": 93059296,
"baseAmount": 378,
"amount": 440,
"discountAmount": 1,
"bonusAddedAmount": 362,
"giftUsedAmount": 869
},
"SaleVoucherLineModel": {
"percent": 89381554,
"amount": 47,
"usedAmount": 35,
"voucherId": "nulla tempor cupidatat eu Excepteur",
"voucherType": "deserunt est in occaecat ullamco"
}
}'
{}