| [ |
| { |
| "id": "2210a239c2ca49ceb96f3d280badfcd4", |
| "timestamp": "2026-03-27T14:38:20.435588+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "ff51ae3d794641208e5e367b0ec3929d", |
| "items": [ |
| { |
| "product_id": "908e33ab231b4b6a95778ba228004aa4", |
| "variant_id": "65ec61522ce24b4c82377a3b7936d49c", |
| "name": "3113 (Стандарт)", |
| "barcode": "3113", |
| "quantity": 5, |
| "price_at_sale": "15000", |
| "cost_price_at_sale": "13000", |
| "discount_per_item": "0", |
| "total": "75000" |
| } |
| ], |
| "total_amount": "75000.00", |
| "payment_method": "cash", |
| "loader_fee": "0.00", |
| "commission_fee": "0.00", |
| "commission_rate": "0", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 2210a239</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 2210a239</h1>\n <p>от 27.03.2026 14:38</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>3113 (Стандарт)</td>\n <td style=\"text-align: right;\">5</td>\n <td style=\"text-align: right;\">15 000,00</td>\n \n <td style=\"text-align: right;\">75 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">75 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "55c2b193ebc94456b78abbe9197b1938", |
| "timestamp": "2026-03-31T13:23:09.710124+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "ff51ae3d794641208e5e367b0ec3929d", |
| "items": [ |
| { |
| "product_id": "908e33ab231b4b6a95778ba228004aa4", |
| "variant_id": "65ec61522ce24b4c82377a3b7936d49c", |
| "name": "3113 (Стандарт)", |
| "barcode": "3113", |
| "quantity": 15, |
| "price_at_sale": "15000", |
| "cost_price_at_sale": "13000", |
| "discount_per_item": "0", |
| "total": "225000" |
| }, |
| { |
| "product_id": "dcdc8281771e4448a7beb900136c9ec9", |
| "variant_id": "52468006339a4f7cb6307ed28afda54e", |
| "name": "3829 (Стандарт)", |
| "barcode": "3829", |
| "quantity": 40, |
| "price_at_sale": "20000", |
| "cost_price_at_sale": "18000", |
| "discount_per_item": "0", |
| "total": "800000" |
| } |
| ], |
| "total_amount": "1025000.00", |
| "payment_method": "card", |
| "loader_fee": "0.00", |
| "commission_fee": "0.00", |
| "commission_rate": "0", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 55c2b193</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 55c2b193</h1>\n <p>от 31.03.2026 13:23</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>3113 (Стандарт)</td>\n <td style=\"text-align: right;\">15</td>\n <td style=\"text-align: right;\">15 000,00</td>\n \n <td style=\"text-align: right;\">225 000,00</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>3829 (Стандарт)</td>\n <td style=\"text-align: right;\">40</td>\n <td style=\"text-align: right;\">20 000,00</td>\n \n <td style=\"text-align: right;\">800 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">1 025 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Карта</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "1b0ada78325f42f1ad9bed8caf2ac41a", |
| "timestamp": "2026-03-31T13:25:39.273736+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "ff51ae3d794641208e5e367b0ec3929d", |
| "items": [ |
| { |
| "product_id": "dcdc8281771e4448a7beb900136c9ec9", |
| "variant_id": "52468006339a4f7cb6307ed28afda54e", |
| "name": "3829 (Стандарт)", |
| "barcode": "3829", |
| "quantity": 3, |
| "price_at_sale": "20000", |
| "cost_price_at_sale": "18000", |
| "discount_per_item": "0", |
| "total": "60000" |
| } |
| ], |
| "total_amount": "60000.00", |
| "payment_method": "card", |
| "loader_fee": "0.00", |
| "commission_fee": "0.00", |
| "commission_rate": "0", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 1b0ada78</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 1b0ada78</h1>\n <p>от 31.03.2026 13:25</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>3829 (Стандарт)</td>\n <td style=\"text-align: right;\">3</td>\n <td style=\"text-align: right;\">20 000,00</td>\n \n <td style=\"text-align: right;\">60 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">60 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Карта</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "7cf5ca55f0d04d17b819e5eaedcf45b7", |
| "timestamp": "2026-03-31T13:56:09.382493+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "ff51ae3d794641208e5e367b0ec3929d", |
| "items": [ |
| { |
| "product_id": "908e33ab231b4b6a95778ba228004aa4", |
| "variant_id": "65ec61522ce24b4c82377a3b7936d49c", |
| "name": "3113 (Стандарт)", |
| "barcode": "3113", |
| "quantity": 1, |
| "price_at_sale": "15000", |
| "cost_price_at_sale": "13000", |
| "discount_per_item": "0", |
| "total": "15000" |
| }, |
| { |
| "product_id": "dcdc8281771e4448a7beb900136c9ec9", |
| "variant_id": "52468006339a4f7cb6307ed28afda54e", |
| "name": "3829 (Стандарт)", |
| "barcode": "3829", |
| "quantity": 3, |
| "price_at_sale": "20000", |
| "cost_price_at_sale": "18000", |
| "discount_per_item": "0", |
| "total": "60000" |
| } |
| ], |
| "total_amount": "76712.5000", |
| "payment_method": "cash", |
| "loader_fee": "1000.00", |
| "commission_fee": "712.5000", |
| "commission_rate": "0.95", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 7cf5ca55</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 7cf5ca55</h1>\n <p>от 31.03.2026 13:56</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>3113 (Стандарт)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">15 000,00</td>\n \n <td style=\"text-align: right;\">15 000,00</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>3829 (Стандарт)</td>\n <td style=\"text-align: right;\">3</td>\n <td style=\"text-align: right;\">20 000,00</td>\n \n <td style=\"text-align: right;\">60 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"summary\">\n <td colspan=\"4\" style=\"text-align: right;\">Сумма по товарам:</td>\n <td style=\"text-align: right;\">75 000,00 ₸</td>\n </tr>\n \n <tr class=\"summary\">\n <td colspan=\"4\" style=\"text-align: right;\">Услуги грузчика:</td>\n <td style=\"text-align: right;\">1 000,00 ₸</td>\n </tr>\n \n <tr class=\"summary\">\n <td colspan=\"4\" style=\"text-align: right;\">Комиссия за перевод (0.95%):</td>\n <td style=\"text-align: right;\">712,50 ₸</td>\n </tr>\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">76 712,50 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "28fdbf68fda6479cb453531cc04cd5a7", |
| "timestamp": "2026-03-31T14:19:33.616388+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "60d88782aca34288980ca4f761c9455c", |
| "items": [ |
| { |
| "product_id": "1e07f8bf07e844fb9c92cac79f239c87", |
| "variant_id": "77ebe88bc7a2480bbef99094b7967dac", |
| "name": "1382 (Стандарт)", |
| "barcode": "1382", |
| "quantity": 1, |
| "price_at_sale": "30000", |
| "cost_price_at_sale": "25000", |
| "discount_per_item": "0", |
| "total": "30000" |
| } |
| ], |
| "total_amount": "30000.00", |
| "payment_method": "card", |
| "loader_fee": "0.00", |
| "commission_fee": "0.00", |
| "commission_rate": "0", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 28fdbf68</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 28fdbf68</h1>\n <p>от 31.03.2026 14:19</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>1382 (Стандарт)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">30 000,00</td>\n \n <td style=\"text-align: right;\">30 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">30 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Карта</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "dba5fdc7030141c0816ff2af209f2e1b", |
| "timestamp": "2026-03-31T14:20:10.266716+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "60d88782aca34288980ca4f761c9455c", |
| "items": [ |
| { |
| "product_id": "1e07f8bf07e844fb9c92cac79f239c87", |
| "variant_id": "77ebe88bc7a2480bbef99094b7967dac", |
| "name": "1382 (Стандарт)", |
| "barcode": "1382", |
| "quantity": 3, |
| "price_at_sale": "30000", |
| "cost_price_at_sale": "25000", |
| "discount_per_item": "0", |
| "total": "90000" |
| } |
| ], |
| "total_amount": "90000.00", |
| "payment_method": "cash", |
| "loader_fee": "0.00", |
| "commission_fee": "0.00", |
| "commission_rate": "0", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная dba5fdc7</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № dba5fdc7</h1>\n <p>от 31.03.2026 14:20</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>1382 (Стандарт)</td>\n <td style=\"text-align: right;\">3</td>\n <td style=\"text-align: right;\">30 000,00</td>\n \n <td style=\"text-align: right;\">90 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">90 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "4b37542e68cc43af90251c8cb6b1eb3c", |
| "timestamp": "2026-04-07T15:08:55.449815+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "60d88782aca34288980ca4f761c9455c", |
| "items": [ |
| { |
| "product_id": "1e07f8bf07e844fb9c92cac79f239c87", |
| "variant_id": "77ebe88bc7a2480bbef99094b7967dac", |
| "name": "1382 (Стандарт)", |
| "barcode": "1382", |
| "quantity": 2, |
| "price_at_sale": "30000", |
| "cost_price_at_sale": "25000", |
| "discount_per_item": "0", |
| "total": "60000" |
| } |
| ], |
| "total_amount": "60000.00", |
| "payment_method": "cash", |
| "loader_fee": "0.00", |
| "commission_fee": "0.00", |
| "commission_rate": "0", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 4b37542e</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 4b37542e</h1>\n <p>от 07.04.2026 15:08</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>1382 (Стандарт)</td>\n <td style=\"text-align: right;\">2</td>\n <td style=\"text-align: right;\">30 000,00</td>\n \n <td style=\"text-align: right;\">60 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">60 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "1761f88bd8f34736ad05d25eded40603", |
| "timestamp": "2026-04-07T15:10:32.833392+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "60d88782aca34288980ca4f761c9455c", |
| "items": [ |
| { |
| "product_id": "dcdc8281771e4448a7beb900136c9ec9", |
| "variant_id": "52468006339a4f7cb6307ed28afda54e", |
| "name": "3829 (Стандарт)", |
| "barcode": "3829", |
| "quantity": 10, |
| "price_at_sale": "20000", |
| "cost_price_at_sale": "18000", |
| "discount_per_item": "0", |
| "total": "200000" |
| } |
| ], |
| "total_amount": "200000.00", |
| "payment_method": "card", |
| "loader_fee": "0.00", |
| "commission_fee": "0.00", |
| "commission_rate": "0", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 1761f88b</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 1761f88b</h1>\n <p>от 07.04.2026 15:10</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>3829 (Стандарт)</td>\n <td style=\"text-align: right;\">10</td>\n <td style=\"text-align: right;\">20 000,00</td>\n \n <td style=\"text-align: right;\">200 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">200 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Карта</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "9484ba9d8c694c6ebe90edf0c069e08d", |
| "timestamp": "2026-04-07T15:17:15.482156+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "60d88782aca34288980ca4f761c9455c", |
| "items": [ |
| { |
| "product_id": "1e07f8bf07e844fb9c92cac79f239c87", |
| "variant_id": "77ebe88bc7a2480bbef99094b7967dac", |
| "name": "1382 (Стандарт)", |
| "barcode": "1382", |
| "quantity": 1, |
| "price_at_sale": "30000", |
| "cost_price_at_sale": "25000", |
| "discount_per_item": "0", |
| "total": "30000" |
| }, |
| { |
| "product_id": "dcdc8281771e4448a7beb900136c9ec9", |
| "variant_id": "52468006339a4f7cb6307ed28afda54e", |
| "name": "3829 (Стандарт)", |
| "barcode": "3829", |
| "quantity": 1, |
| "price_at_sale": "20000", |
| "cost_price_at_sale": "18000", |
| "discount_per_item": "0", |
| "total": "20000" |
| } |
| ], |
| "total_amount": "50000.00", |
| "payment_method": "card", |
| "loader_fee": "0.00", |
| "commission_fee": "0.00", |
| "commission_rate": "0", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 9484ba9d</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 9484ba9d</h1>\n <p>от 07.04.2026 15:17</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>1382 (Стандарт)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">30 000,00</td>\n \n <td style=\"text-align: right;\">30 000,00</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>3829 (Стандарт)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">20 000,00</td>\n \n <td style=\"text-align: right;\">20 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">50 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Карта</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "082b400ed49445acb6d0aac70c07f4b6", |
| "timestamp": "2026-04-08T12:26:56.244288+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "60d88782aca34288980ca4f761c9455c", |
| "items": [ |
| { |
| "product_id": "1e07f8bf07e844fb9c92cac79f239c87", |
| "variant_id": "77ebe88bc7a2480bbef99094b7967dac", |
| "name": "1382 (Стандарт)", |
| "barcode": "1382", |
| "quantity": 4, |
| "price_at_sale": "30000", |
| "cost_price_at_sale": "25000", |
| "discount_per_item": "0", |
| "total": "120000" |
| } |
| ], |
| "total_amount": "120000.00", |
| "payment_method": "cash", |
| "loader_fee": "0.00", |
| "commission_fee": "0.00", |
| "commission_rate": "0", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 082b400e</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 082b400e</h1>\n <p>от 08.04.2026 12:26</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>1382 (Стандарт)</td>\n <td style=\"text-align: right;\">4</td>\n <td style=\"text-align: right;\">30 000,00</td>\n \n <td style=\"text-align: right;\">120 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">120 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "27fa72d111a34f9fb7f47ef41b19093e", |
| "timestamp": "2026-04-08T12:35:12.573870+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "60d88782aca34288980ca4f761c9455c", |
| "items": [ |
| { |
| "product_id": "1e07f8bf07e844fb9c92cac79f239c87", |
| "variant_id": "77ebe88bc7a2480bbef99094b7967dac", |
| "name": "1382 (Стандарт)", |
| "barcode": "1382", |
| "quantity": 4, |
| "price_at_sale": "30000", |
| "cost_price_at_sale": "25000", |
| "discount_per_item": "0", |
| "total": "120000" |
| } |
| ], |
| "total_amount": "120000.00", |
| "payment_method": "card", |
| "loader_fee": "0.00", |
| "commission_fee": "0.00", |
| "commission_rate": "0", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 27fa72d1</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 27fa72d1</h1>\n <p>от 08.04.2026 12:35</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>1382 (Стандарт)</td>\n <td style=\"text-align: right;\">4</td>\n <td style=\"text-align: right;\">30 000,00</td>\n \n <td style=\"text-align: right;\">120 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">120 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Карта</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| }, |
| { |
| "id": "97368a2167ca421790714927d5715667", |
| "timestamp": "2026-04-15T16:00:45.405287+05:00", |
| "type": "sale", |
| "status": "completed", |
| "original_transaction_id": null, |
| "user_id": "bdb5d63713bd4c149752fe7ac285799b", |
| "user_name": "Тестовый", |
| "kassa_id": "84120f474f3349348b57ca67d8c49ff0", |
| "kassa_name": "Тест", |
| "shift_id": "60d88782aca34288980ca4f761c9455c", |
| "items": [ |
| { |
| "product_id": "908e33ab231b4b6a95778ba228004aa4", |
| "variant_id": "65ec61522ce24b4c82377a3b7936d49c", |
| "name": "3113 (Стандарт)", |
| "barcode": "3113", |
| "quantity": 20, |
| "price_at_sale": "15000", |
| "cost_price_at_sale": "13000", |
| "discount_per_item": "0", |
| "total": "300000" |
| }, |
| { |
| "product_id": "dcdc8281771e4448a7beb900136c9ec9", |
| "variant_id": "52468006339a4f7cb6307ed28afda54e", |
| "name": "3829 (Стандарт)", |
| "barcode": "3829", |
| "quantity": 1, |
| "price_at_sale": "20000", |
| "cost_price_at_sale": "18000", |
| "discount_per_item": "0", |
| "total": "20000" |
| } |
| ], |
| "total_amount": "324040.0000", |
| "payment_method": "cash", |
| "loader_fee": "1000.00", |
| "commission_fee": "3040.0000", |
| "commission_rate": "0.95", |
| "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 97368a21</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 97368a21</h1>\n <p>от 15.04.2026 16:00</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>3113 (Стандарт)</td>\n <td style=\"text-align: right;\">20</td>\n <td style=\"text-align: right;\">15 000,00</td>\n \n <td style=\"text-align: right;\">300 000,00</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>3829 (Стандарт)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">20 000,00</td>\n \n <td style=\"text-align: right;\">20 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"summary\">\n <td colspan=\"4\" style=\"text-align: right;\">Сумма по товарам:</td>\n <td style=\"text-align: right;\">320 000,00 ₸</td>\n </tr>\n \n <tr class=\"summary\">\n <td colspan=\"4\" style=\"text-align: right;\">Услуги грузчика:</td>\n <td style=\"text-align: right;\">1 000,00 ₸</td>\n </tr>\n \n <tr class=\"summary\">\n <td colspan=\"4\" style=\"text-align: right;\">Комиссия за перевод (0.95%):</td>\n <td style=\"text-align: right;\">3 040,00 ₸</td>\n </tr>\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">324 040,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n " |
| } |
| ] |