{
    "ok": true,
    "http_code": 200,
    "invoice_id": 2015,
    "data": {
        "factorDiscount": 0,
        "factorDiscountPercent": 0,
        "documentId": 7999,
        "financialPeriodCode": 700124571175,
        "inclusiveTaxTotalAmount": 0,
        "notInclusiveTaxTotalAmount": 149576471,
        "totalAmount": 149576471,
        "finalAmount": 149576471,
        "totalArticlesDiscount": 0,
        "totalDiscount": 0,
        "totalMarketersCommission": 0,
        "totalCashReceipt": 0,
        "totalCheckReceipt": 0,
        "totalReceipt": 0,
        "totalTaxes": 0,
        "totalTax1": 0,
        "totalTax2": 0,
        "totalTax": 0,
        "payable": 149576471,
        "remainder": 149576471,
        "additionsTotalAmount": 0,
        "deductionsTotalAmount": 0,
        "hasSalesReturnInvoice": false,
        "plans": [],
        "loyaltyCreditRecieved": 0,
        "isCanceled": true,
        "taxSystemInvoiceId": null,
        "taxSystemInvoiceStatus": 1,
        "taxSystemInvoiceStatusName": "ارسال نشده",
        "taxSystemInvoiceInquiryRequired": false,
        "taxSystemInvoiceTaxSerialNumber": null,
        "taxSystemInvoiceTrackingId": null,
        "buyerDebitBefore": 0,
        "buyerDebitAfter": 0,
        "stockOperationId": 3405,
        "stockOperationStatus": 100,
        "registerDateTime": "2026-04-22T00:32:22",
        "registrarUserFullName": "آقای علی بوعذار",
        "registrarUserPhoneNumber": "09165000780",
        "id": 2015,
        "number": 10452202,
        "account": {
            "name": "فاطمه شبان فاطمه شبان (مشتری)(1)",
            "fullCode": "1\/2\/4984",
            "treeFullCode": "1\/2\/4984\/",
            "treeCodes": [
                1,
                2,
                4984
            ],
            "accountTree": [
                {
                    "id": 185123503281,
                    "code": 4984,
                    "name": "فاطمه شبان فاطمه شبان (مشتری)(1)",
                    "fullCode": "1\/2\/4984",
                    "treeFullCode": "1\/2\/4984\/"
                }
            ],
            "nameTree": "",
            "code": 4984,
            "disabled": false,
            "natureCode": 1,
            "typeCode": 1,
            "commissionPercent": 0,
            "commissionPercentType": 1,
            "loyaltyCredit": 0,
            "phoneNumber": null,
            "fullName": "فاطمه شبان فاطمه شبان",
            "buyerBranch": null,
            "sellPriceCode": 1,
            "discountPercent": 0,
            "calculateTax": true,
            "parentId": 185123456796,
            "companyCode": 700124571174,
            "images": [],
            "accRemainder": null,
            "id": 185123503281
        },
        "center": null,
        "dateTime": "2026-04-22T00:27:55",
        "nameInFactor": null,
        "sellerInvoiceNumber": null,
        "sellerCustomsLicenseNumber": null,
        "sellerCustomsDeclarationNumber": null,
        "sellerContractRegistrationNumber": null,
        "sellerBranch": null,
        "buyerBranch": null,
        "factorDiscountInputValue": 0,
        "factorDiscountInputValueIsPercent": true,
        "description": "فاکتور فروش ایجاد شده از فرم‌افزار | فرم: 92 | مشتری: فاطمه شبان | کد کالا: 117 | طرح: سطح 2 | مبدا: انبار خودم",
        "articles": [
            {
                "baseAmount": 149576471,
                "baseCount": 1,
                "discount": 0,
                "discountPercent": 0,
                "tax": 0,
                "taxPercent": 0,
                "tax1Percent": 0,
                "tax2Percent": 0,
                "tax1": 0,
                "tax2": 0,
                "totalTax": 0,
                "totalAmount": 149576471,
                "totalAmountMinusDiscount": 149576471,
                "finalAmount": 149576471,
                "marketersCommissionPercent": 0,
                "marketersCommission": 0,
                "gridId": "fab7616d-955c-407b-81ec-d30eed026781",
                "id": 3803,
                "productOrService": {
                    "name": "فروش کالا مشتریان",
                    "taxable": true,
                    "discountPercent": 0,
                    "sellPercent": 0,
                    "code": "117",
                    "barcode": "117",
                    "enumerationOrDurationUnits": [
                        {
                            "parentId": null,
                            "buyPrice": 430000000,
                            "name": "عدد",
                            "displayName": "عدد",
                            "sellPrice1": 0,
                            "sellPrice2": 0,
                            "sellPrice3": 0,
                            "sellPrice4": 0,
                            "sellPrice5": 0,
                            "baseDifference": 1,
                            "difference": 1,
                            "productOrServiceId": 185123457022,
                            "inventoryControl": false,
                            "inventoryControlPerUnit": true,
                            "count": 0,
                            "productCount": 0,
                            "countsCalced": false,
                            "hideInvoiceInventory": false,
                            "id": 1851234570221,
                            "isDurationUnit": false
                        }
                    ],
                    "group": {
                        "name": "موبایل",
                        "id": 185123472847
                    },
                    "images": [],
                    "hasBarcode": false,
                    "description": null,
                    "model": null,
                    "color": null,
                    "size": null,
                    "property1": null,
                    "property2": null,
                    "lowStockInStorage": 0,
                    "countsCalced": true,
                    "inventoryControl": false,
                    "inventoryControlPerUnit": true,
                    "hideInvoiceInventory": false,
                    "lowStockInStorageStr": "0 عدد",
                    "id": 185123457022,
                    "isService": false
                },
                "storage": {
                    "companyName": "اهوازفون",
                    "name": "انبار پیش فرض (اهوازفون)",
                    "id": 185123456781
                },
                "count": 1,
                "enumerationOrDurationUnit": {
                    "parentId": null,
                    "buyPrice": 430000000,
                    "name": "عدد",
                    "displayName": "عدد",
                    "sellPrice1": 0,
                    "sellPrice2": 0,
                    "sellPrice3": 0,
                    "sellPrice4": 0,
                    "sellPrice5": 0,
                    "baseDifference": 1,
                    "difference": 1,
                    "productOrServiceId": 185123457022,
                    "inventoryControl": false,
                    "inventoryControlPerUnit": true,
                    "count": 0,
                    "productCount": 0,
                    "countsCalced": false,
                    "hideInvoiceInventory": false,
                    "id": 1851234570221,
                    "isDurationUnit": false
                },
                "amount": 149576471,
                "discountInputValue": 0,
                "discountInputValueIsPercent": true,
                "taxInputValue": 0,
                "taxInputValueIsPercent": true,
                "marketers": [],
                "calculateMarketersCommissionByProfit": false,
                "description": "فروش کالا مشتریان",
                "calcRowNumberStr": null,
                "calcTotalAmount": 0,
                "calcDiscount": 0,
                "calcDiscountPercent": 0,
                "calcTotalAmountMinusDiscount": 0,
                "calcTax": 0,
                "calcTaxPercent": 0,
                "calcFinalAmount": 0,
                "lowCount": 0,
                "purchaseAmount": 0,
                "profit": 0
            }
        ],
        "stockOperationWarehouseRemittanceType": 1,
        "warehouseRemittances": [],
        "additions": [],
        "deductions": [],
        "isTemporary": false,
        "fullCashReceipt": null,
        "cashReceipts": [],
        "checkReceipts": [],
        "loyaltyCreditUsed": 0,
        "isSumDuplicateItems": false
    }
}