/api/invoices/Paginated/
GET
- Header
Parameter Required Type Description GenerationVersion * integr نسخه API Authorization * توکن از نوع JWT برای اعتبارسنجی کاربر IntegrationID * integer($int32) کد دستگاه ArbitraryCode * srting($uuid) یک GUID یکتا EncArbitraryCode * string($byte) نسخه کد شده ArbitraryCode به کمک کلید عمومی limit – (query) offset – (query) orderBy – (query) مرتب سازی صعودی orderByDesc – (query) مرتب سازی نزولی PropertyName_OP – (query) فیلترینگ دیتا
Example : localhost:7373/Api/Customers/Paginated?Code_eq=”123” - Request
Parameter Type Required Description ندارد ندارد ندارد ندارد - Response
Parameter Type Description [] Invoice آرایهای از فاکتورهای فروش
(اقلام فاکتور ارسال نمیشوند)JSON{ "Result": [ { "InvoiceID": 1, "OrderRef": 1, "QuotationRef": 1, "Number": 0, "Date": "2024-04-28", "CustomerRef": 1, "CurrencyRef": 1, "Rate": 0, "SaleTypeRef": 1, "AddressRef": 1, "Price": 0, "Tax": 0, "Duty": 0, "Discount": 0, "Addition": 0, "NetPrice": 0, "AgreementRef": 1, "RemainingAmount": 0, "TotalReceivedAmount": 0, "SettlementType": 1, "State": 1, "InvoiceItems": [ { "InvoiceItemID": 1, "ItemRef": 1, "TracingRef": 1, "TracingTitle": "string", "Quantity": 0, "SecondaryQuantity": 0, "Fee": 0, "Price": 0, "Discount": 0, "Tax": 0, "Duty": 0, "Addition": 0, "NetPrice": 0, "DiscountInvoiceItemRef": 1, "ProductPackRef": 1, "ProductPackQuantity": 0, "Description": "string" } ] } ], "Total": 0, "Limit": 0, "Offset": 0, "OrderedBy": "string", "Ascending": true, "Filters": [ { "PropertyName": "string", "Value": "string", "Operator": "string" } ] } دریافت اطلاعات یک فاکتور فروش خاص آدرس /api/invoices/{id} متد GET Header نام توضیحات GenerationVersion نسخه API Authorization توکن از نوع JWT برای اعتبارسنجی کاربر IntegrationID کد دستگاه ArbitraryCode یک GUID یکتا EncArbitraryCode نسخه کد شده ArbitraryCode به کمک کلید عمومی Request نام نوع Required توضیحات Path id int شناسه فاکتور Response نام نوع توضیحات InvoiceID int شناسه فاکتور OrderRef int? شناسه درخواست فروش QuotationRef int? شناسه پیش فاکتور Number int شماره فاکتور Date datetime تاریخ فاکتور CustomerRef int شناسه مشتری CurrencyRef int شناسه ارز Rate double نرخ تبدیل ارز SaleTypeRef int شناسه نوع فروش AddressRef int? شناسه آدرس Price decimal مبلغ Tax decimal? مالیات Duty decimal? عوارض Discount decimal? تخفیف Addition decimal? اضافات NetPrice decimal? مبلغ خالص InvoiceItems InvoiceItem[] آرایهای از اقلام فاکتور { "InvoiceExtraData": { "Fields": [ { "Key": "string", "Value": {} } ], "ExtraColumnVersion": 0, "ExtraDataVersion": 0, "EntityID": 0 }, "InvoiceID": 1, "OrderRef": 1, "QuotationRef": 1, "Number": 0, "Date": "2024-04-28", "CustomerRef": 1, "CurrencyRef": 1, "Rate": 0, "SaleTypeRef": 1, "AddressRef": 1, "Price": 0, "Tax": 0, "Duty": 0, "Discount": 0, "Addition": 0, "NetPrice": 0, "AgreementRef": 1, "RemainingAmount": 0, "TotalReceivedAmount": 0, "SettlementType": 1, "State": 1, "InvoiceItems": [ { "InvoiceItemID": 1, "ItemRef": 1, "TracingRef": 1, "TracingTitle": "string", "Quantity": 0, "SecondaryQuantity": 0, "Fee": 0, "Price": 0, "Discount": 0, "Tax": 0, "Duty": 0, "Addition": 0, "NetPrice": 0, "DiscountInvoiceItemRef": 1, "ProductPackRef": 1, "ProductPackQuantity": 0, "Description": "string" } ] } ثبت یک فاکتور فروش آدرس /api/invoices/ متد POST Header نام توضیحات GenerationVersion نسخه API Authorization توکن از نوع JWT برای اعتبارسنجی کاربر IntegrationID کد دستگاه ArbitraryCode یک GUID یکتا EncArbitraryCode نسخه کد شده ArbitraryCode به کمک کلید عمومی Request نام نوع Required توضیحات GUID string * شناسه یکتا برای جلوگیری از ثبت تکراری CurrencyRef int * شناسه ارز CustomerRef int * شناسه مشتری AddressRef int? - شناسه آدرس (اختیاری) SaleTypeRef int * شناسه نوع فروش DiscountOnCustomer double * تخفیف مشتری Price double * مبلغ ناخالص Discount double * تخفیف Tax double * مالیات Duty double * عوارض Addition double * اضافات Items InvoiceItem_New[] * آرایهای از اقلام فاکتور { "InvoiceExtraData": { "Fields": [ { "Key": "string", "Value": {} } ], "ExtraColumnVersion": 0, "ExtraDataVersion": 0, "EntityID": 0 }, "GUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "CurrencyRef": 1, "CustomerRef": 1, "AddressRef": 1, "SaleTypeRef": 1, "SettlementType": 1, "DiscountOnCustomer": 0, "Price": 0, "Discount": 0, "Tax": 0, "Duty": 0, "Addition": 0, "Items": [ { "RowID": 1, "ItemRef": 1, "TracingRef": 1, "StockRef": 1, "Quantity": 0, "SecondaryQuantity": 0, "Fee": 0, "Price": 0, "Description": "string", "PriceInfoPercentDiscount": 0, "PriceInfoPriceDiscount": 0, "PriceInfoDiscountRate": 0, "AggregateAmountPercentDiscount": 0, "AggregateAmountPriceDiscount": 0, "AggregateAmountDiscountRate": 0, "CustomerDiscount": 0, "CustomerDiscountRate": 0, "Discount": 0, "DiscountParentRef": 1, "Tax": 0, "Duty": 0, "Addition": 0 } ] }