This commit is contained in:
behruz-dev
2025-11-05 13:56:31 +05:00
parent 93f603afe5
commit 9f79b30b06
3 changed files with 219 additions and 71 deletions

View File

@@ -1,8 +1,140 @@
{
"data": {
"current_page": 1,
"total": 304,
"total": 308,
"data": [
{
"id": 2468,
"description": null,
"type": "supplier",
"name": "''NUMO INFIMAX TYRES''MCHJ",
"start_date": "04.11.2025",
"status": "active",
"total_amount": -17015000,
"credit_amount": 0,
"debt_amount": 17015000,
"person": {
"id": 2278,
"name": "''NUMO INFIMAX TYRES''MCHJ",
"tin": "309356444",
"phone": "+998900454747",
"address": null,
"longitude": null,
"latitude": null,
"district": null,
"region": null
},
"balances": [
{
"id": 1506,
"start_amount": 0,
"amount": -17015000,
"start_date": "04.11.2025",
"currency": {
"id": 1,
"name": {
"ru": "Узбекский сум",
"uz": "O'zbek so'mi"
},
"symbol": "UZS",
"icon": "https://backend.app.uyqur.uz/public/upload/image/YZfoihq4VHMSHaZziQlp.webp"
}
}
],
"custom_field_values": [],
"is_archived": false
},
{
"id": 2270,
"description": null,
"type": "supplier",
"name": "''FOONDAMENT GROUP''MCHJ QUYLIQ",
"start_date": "04.11.2025",
"status": "active",
"total_amount": 0,
"credit_amount": 0,
"debt_amount": 0,
"person": {
"id": 2089,
"name": "''FOONDAMENT GROUP''MCHJ QUYLIQ",
"tin": "311237505.",
"phone": "+998977027008",
"address": null,
"longitude": null,
"latitude": null,
"district": null,
"region": null
},
"balances": [],
"custom_field_values": [],
"is_archived": false
},
{
"id": 2043,
"description": null,
"type": "supplier",
"name": "''TDN STROY MEXANIC''MCHJ",
"start_date": "04.11.2025",
"status": "active",
"total_amount": 0,
"credit_amount": 0,
"debt_amount": 0,
"person": {
"id": 1873,
"name": "''TDN STROY MEXANIC''MCHJ",
"tin": "311815807",
"phone": "+998914491469",
"address": null,
"longitude": null,
"latitude": null,
"district": null,
"region": null
},
"balances": [
{
"id": 1499,
"start_amount": 0,
"amount": 0,
"start_date": "04.11.2025",
"currency": {
"id": 1,
"name": {
"ru": "Узбекский сум",
"uz": "O'zbek so'mi"
},
"symbol": "UZS",
"icon": "https://backend.app.uyqur.uz/public/upload/image/YZfoihq4VHMSHaZziQlp.webp"
}
}
],
"custom_field_values": [],
"is_archived": false
},
{
"id": 1956,
"description": null,
"type": "supplier",
"name": "''FOONDAMENT GROUP''MCHJ YUNUSOBOD",
"start_date": "04.11.2025",
"status": "active",
"total_amount": 0,
"credit_amount": 0,
"debt_amount": 0,
"person": {
"id": 1790,
"name": "''FOONDAMENT GROUP''MCHJ",
"tin": "311237505",
"phone": "+998977027008",
"address": null,
"longitude": null,
"latitude": null,
"district": null,
"region": null
},
"balances": [],
"custom_field_values": [],
"is_archived": false
},
{
"id": 1444,
"description": null,
@@ -51,9 +183,9 @@
"name": "''TD MONOLIT TECH''MCHJ",
"start_date": "30.10.2025",
"status": "active",
"total_amount": -5512000,
"total_amount": 0,
"credit_amount": 0,
"debt_amount": 5512000,
"debt_amount": 0,
"person": {
"id": 1313,
"name": "''TD MONOLIT TECH''MCHJ",
@@ -69,7 +201,7 @@
{
"id": 1433,
"start_amount": 0,
"amount": -5512000,
"amount": 0,
"start_date": "31.10.2025",
"currency": {
"id": 1,
@@ -106,7 +238,23 @@
"district": null,
"region": null
},
"balances": [],
"balances": [
{
"id": 1468,
"start_amount": 0,
"amount": 0,
"start_date": "31.10.2025",
"currency": {
"id": 1,
"name": {
"ru": "Узбекский сум",
"uz": "O'zbek so'mi"
},
"symbol": "UZS",
"icon": "https://backend.app.uyqur.uz/public/upload/image/YZfoihq4VHMSHaZziQlp.webp"
}
}
],
"custom_field_values": [],
"is_archived": false
},
@@ -158,9 +306,9 @@
"name": "Naryad Baxron Izolyatsiyachi",
"start_date": null,
"status": "active",
"total_amount": -1500000,
"total_amount": -10000000,
"credit_amount": 0,
"debt_amount": 1500000,
"debt_amount": 10000000,
"person": {
"id": 1260,
"name": "Naryad Baxron Izolyatsiyachi",
@@ -176,7 +324,7 @@
{
"id": 1352,
"start_amount": 0,
"amount": -1500000,
"amount": -10000000,
"start_date": "29.10.2025",
"currency": {
"id": 1,
@@ -306,8 +454,8 @@
"name": "''DIXI TRADE''MCHJ",
"start_date": "17.10.2025",
"status": "active",
"total_amount": 64298000,
"credit_amount": 64298000,
"total_amount": 44298000,
"credit_amount": 44298000,
"debt_amount": 0,
"person": {
"id": 1225,
@@ -324,7 +472,7 @@
{
"id": 1289,
"start_amount": 0,
"amount": 64298000,
"amount": 44298000,
"start_date": "17.10.2025",
"currency": {
"id": 1,
@@ -716,9 +864,9 @@
"name": "Jasur Kran Ustanovshik",
"start_date": null,
"status": "active",
"total_amount": -24160000,
"total_amount": -49160000,
"credit_amount": 0,
"debt_amount": 24160000,
"debt_amount": 49160000,
"person": {
"id": 952,
"name": "Jasur Kran Ustanovshik",
@@ -734,7 +882,7 @@
{
"id": 995,
"start_amount": 0,
"amount": -24160000,
"amount": -49160000,
"start_date": "02.10.2025",
"currency": {
"id": 1,
@@ -1167,9 +1315,9 @@
"name": "1",
"start_date": "02.09.2025",
"status": "active",
"total_amount": 0,
"total_amount": -20000,
"credit_amount": 0,
"debt_amount": 0,
"debt_amount": 20000,
"person": {
"id": 854,
"name": "11",
@@ -1185,7 +1333,7 @@
{
"id": 870,
"start_amount": 0,
"amount": 0,
"amount": -20000,
"start_date": "02.09.2025",
"currency": {
"id": 1,
@@ -1535,9 +1683,9 @@
"name": "''DODGE GRAND''MCHJ",
"start_date": "13.08.2025",
"status": "active",
"total_amount": 0,
"total_amount": -2086000,
"credit_amount": 0,
"debt_amount": 0,
"debt_amount": 2086000,
"person": {
"id": 829,
"name": "''DODGE GRAND''MCHJ",
@@ -1553,7 +1701,7 @@
{
"id": 832,
"start_amount": 0,
"amount": 0,
"amount": -2086000,
"start_date": "13.08.2025",
"currency": {
"id": 1,
@@ -2164,8 +2312,8 @@
"name": "OOO''DURABLE BETON'' YUNUSOBOD",
"start_date": "15.07.2025",
"status": "active",
"total_amount": 569189500,
"credit_amount": 569189500,
"total_amount": 674294500,
"credit_amount": 674294500,
"debt_amount": 0,
"person": {
"id": 770,
@@ -2182,7 +2330,7 @@
{
"id": 772,
"start_amount": 0,
"amount": 569189500,
"amount": 674294500,
"start_date": "16.07.2025",
"currency": {
"id": 1,
@@ -3115,8 +3263,8 @@
"name": "OOO''URBAN DOORS''",
"start_date": "18.06.2025",
"status": "active",
"total_amount": 38750000,
"credit_amount": 38750000,
"total_amount": 0,
"credit_amount": 0,
"debt_amount": 0,
"person": {
"id": 708,
@@ -3133,7 +3281,7 @@
{
"id": 686,
"start_amount": 0,
"amount": 38750000,
"amount": 0,
"start_date": "18.06.2025",
"currency": {
"id": 1,
@@ -3361,8 +3509,8 @@
"name": "Qurilish Nalichka",
"start_date": "13.06.2025",
"status": "active",
"total_amount": 60240000,
"credit_amount": 60240000,
"total_amount": 60960000,
"credit_amount": 60960000,
"debt_amount": 0,
"person": {
"id": 677,
@@ -3379,7 +3527,7 @@
{
"id": 661,
"start_amount": 0,
"amount": 92964000,
"amount": 93684000,
"start_date": "14.06.2025",
"currency": {
"id": 1,
@@ -3555,8 +3703,8 @@
"name": "OOO''DURABLE BETON''NASOS",
"start_date": "09.06.2025",
"status": "active",
"total_amount": 25503500,
"credit_amount": 25503500,
"total_amount": 28623000,
"credit_amount": 28623000,
"debt_amount": 0,
"person": {
"id": 665,
@@ -3573,7 +3721,7 @@
{
"id": 655,
"start_amount": 0,
"amount": 25503500,
"amount": 28623000,
"start_date": "09.06.2025",
"currency": {
"id": 1,
@@ -3933,8 +4081,8 @@
"name": "АПТЕКА НАЛИЧКА",
"start_date": "29.05.2025",
"status": "active",
"total_amount": 1325278,
"credit_amount": 1325278,
"total_amount": 678278,
"credit_amount": 678278,
"debt_amount": 0,
"person": {
"id": 650,
@@ -3951,7 +4099,7 @@
{
"id": 691,
"start_amount": 0,
"amount": 1325278,
"amount": 678278,
"start_date": "24.06.2025",
"currency": {
"id": 1,
@@ -4833,8 +4981,8 @@
"name": "Pagruzshik Nalichka",
"start_date": "12.05.2025",
"status": "active",
"total_amount": 1000000,
"credit_amount": 1000000,
"total_amount": 600000,
"credit_amount": 600000,
"debt_amount": 0,
"person": {
"id": 603,
@@ -4851,7 +4999,7 @@
{
"id": 600,
"start_amount": 0,
"amount": 1000000,
"amount": 600000,
"start_date": "13.05.2025",
"currency": {
"id": 1,
@@ -6049,8 +6197,8 @@
"name": "ИП ООО \u003C\u003CMODULSTAL\u003E\u003E",
"start_date": "17.03.2025",
"status": "active",
"total_amount": 1212059400,
"credit_amount": 1212059400,
"total_amount": 1197059400,
"credit_amount": 1197059400,
"debt_amount": 0,
"person": {
"id": 491,
@@ -6067,7 +6215,7 @@
{
"id": 461,
"start_amount": 0,
"amount": 1212059400,
"amount": 1197059400,
"start_date": "17.03.2025",
"currency": {
"id": 1,
@@ -6500,9 +6648,9 @@
"name": "Руслан карта",
"start_date": null,
"status": "active",
"total_amount": -360000,
"total_amount": -2860000,
"credit_amount": 0,
"debt_amount": 360000,
"debt_amount": 2860000,
"person": {
"id": 429,
"name": "Руслан карта",
@@ -6518,7 +6666,7 @@
{
"id": 426,
"start_amount": 0,
"amount": -360000,
"amount": -2860000,
"start_date": "12.02.2025",
"currency": {
"id": 1,
@@ -7411,8 +7559,8 @@
"name": "OOO\u003C\u003CVORTEX LINE\u003E\u003E",
"start_date": "08.11.2024",
"status": "active",
"total_amount": 489535600,
"credit_amount": 489535600,
"total_amount": 474535600,
"credit_amount": 474535600,
"debt_amount": 0,
"person": {
"id": 340,
@@ -7429,7 +7577,7 @@
{
"id": 323,
"start_amount": 0,
"amount": 489535600,
"amount": 474535600,
"start_date": "11.11.2024",
"currency": {
"id": 1,
@@ -7575,8 +7723,8 @@
"name": "OOO''USMANOV SUHROB BUSINESS''",
"start_date": "22.10.2024",
"status": "active",
"total_amount": 119060000,
"credit_amount": 119060000,
"total_amount": 123560000,
"credit_amount": 123560000,
"debt_amount": 0,
"person": {
"id": 329,
@@ -7593,7 +7741,7 @@
{
"id": 308,
"start_amount": 0,
"amount": 119060000,
"amount": 123560000,
"start_date": "25.10.2024",
"currency": {
"id": 1,
@@ -7739,8 +7887,8 @@
"name": "BAHRIDDIN OKA NON",
"start_date": "07.10.2024",
"status": "active",
"total_amount": 6190300,
"credit_amount": 6190300,
"total_amount": 7555300,
"credit_amount": 7555300,
"debt_amount": 0,
"person": {
"id": 316,
@@ -7757,7 +7905,7 @@
{
"id": 298,
"start_amount": 0,
"amount": 6190300,
"amount": 7555300,
"start_date": "18.10.2024",
"currency": {
"id": 1,
@@ -7780,8 +7928,8 @@
"name": "HAYRULLO OKA FOOD SITI",
"start_date": "07.10.2024",
"status": "active",
"total_amount": 36261500,
"credit_amount": 36261500,
"total_amount": 57816500,
"credit_amount": 57816500,
"debt_amount": 0,
"person": {
"id": 315,
@@ -7798,7 +7946,7 @@
{
"id": 299,
"start_amount": 0,
"amount": 36261500,
"amount": 57816500,
"start_date": "18.10.2024",
"currency": {
"id": 1,
@@ -9173,8 +9321,8 @@
"name": "OOO''DURABLE BETON''",
"start_date": "05.08.2024",
"status": "active",
"total_amount": 168286000,
"credit_amount": 168286000,
"total_amount": 148286000,
"credit_amount": 148286000,
"debt_amount": 0,
"person": {
"id": 225,
@@ -9191,7 +9339,7 @@
{
"id": 198,
"start_amount": 0,
"amount": 168286000,
"amount": 148286000,
"start_date": "05.08.2024",
"currency": {
"id": 1,
@@ -9460,9 +9608,9 @@
"name": "''ALI JIONG''MCHJ XK",
"start_date": "23.07.2024",
"status": "active",
"total_amount": -57600,
"credit_amount": 0,
"debt_amount": 57600,
"total_amount": 19123200,
"credit_amount": 19123200,
"debt_amount": 0,
"person": {
"id": 204,
"name": "''ALI JIONG''MCHJ XK",
@@ -9478,7 +9626,7 @@
{
"id": 173,
"start_amount": 0,
"amount": -57600,
"amount": 19123200,
"start_date": "23.07.2024",
"currency": {
"id": 1,
@@ -9982,8 +10130,8 @@
"name": "OOO OMAD-LUCKY",
"start_date": "12.07.2024",
"status": "active",
"total_amount": 296038500,
"credit_amount": 296038500,
"total_amount": 300595500,
"credit_amount": 300595500,
"debt_amount": 0,
"person": {
"id": 189,
@@ -10000,7 +10148,7 @@
{
"id": 153,
"start_amount": 0,
"amount": 296038500,
"amount": 300595500,
"start_date": "12.07.2024",
"currency": {
"id": 1,
@@ -12338,8 +12486,8 @@
"name": "ZIYOYEV'S BUILDINGS",
"start_date": "22.06.2024",
"status": "active",
"total_amount": 30706895100,
"credit_amount": 30706895100,
"total_amount": 30707562100,
"credit_amount": 30707562100,
"debt_amount": 0,
"person": {
"id": 104,
@@ -12356,7 +12504,7 @@
{
"id": 56,
"start_amount": 0,
"amount": -23590704900,
"amount": -23590037900,
"start_date": "24.06.2024",
"currency": {
"id": 1,

View File

@@ -19,7 +19,7 @@ from core.apps.orders.models import Party
headers = {
"Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2JhY2tlbmQuYXBwLnV5cXVyLnV6L21haW4vYXV0aC9sb2dpbiIsImlhdCI6MTc2MjE1NzIzNywiZXhwIjoxNzYyMjQzNjM3LCJuYmYiOjE3NjIxNTcyMzcsImp0aSI6Ijh3WXVpbHBIUU43eVdhdE4iLCJzdWIiOiIxMDQiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.uAebDLZUDKbImw8M9ZLEYApc2Li19a1XD6RJRcMvchY"
"Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2JhY2tlbmQuYXBwLnV5cXVyLnV6L21haW4vYXV0aC9sb2dpbiIsImlhdCI6MTc2MjI1MDQ1MCwiZXhwIjoxNzYyMzM2ODUwLCJuYmYiOjE3NjIyNTA0NTAsImp0aSI6IkVCOFpPTVZ1ZVJpMDlTOFciLCJzdWIiOiIxMDQiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.8K1SbHvgJDyNYHE6BYIXYesZl-AmFjU6GMeEuJwM_jA"
}

View File

@@ -19,7 +19,7 @@ from core.apps.orders.models import Party
headers = {
"Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2JhY2tlbmQuYXBwLnV5cXVyLnV6L21haW4vYXV0aC9sb2dpbiIsImlhdCI6MTc2MjE1NzIzNywiZXhwIjoxNzYyMjQzNjM3LCJuYmYiOjE3NjIxNTcyMzcsImp0aSI6Ijh3WXVpbHBIUU43eVdhdE4iLCJzdWIiOiIxMDQiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.uAebDLZUDKbImw8M9ZLEYApc2Li19a1XD6RJRcMvchY"
"Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2JhY2tlbmQuYXBwLnV5cXVyLnV6L21haW4vYXV0aC9sb2dpbiIsImlhdCI6MTc2MjI1MDQ1MCwiZXhwIjoxNzYyMzM2ODUwLCJuYmYiOjE3NjIyNTA0NTAsImp0aSI6IkVCOFpPTVZ1ZVJpMDlTOFciLCJzdWIiOiIxMDQiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.8K1SbHvgJDyNYHE6BYIXYesZl-AmFjU6GMeEuJwM_jA"
}