{"swagger":"2.0","info":{"version":"v1","title":"PSW.SOTC.WebApiService"},"host":"aotgapi.autocountcloud.com","schemes":["https"],"paths":{"/api/public/v1/APCreditNote/GetAPCreditNoteList":{"post":{"tags":["APCreditNote"],"summary":"Create AP CreditNote List","operationId":"APCreditNote_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"APCreditNoteList Param","required":true,"schema":{"$ref":"#/definitions/GetAPCreditNoteListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/APCreditNoteListResult"}}}}}},"/api/public/v1/APCreditNote/CreateAPCreditNote":{"post":{"tags":["APCreditNote"],"summary":"Create AP CreditNote","operationId":"APCreditNote_CreateARCreditNote_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"APCreditNote","required":true,"schema":{"$ref":"#/definitions/CreateAPCreditNoteParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APCreditNoteResult"}}}}},"/api/public/v1/APCreditNote/GetAPCreditNote/{id}":{"get":{"tags":["APCreditNote"],"summary":"Get AP CreditNote","operationId":"APCreditNote_GetAPCreditNote_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"AP CreditNote Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APCreditNoteResult"}}}}},"/api/public/v1/APCreditNote/GetAPOutstandingInvoiceDebitNote":{"post":{"tags":["APCreditNote"],"summary":"Get Outstanding Invoice DebitNote","operationId":"APCreditNote_OutstandingInvoiceDebitNote_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"OutstandingInvoiceDebitNote Param","required":true,"schema":{"$ref":"#/definitions/GetAPOutstandingInvoiceDebitNoteParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APCreditNoteOutstandingInvoiceDebitNoteResult"}}}}},"/api/public/v1/APInvoice/GetAPInvoiceList":{"post":{"tags":["APInvoice"],"summary":"Get AP Invoice Listing","operationId":"APInvoice_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/GetAPInvoiceListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/APInvoiceListResult"}}}}}},"/api/public/v1/APInvoice/CreateAPInvoice":{"post":{"tags":["APInvoice"],"summary":"Create APInvoice","operationId":"APInvoice_CreateAPInvoice_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"APInvoice to be created","required":true,"schema":{"$ref":"#/definitions/CreateAPInvoiceParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APInvoiceResult"}}}}},"/api/public/v1/APInvoice/GetAPInvoice/{id}":{"get":{"tags":["APInvoice"],"summary":"Get APInvoice by Id","operationId":"APInvoice_GetAPInvoice_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"APInvoice Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APInvoiceResult"}}}}},"/api/public/v1/APInvoice/{id}/Cancel":{"put":{"tags":["APInvoice"],"summary":"Cancel APInvoice","operationId":"APInvoice_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APInvoiceResult"}}}}},"/api/public/v1/APInvoice/{id}/UnCancel":{"put":{"tags":["APInvoice"],"summary":"UnCancel APInvoice","operationId":"APInvoice_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APInvoiceResult"}}}}},"/api/public/v1/APInvoice/{id}":{"delete":{"tags":["APInvoice"],"summary":"Delete APInvoice","operationId":"APInvoice_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"APInvoice Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APInvoiceResult"}}}}},"/api/public/v1/APPayment":{"get":{"tags":["APPayment"],"summary":"Get AP Payment Listing","operationId":"APPayment_GetList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"query","description":"InvoiceId","required":false,"type":"string"},{"name":"fromDate","in":"query","description":"Not early than this date","required":false,"type":"string"},{"name":"toDate","in":"query","description":"Not later than this date","required":false,"type":"string"},{"name":"creditor","in":"query","description":"Creditor","required":false,"type":"string"},{"name":"documentNumber2","in":"query","description":"DocNo2","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/APPaymentListResult"}}}}},"put":{"tags":["APPayment"],"summary":"Update APPayment","description":"Updated APPayment","operationId":"APPayment_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"APPayment","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/APPaymentUpdateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APPaymentUpdateResultEntity"}}}},"post":{"tags":["APPayment"],"summary":"Create APPayment","description":"Create APPayment","operationId":"APPayment_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"APPayment","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/APPaymentCreateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APPaymentCreateResultEntity"}}}}},"/api/public/v1/APPayment/{paymentId}":{"get":{"tags":["APPayment"],"summary":"Get APPayment","description":"Get APPayment","operationId":"APPayment_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"paymentId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APPaymentGetResultEntity"}}}}},"/api/public/v1/APPayment/outstandingInvoice":{"get":{"tags":["APPayment"],"summary":"Get List of Outstanding Invoices by Creditor Code","operationId":"APPayment_GetOutstandingInvoice_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditorCode","in":"query","description":"Creditor Code","required":true,"type":"string"},{"name":"paymentId","in":"query","description":"Not required if getting all outstanding invoice of the Creditor.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/APPaymentOutstandingInvoiceResultEntity"}}}}}},"/api/public/v1/APPayment/{paymentId}/Cancel":{"put":{"tags":["APPayment"],"summary":"Cancel APPayment","description":"Cancel APPayment","operationId":"APPayment_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"paymentId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APPaymentGetResultEntity"}}}}},"/api/public/v1/APPayment/{paymentId}/UnCancel":{"put":{"tags":["APPayment"],"summary":"UnCancel APPayment","description":"UnCancel APPayment","operationId":"APPayment_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"paymentId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/APPaymentGetResultEntity"}}}}},"/api/public/v1/ARCreditNote/GetARCreditNoteList":{"post":{"tags":["ARCreditNote"],"summary":"Get AR Credit Note Listing","operationId":"ARCreditNote_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/GetARCreditNoteListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ARCreditNoteListResult"}}}}}},"/api/public/v1/ARCreditNote/CreateARCreditNote":{"post":{"tags":["ARCreditNote"],"summary":"Create AR CreditNote","operationId":"ARCreditNote_CreateARCreditNote_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"ARCreditNote","required":true,"schema":{"$ref":"#/definitions/CreateARCreditNoteParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARCreditNoteResult"}}}}},"/api/public/v1/ARCreditNote/GetARCreditNote/{id}":{"get":{"tags":["ARCreditNote"],"summary":"Get AR CreditNote","operationId":"ARCreditNote_GetARCreditNote_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"AR CreditNote Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARCreditNoteResult"}}}}},"/api/public/v1/ARCreditNote/{id}":{"delete":{"tags":["ARCreditNote"],"summary":"Delete ARCreditNote","operationId":"ARCreditNote_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"ARCredit Note Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARCreditNoteResult"}}}}},"/api/public/v1/ARCreditNote":{"put":{"tags":["ARCreditNote"],"summary":"Update ARCreditNote","operationId":"ARCreditNote_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"ARCredit Note","required":true,"schema":{"$ref":"#/definitions/UpdateARCreditNoteParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARCreditNoteResult"}}}}},"/api/public/v1/ARDebitNote/GetARDebitNoteList":{"post":{"tags":["ARDebitNote"],"summary":"Get AR Debit Note Listing","operationId":"ARDebitNote_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/GetARDebitNoteListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ARDebitNoteListResult"}}}}}},"/api/public/v1/ARDebitNote/CreateARDebitNote":{"post":{"tags":["ARDebitNote"],"summary":"Create AR Debit Note","operationId":"ARDebitNote_CreateARDebitNote_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"AR Debit Note to be created.","required":true,"schema":{"$ref":"#/definitions/CreateARDebitNoteParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARDebitNoteResult"}}}}},"/api/public/v1/ARDebitNote/GetARDebitNote/{id}":{"get":{"tags":["ARDebitNote"],"summary":"Get AR Debit Note by id","operationId":"ARDebitNote_GetARDebitNote_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"Document id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARDebitNoteResult"}}}}},"/api/public/v1/ARDebitNote/{id}":{"delete":{"tags":["ARDebitNote"],"summary":"Delete AR Debit Note by id","operationId":"ARDebitNote_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"ARDebit Note Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARDebitNoteResult"}}}}},"/api/public/v1/ARDebitNote":{"put":{"tags":["ARDebitNote"],"summary":"Update ARDebitNote","operationId":"ARDebitNote_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"ARDebit Note","required":true,"schema":{"$ref":"#/definitions/UpdateARDebitNoteParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARDebitNoteResult"}}}}},"/api/public/v1/ARDeposit/GetARDepositList":{"post":{"tags":["ARDeposit"],"summary":"Get ARDeposit List","operationId":"ARDeposit_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get ARDeposit List Param","required":true,"schema":{"$ref":"#/definitions/GetARDepositListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ARDepositListResult"}}}}}},"/api/public/v1/ARDeposit/CreateARDeposit":{"post":{"tags":["ARDeposit"],"summary":"Create ARDeposit","operationId":"ARDeposit_CreateARDeposit_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Create ARDeposit Param","required":true,"schema":{"$ref":"#/definitions/CreateARDepositParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARDepositResult"}}}}},"/api/public/v1/ARDeposit/ForfeitRefundARDeposit":{"post":{"tags":["ARDeposit"],"summary":"Forfeit Refund ARDeposit","operationId":"ARDeposit_ForfeitRefundARDeposit_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Forfeit Refund ARDeposit Param","required":true,"schema":{"$ref":"#/definitions/ForfeitRefundARDepositParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARDepositResult"}}}}},"/api/public/v1/ARDeposit/GetARDeposit/{id}":{"get":{"tags":["ARDeposit"],"summary":"Get ARDeposit","operationId":"ARDeposit_GetARDeposit_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"ARDeposit id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARDepositResult"}}}}},"/api/public/v1/ARDeposit/{id}/Cancel":{"put":{"tags":["ARDeposit"],"summary":"Cancel ARDeposit by Id","operationId":"ARDeposit_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"ARDeposit Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARDepositResult"}}}}},"/api/public/v1/ARDeposit/{id}/UnCancel":{"put":{"tags":["ARDeposit"],"summary":"UnCancel ARDeposit by Id","operationId":"ARDeposit_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"ARDeposit Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARDepositResult"}}}}},"/api/public/v1/ARInvoice/GetARInvoiceList":{"post":{"tags":["ARInvoice"],"summary":"Get ARInvoice Listing","operationId":"ARInvoice_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get ARInvoice List Param","required":true,"schema":{"$ref":"#/definitions/GetARInvoiceListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ARInvoiceListResult"}}}}}},"/api/public/v1/ARInvoice/CreateARInvoice":{"post":{"tags":["ARInvoice"],"summary":"Create ARInvoice","operationId":"ARInvoice_CreateARInvoice_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"ARInvoice","required":true,"schema":{"$ref":"#/definitions/CreateARInvoiceParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARInvoiceResult"}}}}},"/api/public/v1/ARInvoice/CreateBatchARInvoice":{"post":{"tags":["ARInvoice"],"summary":"Create Batch ARInvoice","operationId":"ARInvoice_CreateBatchARInvoice_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"BatchARInvoice","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/CreateBatchARInvoiceParam"}}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CreateBatchARInvoiceResult"}}}}}},"/api/public/v1/ARInvoice/GetARInvoice/{id}":{"get":{"tags":["ARInvoice"],"summary":"Get ARInvoice","operationId":"ARInvoice_GetARInvoice_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"ARInvoice Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARInvoiceResult"}}}}},"/api/public/v1/CashBook":{"get":{"tags":["CashBook"],"summary":"Get Voucher Listing","operationId":"CashBook_GetList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"Not early than this date","required":false,"type":"string"},{"name":"toDate","in":"query","description":"Not later than this date","required":false,"type":"string"},{"name":"documentNumber2","in":"query","description":"DocNo2","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/VoucherListResult"}}}}}},"/api/public/v1/GetCashSalesList":{"post":{"tags":["CashSale"],"summary":"Get Cash Sales Listing","operationId":"CashSale_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get CashSales List Param","required":true,"schema":{"$ref":"#/definitions/GetCashSalesListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CashSalesListResult"}}}}}},"/api/public/v1/CashSale/{cashSaleId}":{"get":{"tags":["CashSale"],"summary":"Get Cash Sales","operationId":"CashSale_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"cashSaleId","in":"path","description":"Cash Sales Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}},"delete":{"tags":["CashSale"],"summary":"Delete Cash Sales","operationId":"CashSale_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"cashSaleId","in":"path","description":"Cash Sales Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}}},"/api/public/v1/CashSale/{cashSaleId}/Cancel":{"put":{"tags":["CashSale"],"summary":"Cancel Cash Sales","operationId":"CashSale_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"cashSaleId","in":"path","description":"Cash Sales Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}}},"/api/public/v1/CashSale/{cashSaleId}/UnCancel":{"put":{"tags":["CashSale"],"summary":"UnCancel Cash Sales","operationId":"CashSale_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"cashSaleId","in":"path","description":"Cash Sales Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}}},"/api/public/v1/CashSale/CreditPayment":{"put":{"tags":["CashSale"],"summary":"Update Cash Sales with credit payment","operationId":"CashSale_UpdateCreditPayment_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Cash Sales","required":true,"schema":{"$ref":"#/definitions/UpdateCashSales_CreditPaymentParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}},"post":{"tags":["CashSale"],"summary":"Create Cash Sales with credit payment","operationId":"CashSale_CreateCashPaymentCredit_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Cash Sales","required":true,"schema":{"$ref":"#/definitions/CreateCashSales_CreditPaymentParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}}},"/api/public/v1/CashSale/MultiPayment":{"put":{"tags":["CashSale"],"summary":"Update Cash Sales with multi payment","operationId":"CashSale_UpdateMultiPayment_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Cash Sales","required":true,"schema":{"$ref":"#/definitions/UpdateCashSales_MultiPaymentParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}},"post":{"tags":["CashSale"],"summary":"Create Cash Sales with multi payment","operationId":"CashSale_CreateCashPaymentMulti_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Cash Sales","required":true,"schema":{"$ref":"#/definitions/CreateCashSales_MultiPaymentParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}}},"/api/public/v1/CashSale/CreditCardPayment":{"put":{"tags":["CashSale"],"summary":"Update Cash Sales with credit card payment","operationId":"CashSale_UpdateCreditCardPayment_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Cash Sales","required":true,"schema":{"$ref":"#/definitions/UpdateCashSales_CreditCardPaymentParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}},"post":{"tags":["CashSale"],"summary":"Create Cash Sales with credit card payment","operationId":"CashSale_CreateCashPaymentCreditCard_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Cash Sales","required":true,"schema":{"$ref":"#/definitions/CreateCashSales_CreditCardPaymentParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}}},"/api/public/v1/CashSale/CashPayment":{"put":{"tags":["CashSale"],"summary":"Update Cash Sales with cash payment","operationId":"CashSale_UpdateCashPayment_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Cash Sales","required":true,"schema":{"$ref":"#/definitions/UpdateCashSales_CashPaymentParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}},"post":{"tags":["CashSale"],"summary":"Create Cash Sales with cash payment","operationId":"CashSale_CreateCashPaymentCash_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Cash Sales","required":true,"schema":{"$ref":"#/definitions/CreateCashSales_CashPaymentParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}}},"/api/public/v1/CashSale":{"put":{"tags":["CashSale"],"summary":"Update Cash Sales","operationId":"CashSale_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Cash Sales","required":true,"schema":{"$ref":"#/definitions/UpdateCashSalesParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}},"post":{"tags":["CashSale"],"summary":"Create Cash Sales","operationId":"CashSale_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Cash Sales","required":true,"schema":{"$ref":"#/definitions/CreateCashSalesParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CashSalesResult"}}}}},"/api/public/v1/CashSale/{cashSaleId}/print/{reportName}":{"post":{"tags":["CashSale"],"summary":"Print Cash Sales","operationId":"CashSale_Print_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"cashSaleId","in":"path","description":"Cash Sale Id Param","required":true,"type":"string"},{"name":"reportName","in":"path","description":"Cash Sale report name Param","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/CashSale/printlisting":{"get":{"tags":["CashSale"],"summary":"Print Cash Sales Listing","operationId":"CashSale_PrintListing_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"Cash Sale transaction from date Param","required":false,"type":"string"},{"name":"toDate","in":"query","description":"Cash Sale transaction to date Param","required":false,"type":"string"},{"name":"keyword","in":"query","description":"Cash Sale transaction keyword search filter Param","required":false,"type":"string"},{"name":"reportName","in":"query","description":"Cash Sale report name Param","required":false,"type":"string"},{"name":"debtor","in":"query","description":"Cash Sale transaction debtor search filter Param","required":false,"type":"string"},{"name":"location","in":"query","description":"Cash Sale transaction location search filter Param","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/CashSale/reports":{"get":{"tags":["CashSale"],"summary":"Get Cash Sales Report Template List","operationId":"CashSale_GetReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/CashSale/listingreports":{"get":{"tags":["CashSale"],"summary":"Get Cash Sales Listing Report Template List","operationId":"CashSale_GetListingReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/GetCreditNoteList":{"post":{"tags":["CreditNote"],"summary":"Get CreditNote Listing","operationId":"CreditNote_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get CreditNote List Param","required":true,"schema":{"$ref":"#/definitions/GetCreditNoteListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CreditNoteListResult"}}}}}},"/api/public/v1/CreditNote/{id}":{"get":{"tags":["CreditNote"],"summary":"Get CreditNote by Id","operationId":"CreditNote_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"CreditNote Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditNoteResult"}}}},"delete":{"tags":["CreditNote"],"summary":"Delete CreditNote by Id","operationId":"CreditNote_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"CreditNote Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditNoteResult"}}}}},"/api/public/v1/CreditNote/{id}/Cancel":{"put":{"tags":["CreditNote"],"summary":"Cancel CreditNote by Id","operationId":"CreditNote_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"CreditNote Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditNoteResult"}}}}},"/api/public/v1/CreditNote/{id}/UnCancel":{"put":{"tags":["CreditNote"],"summary":"UnCancel CreditNote by Id","operationId":"CreditNote_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"CreditNote Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditNoteResult"}}}}},"/api/public/v1/CreditNote":{"put":{"tags":["CreditNote"],"summary":"Update CreditNote","operationId":"CreditNote_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"CreditNote to be updated","required":true,"schema":{"$ref":"#/definitions/UpdateCreditNoteParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditNoteResult"}}}},"post":{"tags":["CreditNote"],"summary":"Create CreditNote","operationId":"CreditNote_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"CreditNote to be created","required":true,"schema":{"$ref":"#/definitions/CreateCreditNoteParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditNoteResult"}}}}},"/api/public/v1/CreditNote/{id}/print/{reportName}":{"post":{"tags":["CreditNote"],"summary":"Print CreditNote","operationId":"CreditNote_Print_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"CreditNote Id Param","required":true,"type":"string"},{"name":"reportName","in":"path","description":"CreditNote report name Param","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/CreditNote/printlisting":{"get":{"tags":["CreditNote"],"summary":"Print CreditNote Listing","operationId":"CreditNote_PrintListing_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"CreditNote transaction from date Param","required":false,"type":"string"},{"name":"toDate","in":"query","description":"CreditNote transaction to date Param","required":false,"type":"string"},{"name":"keyword","in":"query","description":"CreditNote transaction keyword search filter Param","required":false,"type":"string"},{"name":"reportName","in":"query","description":"CreditNote report name Param","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/CreditNote/reports":{"get":{"tags":["CreditNote"],"summary":"Get CreditNote Report Template List","operationId":"CreditNote_GetReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/CreditNote/listingreports":{"get":{"tags":["CreditNote"],"summary":"Get CreditNote Listing Report Template List","operationId":"CreditNote_GetListingReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/Creditor":{"get":{"tags":["Creditor"],"summary":"Get List of Creditor","description":"Get list of creditors in this company.","operationId":"Creditor_GetList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CreditorGetResultEntity"}}}}},"put":{"tags":["Creditor"],"summary":"Update Creditor","description":"Update creditor","operationId":"Creditor_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditor","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/CreditorUpdateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditorUpdateResultEntity"}}}},"post":{"tags":["Creditor"],"summary":"Create Creditor","description":"Create creditor","operationId":"Creditor_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditor","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/CreditorCreateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditorCreateResultEntity"}}}}},"/api/public/v1/Creditor/{creditorId}":{"get":{"tags":["Creditor"],"summary":"Get Creditor","description":"Get creditor","operationId":"Creditor_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditorId","in":"path","description":"Creditor Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditorDeleteResultEntity"}}}},"delete":{"tags":["Creditor"],"summary":"Delete Creditor","description":"Delete creditor","operationId":"Creditor_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditorId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditorDeleteResultEntity"}}}}},"/api/public/v1/GetDebitNoteList":{"post":{"tags":["DebitNote"],"summary":"Get DebitNote Listing","operationId":"DebitNote_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get DebitNote List Param","required":true,"schema":{"$ref":"#/definitions/GetDebitNoteListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CreditNoteListResult"}}}}}},"/api/public/v1/DebitNote/{id}":{"get":{"tags":["DebitNote"],"summary":"Get DebitNote by Id","operationId":"DebitNote_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"DebitNote Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebitNoteResult"}}}},"delete":{"tags":["DebitNote"],"summary":"Delete DebitNote by Id","operationId":"DebitNote_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"DebitNote Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebitNoteResult"}}}}},"/api/public/v1/DebitNote/{id}/Cancel":{"put":{"tags":["DebitNote"],"summary":"Cancel DebitNote by Id","operationId":"DebitNote_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"DebitNote Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebitNoteResult"}}}}},"/api/public/v1/DebitNote/{id}/UnCancel":{"put":{"tags":["DebitNote"],"summary":"UnCancel DebitNote by Id","operationId":"DebitNote_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"DebitNote Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebitNoteResult"}}}}},"/api/public/v1/DebitNote":{"put":{"tags":["DebitNote"],"summary":"Update DebitNote","operationId":"DebitNote_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"DebitNote to be updated","required":true,"schema":{"$ref":"#/definitions/UpdateDebitNoteParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebitNoteResult"}}}},"post":{"tags":["DebitNote"],"summary":"Create DebitNote","operationId":"DebitNote_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"DebitNote to be created","required":true,"schema":{"$ref":"#/definitions/CreateDebitNoteParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebitNoteResult"}}}}},"/api/public/v1/DebitNote/{id}/print/{reportName}":{"post":{"tags":["DebitNote"],"summary":"Print DebitNote","operationId":"DebitNote_Print_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"DebitNote Id Param","required":true,"type":"string"},{"name":"reportName","in":"path","description":"DebitNote report name Param","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/DebitNote/printlisting":{"get":{"tags":["DebitNote"],"summary":"Print DebitNote Listing","operationId":"DebitNote_PrintListing_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"DebitNote transaction from date Param","required":false,"type":"string"},{"name":"toDate","in":"query","description":"DebitNote transaction to date Param","required":false,"type":"string"},{"name":"keyword","in":"query","description":"DebitNote transaction keyword search filter Param","required":false,"type":"string"},{"name":"reportName","in":"query","description":"DebitNote report name Param","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/DebitNote/reports":{"get":{"tags":["DebitNote"],"summary":"Get DebitNote Report Template List","operationId":"DebitNote_GetReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/DebitNote/listingreports":{"get":{"tags":["DebitNote"],"summary":"Get DebitNote Listing Report Template List","operationId":"DebitNote_GetListingReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/Debtor":{"get":{"tags":["Debtor"],"summary":"Get List of Debtor","description":"Get list of debtors in this company.","operationId":"Debtor_GetList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ModifiedFromDate","in":"query","description":"Modified Date From in YYYYMMDD format","required":false,"type":"string"},{"name":"ModifiedToDate","in":"query","description":"Modified Date To in YYYYMMDD format","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/DebtorListResultEntity"}}}}},"put":{"tags":["Debtor"],"summary":"Update Debtor","description":"Update debtor","operationId":"Debtor_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"debtor","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/DebtorUpdateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebtorUpdateResultEntity"}}}},"post":{"tags":["Debtor"],"summary":"Create Debtor","description":"Create debtor","operationId":"Debtor_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"debtor","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/DebtorCreateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebtorCreateResultEntity"}}}}},"/api/public/v1/Debtor/{debtorId}":{"get":{"tags":["Debtor"],"summary":"Get Debtor","description":"Get debtor","operationId":"Debtor_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"debtorId","in":"path","description":"Debtor Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebtorGetResultEntity"}}}},"delete":{"tags":["Debtor"],"summary":"Delete Debtor","description":"delete debtor","operationId":"Debtor_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"debtorId","in":"path","description":"Debtor Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DebtorDeleteResultEntity"}}}}},"/api/public/v1/GetDeliveryOrderList":{"post":{"tags":["DeliveryOrder"],"summary":"Get DeliveryOrder Listing","operationId":"DeliveryOrder_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get DeliveryOrder List Param","required":true,"schema":{"$ref":"#/definitions/GetDeliveryOrderListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/DeliveryOrderListResult"}}}}}},"/api/public/v1/DeliveryOrder/{orderId}":{"get":{"tags":["DeliveryOrder"],"summary":"Get DeliveryOrder by Id","operationId":"DeliveryOrder_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"DeliveryOrder Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DeliveryOrderResult"}}}},"delete":{"tags":["DeliveryOrder"],"summary":"Delete DeliveryOrder by Id","operationId":"DeliveryOrder_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"DeliveryOrder Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DeliveryOrderResult"}}}}},"/api/public/v1/DeliveryOrder/{id}/Cancel":{"put":{"tags":["DeliveryOrder"],"summary":"Cancel DeliveryOrder by Id","operationId":"DeliveryOrder_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"DeliveryOrder Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DeliveryOrderResult"}}}}},"/api/public/v1/DeliveryOrder/{id}/UnCancel":{"put":{"tags":["DeliveryOrder"],"summary":"UnCancel DeliveryOrder by Id","operationId":"DeliveryOrder_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"DeliveryOrder Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DeliveryOrderResult"}}}}},"/api/public/v1/DeliveryOrder":{"put":{"tags":["DeliveryOrder"],"summary":"Update DeliveryOrder","operationId":"DeliveryOrder_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"DeliveryOrder to be updated","required":true,"schema":{"$ref":"#/definitions/UpdateDeliveryOrderParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DeliveryOrderResult"}}}},"post":{"tags":["DeliveryOrder"],"summary":"Create DeliveryOrder","operationId":"DeliveryOrder_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"DeliveryOrder to be created","required":true,"schema":{"$ref":"#/definitions/CreateDeliveryOrderParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DeliveryOrderResult"}}}}},"/api/public/v1/DeliveryOrder/{id}/print/{reportName}":{"post":{"tags":["DeliveryOrder"],"summary":"Print DeliveryOrder","operationId":"DeliveryOrder_Print_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"DeliveryOrder Id Param","required":true,"type":"string"},{"name":"reportName","in":"path","description":"DeliveryOrder report name Param","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/DeliveryOrder/printlisting":{"get":{"tags":["DeliveryOrder"],"summary":"Print DeliveryOrder Listing","operationId":"DeliveryOrder_PrintListing_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"DeliveryOrder transaction from date Param","required":false,"type":"string"},{"name":"toDate","in":"query","description":"DeliveryOrder transaction to date Param","required":false,"type":"string"},{"name":"keyword","in":"query","description":"DeliveryOrder transaction keyword search filter Param","required":false,"type":"string"},{"name":"reportName","in":"query","description":"DeliveryOrder report name Param","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/DeliveryOrder/reports":{"get":{"tags":["DeliveryOrder"],"summary":"Get DeliveryOrder Report Template List","operationId":"DeliveryOrder_GetReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/DeliveryOrder/listingreports":{"get":{"tags":["DeliveryOrder"],"summary":"Get DeliveryOrder Listing Report Template List","operationId":"DeliveryOrder_GetListingReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/JournalEntry":{"get":{"tags":["JournalEntry"],"summary":"Get Journal Entry Listing","operationId":"JournalEntry_GetList_v1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"Not early than this date. It will be defaulted to Today Date if no date is passed in.","required":false,"type":"string"},{"name":"toDate","in":"query","description":"Not later than this date. It will be defaulted to Today Date if no date is passed in.","required":false,"type":"string"},{"name":"documentNumber2","in":"query","description":"DocNo2","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/JournalEntryListResult"}}}}},"/api/public/v1/JournalEntry/CreateJournalEntry":{"post":{"tags":["JournalEntry"],"summary":"Create JournalEntry","operationId":"JournalEntry_CreateJournalEntry_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"JournalEntry","required":true,"schema":{"$ref":"#/definitions/CreateJournalEntryParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/JournalEntryResult"}}}}},"/api/public/v1/Lookup/CreditorLookup":{"get":{"tags":["Lookup"],"summary":"Get list of creditor.","operationId":"Lookup_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ICreditorLookupEntity"}}}}},"/api/public/v1/Lookup/DebtorLookup":{"get":{"tags":["Lookup"],"summary":"Get list of debtor.","operationId":"Lookup_GetDebtorLookup_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDebtorLookupEntity"}}}}},"/api/public/v1/Lookup/PaymentMethodLookup":{"get":{"tags":["Lookup"],"summary":"Get list of payment method.","operationId":"Lookup_GetLookupPaymentMethod_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IPaymentMethodLookupEntity"}}}}},"/api/public/v1/Lookup/GeneralAccountLookup":{"get":{"tags":["Lookup"],"summary":"Get list of GL Account. Only consist of  ACcount Code, Description and CurrencyCode of the account.","operationId":"Lookup_GetGeneralAccounts_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AccountLookupEntity"}}}}},"/api/public/v1/Lookup/CashBookAccountLookup":{"get":{"tags":["Lookup"],"summary":"Get list of CashBook Account.","operationId":"Lookup_GetCashBookAccounts_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AccountLookupEntity"}}}}},"/api/public/v1/Member/GetList":{"post":{"tags":["Member"],"summary":"Get List of Member","description":"Get list of Member.","operationId":"Member_GetList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/MemberListResult"}}}}}},"/api/public/v1/Member/{memberNo}":{"get":{"tags":["Member"],"summary":"Get Member","operationId":"Member_GetMember_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"memberNo","in":"path","description":"Member No","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MemberResult"}}}},"delete":{"tags":["Member"],"summary":"Delete Member","operationId":"Member_DeleteMember_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"memberNo","in":"path","description":"Member No","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MemberResult"}}}}},"/api/public/v1/Member/CreateBatchMember":{"post":{"tags":["Member"],"summary":"Create Batch Member","operationId":"Member_CreateBatchMember_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"BatchMember","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/CreateBatchMemberParam"}}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IBatchMemberResult"}}}}}},"/api/public/v1/Member/CreateMember":{"post":{"tags":["Member"],"summary":"Create Member","operationId":"Member_CreateMember_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Member","required":true,"schema":{"$ref":"#/definitions/CreateMemberParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MemberResult"}}}}},"/api/public/v1/Member/UpdateBatchMember":{"put":{"tags":["Member"],"summary":"Update Batch Member","operationId":"Member_UpdateBatchMember_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"BatchMember","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/UpdateBatchMemberParam"}}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IBatchMemberResult"}}}}}},"/api/public/v1/Member/UpdateMember":{"put":{"tags":["Member"],"summary":"Update Member","operationId":"Member_UpdateMember_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Member","required":true,"schema":{"$ref":"#/definitions/UpdateMemberParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MemberResult"}}}}},"/api/public/v1/MemberType/GetList":{"post":{"tags":["MemberType"],"summary":"Get List of Member","description":"Get list of Member.","operationId":"MemberType_GetList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/MemberTypeListResult"}}}}}},"/api/public/v1/MemberType/{memberType}":{"get":{"tags":["MemberType"],"summary":"Get Member Type","operationId":"MemberType_GetMemberType_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"memberType","in":"path","description":"Member Type","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MemberTypeResult"}}}},"delete":{"tags":["MemberType"],"summary":"Delete Member Type","operationId":"MemberType_DeleteMemberType_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"memberType","in":"path","description":"Member Type","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MemberTypeResult"}}}}},"/api/public/v1/MemberType/CreateMemberType":{"post":{"tags":["MemberType"],"summary":"Create Member Type","operationId":"MemberType_CreateMemberType_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Member Type","required":true,"schema":{"$ref":"#/definitions/CreateMemberTypeParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MemberTypeResult"}}}}},"/api/public/v1/MemberType/UpdateMemberType":{"put":{"tags":["MemberType"],"summary":"Update Member Type","operationId":"MemberType_UpdateMemberType_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Member Type","required":true,"schema":{"$ref":"#/definitions/UpdateMemberTypeParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MemberTypeResult"}}}}},"/api/public/v1/Payment":{"get":{"tags":["Payment"],"summary":"Get Payment List","operationId":"Payment_GetList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"query","description":"","required":false,"type":"string"},{"name":"fromDate","in":"query","description":"","required":false,"type":"string"},{"name":"toDate","in":"query","description":"","required":false,"type":"string"},{"name":"debtor","in":"query","description":"","required":false,"type":"string"},{"name":"description","in":"query","description":"","required":false,"type":"string"},{"name":"OnlyUnappliedAmount","in":"query","description":"","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ARPaymentListResult"}}}}},"put":{"tags":["Payment"],"summary":"Update Payment","operationId":"Payment_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ARPayment","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/ARPaymentUpdateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARPaymentUpdateResultEntity"}}}},"post":{"tags":["Payment"],"summary":"Create Payment","operationId":"Payment_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ARPayment","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/ARPaymentCreateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARPaymentCreateResultEntity"}}}}},"/api/public/v1/Payment/{paymentId}":{"get":{"tags":["Payment"],"summary":"Get Payment","operationId":"Payment_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"paymentId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARPaymentGetResultEntity"}}}},"delete":{"tags":["Payment"],"summary":"Delete Payment","operationId":"Payment_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"paymentId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/public/v1/Payment/outstandingInvoice":{"get":{"tags":["Payment"],"summary":"Get Outstanding AR Invoice list","operationId":"Payment_GetOutstandingInvoice_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"debtorCode","in":"query","description":"","required":true,"type":"string"},{"name":"paymentId","in":"query","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/public/v1/Payment/{paymentId}/Cancel":{"put":{"tags":["Payment"],"summary":"Cancel Payment","operationId":"Payment_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"paymentId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARPaymentGetResultEntity"}}}}},"/api/public/v1/Payment/{paymentId}/UnCancel":{"put":{"tags":["Payment"],"summary":"Uncancel Payment","operationId":"Payment_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"paymentId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ARPaymentGetResultEntity"}}}}},"/api/public/v1/Payment/CreateBatchPayment":{"post":{"tags":["Payment"],"summary":"Create Batch Payment","operationId":"Payment_CreateBatchPayment_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"BatchPayment","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/CreateBatchARPaymentParam"}}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CreateBatchARPaymentResult"}}}}}},"/api/public/v1/PaymentVoucher":{"get":{"tags":["PaymentVoucher"],"summary":"Get PaymentVoucher Listing","operationId":"PaymentVoucher_GetList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"Not early than this date. In dd/MM/yyyy format.","required":false,"type":"string"},{"name":"toDate","in":"query","description":"Not later than this date. In dd/MM/yyyy format.","required":false,"type":"string"},{"name":"documentNumber2","in":"query","description":"DocNo2","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/VoucherListResult"}}}}},"put":{"tags":["PaymentVoucher"],"summary":"Update Payment Voucher","description":"Updae payment voucher","operationId":"PaymentVoucher_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"paymentVoucher","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/PaymentVoucherUpdateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PaymentVoucherUpdateResultEntity"}}}},"post":{"tags":["PaymentVoucher"],"summary":"Create Payment Voucher","description":"Create payment voucher","operationId":"PaymentVoucher_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"paymentVoucher","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/PaymentVoucherCreateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PaymentVoucherCreateResultEntity"}}}}},"/api/public/v1/PaymentVoucher/{id}":{"get":{"tags":["PaymentVoucher"],"summary":"Get Payment Voucher by ID","description":"Get payment voucher","operationId":"PaymentVoucher_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"Payment Voucher ID","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PaymentVoucherCreateResultEntity"}}}},"delete":{"tags":["PaymentVoucher"],"summary":"Delete Payment Voucher","operationId":"PaymentVoucher_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"Payment Voucher ID","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PaymentVoucherDeleteResultEntity"}}}}},"/api/public/v1/PaymentVoucher/{id}/Cancel":{"put":{"tags":["PaymentVoucher"],"summary":"Cancel PaymentVoucher","description":"Cancel PaymentVoucher","operationId":"PaymentVoucher_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PaymentVoucherGetResultEntity"}}}}},"/api/public/v1/PaymentVoucher/{id}/UnCancel":{"put":{"tags":["PaymentVoucher"],"summary":"UnCancel PaymentVoucher","description":"UnCancel PaymentVoucher","operationId":"PaymentVoucher_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PaymentVoucherGetResultEntity"}}}}},"/api/public/v1/PointOfSales/GetList":{"post":{"tags":["PointOfSales"],"summary":"Get List of POS Transactions","description":"Get list of POS Transactions.","operationId":"PointOfSales_GetPointOfSalesList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","required":true,"schema":{"$ref":"#/definitions/GetPosTransactionListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PosTransactionListResult"}}}}}},"/api/public/v1/GetPurchaseInvoiceList":{"post":{"tags":["PurchaseInvoice"],"summary":"Get PurchaseInvoice Listing","operationId":"PurchaseInvoice_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get PurchaseInvoice List Param","required":true,"schema":{"$ref":"#/definitions/GetPurchaseInvoiceListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseInvoiceListResult"}}}}}},"/api/public/v1/PurchaseInvoice/{invoiceId}":{"get":{"tags":["PurchaseInvoice"],"summary":"Get PurchaseInvoice by Id","operationId":"PurchaseInvoice_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseInvoiceResult"}}}},"delete":{"tags":["PurchaseInvoice"],"summary":"Delete PurchaseInvoice by Id","operationId":"PurchaseInvoice_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseInvoiceResult"}}}}},"/api/public/v1/PurchaseInvoice/{invoiceId}/Cancel":{"put":{"tags":["PurchaseInvoice"],"summary":"Cancel PurchaseInvoice by Id","operationId":"PurchaseInvoice_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseInvoiceResult"}}}}},"/api/public/v1/PurchaseInvoice/{invoiceId}/UnCancel":{"put":{"tags":["PurchaseInvoice"],"summary":"UnCancel PurchaseInvoice by Id","operationId":"PurchaseInvoice_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseInvoiceResult"}}}}},"/api/public/v1/PurchaseInvoice":{"put":{"tags":["PurchaseInvoice"],"summary":"Update PurchaseInvoice","operationId":"PurchaseInvoice_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"PurchaseInvoice to be updated","required":true,"schema":{"$ref":"#/definitions/UpdatePurchaseInvoiceParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseInvoiceResult"}}}},"post":{"tags":["PurchaseInvoice"],"summary":"Create PurchaseInvoice","operationId":"PurchaseInvoice_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"PurchaseInvoice to be created","required":true,"schema":{"$ref":"#/definitions/CreatePurchaseInvoiceParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseInvoiceResult"}}}}},"/api/public/v1/PurchaseInvoice/{invoiceId}/print/{reportName}":{"post":{"tags":["PurchaseInvoice"],"summary":"Print PurchaseInvoice","operationId":"PurchaseInvoice_Print_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","description":"PurchaseInvoice Id Param","required":true,"type":"string"},{"name":"reportName","in":"path","description":"PurchaseInvoice report name Param","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/PurchaseInvoice/printlisting":{"get":{"tags":["PurchaseInvoice"],"summary":"Print PurchaseInvoice Listing","operationId":"PurchaseInvoice_PrintListing_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"PurchaseInvoice transaction from date Param","required":false,"type":"string"},{"name":"toDate","in":"query","description":"PurchaseInvoice transaction to date Param","required":false,"type":"string"},{"name":"keyword","in":"query","description":"PurchaseInvoice transaction keyword search filter Param","required":false,"type":"string"},{"name":"reportName","in":"query","description":"PurchaseInvoice report name Param","required":false,"type":"string"},{"name":"creditor","in":"query","description":"PurchaseInvoice transaction creditor search filter Param","required":false,"type":"string"},{"name":"location","in":"query","description":"PurchaseInvoice transaction location search filter Param","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/PurchaseInvoice/reports":{"get":{"tags":["PurchaseInvoice"],"summary":"Get PurchaseInvoice Report Template List","operationId":"PurchaseInvoice_GetReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/PurchaseInvoice/listingreports":{"get":{"tags":["PurchaseInvoice"],"summary":"Get PurchaseInvoice Listing Report Template List","operationId":"PurchaseInvoice_GetListingReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/GetPurchaseOrderList":{"post":{"tags":["PurchaseOrder"],"summary":"Get Purchase Order Listing","operationId":"PurchaseOrder_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get Purchase Order List Param","required":true,"schema":{"$ref":"#/definitions/GetPurchaseOrderListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrderListResult"}}}}}},"/api/public/v1/PurchaseOrder/{purchaseOrderId}":{"get":{"tags":["PurchaseOrder"],"summary":"Get SalesInvoice by Id","operationId":"PurchaseOrder_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"Purchase Order Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrderResult"}}}}},"/api/public/v1/PurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"Create Purchase Order","operationId":"PurchaseOrder_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Purchase Order to be Created","required":true,"schema":{"$ref":"#/definitions/CreatePurchaseOrderParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrderResult"}}}}},"/api/public/v1/GetPurchaseReturnList":{"post":{"tags":["PurchaseReturn"],"summary":"Get PurchaseReturn Listing","operationId":"PurchaseReturn_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get PurchaseReturn List Param","required":true,"schema":{"$ref":"#/definitions/GetPurchaseReturnListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseReturnListResult"}}}}}},"/api/public/v1/PurchaseReturn/{id}":{"get":{"tags":["PurchaseReturn"],"summary":"Get PurchaseReturn by Id","operationId":"PurchaseReturn_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"PurchaseReturn Id","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseReturnResult"}}}},"delete":{"tags":["PurchaseReturn"],"summary":"Delete PurchaseReturn by Id","operationId":"PurchaseReturn_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"PurchaseReturn Id","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseReturnResult"}}}}},"/api/public/v1/PurchaseReturn/{id}/Cancel":{"put":{"tags":["PurchaseReturn"],"summary":"Cancel PurchaseReturn by Id","operationId":"PurchaseReturn_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"PurchaseReturn Id","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseReturnResult"}}}}},"/api/public/v1/PurchaseReturn/{id}/UnCancel":{"put":{"tags":["PurchaseReturn"],"summary":"UnCancel PurchaseReturn by Id","operationId":"PurchaseReturn_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"PurchaseReturn Id","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseReturnResult"}}}}},"/api/public/v1/PurchaseReturn":{"put":{"tags":["PurchaseReturn"],"summary":"Update PurchaseReturn","operationId":"PurchaseReturn_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"PurchaseReturn to be updated","required":true,"schema":{"$ref":"#/definitions/UpdatePurchaseReturnParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseReturnResult"}}}},"post":{"tags":["PurchaseReturn"],"summary":"Create PurchaseReturn","operationId":"PurchaseReturn_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"PurchaseReturn to be created","required":true,"schema":{"$ref":"#/definitions/CreatePurchaseReturnParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseReturnResult"}}}}},"/api/public/v1/PurchaseReturn/{id}/print/{reportName}":{"post":{"tags":["PurchaseReturn"],"summary":"Print PurchaseReturn","operationId":"PurchaseReturn_Print_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"PurchaseReturn Id Param","required":true,"type":"integer","format":"int64"},{"name":"reportName","in":"path","description":"PurchaseReturn report name Param","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/PurchaseReturn/printlisting":{"get":{"tags":["PurchaseReturn"],"summary":"Print PurchaseReturn Listing","operationId":"PurchaseReturn_PrintListing_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"PurchaseReturn transaction from date Param","required":false,"type":"string"},{"name":"toDate","in":"query","description":"PurchaseReturn transaction to date Param","required":false,"type":"string"},{"name":"keyword","in":"query","description":"PurchaseReturn transaction keyword search filter Param","required":false,"type":"string"},{"name":"reportName","in":"query","description":"PurchaseReturn report name Param","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/PurchaseReturn/reports":{"get":{"tags":["PurchaseReturn"],"summary":"Get PurchaseReturn Report Template List","operationId":"PurchaseReturn_GetReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/PurchaseReturn/listingreports":{"get":{"tags":["PurchaseReturn"],"summary":"Get PurchaseReturn Listing Report Template List","operationId":"PurchaseReturn_GetListingReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/Race/GetList":{"post":{"tags":["Race"],"summary":"Get List of Race","description":"Get list of Race.","operationId":"Race_GetList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/RaceListResult"}}}}}},"/api/public/v1/Race/{race}":{"get":{"tags":["Race"],"summary":"Get Race","operationId":"Race_GetRace_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"race","in":"path","description":"race","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RaceResult"}}}},"delete":{"tags":["Race"],"summary":"Delete Race","operationId":"Race_DeleteRace_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"race","in":"path","description":"race","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RaceResult"}}}}},"/api/public/v1/Race/CreateRace":{"post":{"tags":["Race"],"summary":"Create Race","operationId":"Race_CreateRace_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Race","required":true,"schema":{"$ref":"#/definitions/CreateRaceParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RaceResult"}}}}},"/api/public/v1/Race/UpdateRace":{"put":{"tags":["Race"],"summary":"Update Race","operationId":"Race_UpdateRace_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"race","required":true,"schema":{"$ref":"#/definitions/UpdateRaceParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RaceResult"}}}}},"/api/public/v1/ReceiptVoucher":{"get":{"tags":["ReceiptVoucher"],"summary":"Get ReceiptVoucher Listing","operationId":"ReceiptVoucher_GetList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"Not early than this date","required":false,"type":"string"},{"name":"toDate","in":"query","description":"Not later than this date","required":false,"type":"string"},{"name":"documentNumber2","in":"query","description":"DocNo2","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/VoucherListResult"}}}}},"post":{"tags":["ReceiptVoucher"],"summary":"Create Receipt Voucher","description":"Create receipt voucher","operationId":"ReceiptVoucher_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"receiptVoucher","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/ReceiptVoucherCreateEntity"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ReceiptVoucherCreateResultEntity"}}}}},"/api/public/v1/ReceiptVoucher/{id}":{"get":{"tags":["ReceiptVoucher"],"summary":"Get Receipt Voucher by ID","description":"Get receipt voucher","operationId":"ReceiptVoucher_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"Receipt Voucher ID","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ReceiptVoucherCreateResultEntity"}}}}},"/api/public/v1/ReceiptVoucher/{id}/Cancel":{"put":{"tags":["ReceiptVoucher"],"summary":"Cancel ReceiptVoucher","description":"Cancel ReceiptVoucher","operationId":"ReceiptVoucher_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ReceiptVoucherGetResultEntity"}}}}},"/api/public/v1/ReceiptVoucher/{id}/UnCancel":{"put":{"tags":["ReceiptVoucher"],"summary":"UnCancel ReceiptVoucher","description":"UnCancel ReceiptVoucher","operationId":"ReceiptVoucher_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ReceiptVoucherGetResultEntity"}}}}},"/api/public/v1/Result/{requestId}":{"get":{"tags":["Result"],"summary":"Get status of request submitted.","operationId":"Result_GetRequestStatus_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"requestId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/QueryRequestStatus"}}}}},"/api/public/v1/Result/{requestName}/{requestId}/result":{"get":{"tags":["Result"],"summary":"Get result of request submitted","operationId":"Result_GetRequestResult_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"requestName","in":"path","description":"","required":true,"type":"string"},{"name":"requestId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/QueryResponse"}}}}},"/api/public/v1/GetSalesInvoiceList":{"post":{"tags":["SalesInvoice"],"summary":"Get SalesInvoice Listing","operationId":"SalesInvoice_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get SalesInvoice List Param","required":true,"schema":{"$ref":"#/definitions/GetSalesInvoiceListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/SalesInvoiceListResult"}}}}}},"/api/public/v1/SalesInvoice/{invoiceId}":{"get":{"tags":["SalesInvoice"],"summary":"Get SalesInvoice by Id","operationId":"SalesInvoice_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesInvoiceResult"}}}},"delete":{"tags":["SalesInvoice"],"summary":"Delete SalesInvoice by Id","operationId":"SalesInvoice_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesInvoiceResult"}}}}},"/api/public/v1/SalesInvoice/{invoiceId}/Cancel":{"put":{"tags":["SalesInvoice"],"summary":"Cancel SalesInvoice by Id","operationId":"SalesInvoice_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesInvoiceResult"}}}}},"/api/public/v1/SalesInvoice/{invoiceId}/UnCancel":{"put":{"tags":["SalesInvoice"],"summary":"UnCancel SalesInvoice by Id","operationId":"SalesInvoice_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesInvoiceResult"}}}}},"/api/public/v1/SalesInvoice":{"put":{"tags":["SalesInvoice"],"summary":"Update SalesInvoice","operationId":"SalesInvoice_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"SalesInvoice to be updated","required":true,"schema":{"$ref":"#/definitions/UpdateSalesInvoiceParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesInvoiceResult"}}}},"post":{"tags":["SalesInvoice"],"summary":"Create SalesInvoice","operationId":"SalesInvoice_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"SalesInvoice to be created","required":true,"schema":{"$ref":"#/definitions/CreateSalesInvoiceParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesInvoiceResult"}}}}},"/api/public/v1/SalesInvoice/{invoiceId}/print/{reportName}":{"post":{"tags":["SalesInvoice"],"summary":"Print SalesInvoice","operationId":"SalesInvoice_Print_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","description":"SalesInvoice Id Param","required":true,"type":"string"},{"name":"reportName","in":"path","description":"SalesInvoice report name Param","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/SalesInvoice/printlisting":{"get":{"tags":["SalesInvoice"],"summary":"Print SalesInvoice Listing","operationId":"SalesInvoice_PrintListing_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"SalesInvoice transaction from date Param","required":false,"type":"string"},{"name":"toDate","in":"query","description":"SalesInvoice transaction to date Param","required":false,"type":"string"},{"name":"keyword","in":"query","description":"SalesInvoice transaction keyword search filter Param","required":false,"type":"string"},{"name":"reportName","in":"query","description":"SalesInvoice report name Param","required":false,"type":"string"},{"name":"debtor","in":"query","description":"SalesInvoice transaction debtor search filter Param","required":false,"type":"string"},{"name":"location","in":"query","description":"SalesInvoice transaction location search filter Param","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/SalesInvoice/reports":{"get":{"tags":["SalesInvoice"],"summary":"Get SalesInvoice Report Template List","operationId":"SalesInvoice_GetReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/SalesInvoice/listingreports":{"get":{"tags":["SalesInvoice"],"summary":"Get SalesInvoice Listing Report Template List","operationId":"SalesInvoice_GetListingReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/GetSalesOrderList":{"post":{"tags":["SalesOrder"],"summary":"Get SalesOrder Listing","operationId":"SalesOrder_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get SalesOrder List Param","required":true,"schema":{"$ref":"#/definitions/GetSalesOrderListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/SalesOrderListResult"}}}}}},"/api/public/v1/SalesOrder/{orderId}":{"get":{"tags":["SalesOrder"],"summary":"Get SalesOrder by Id","operationId":"SalesOrder_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"SalesOrder Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesOrderResult"}}}},"delete":{"tags":["SalesOrder"],"summary":"Delete SalesOrder by Id","operationId":"SalesOrder_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"SalesOrder Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesOrderResult"}}}}},"/api/public/v1/SalesOrder/{id}/Cancel":{"put":{"tags":["SalesOrder"],"summary":"Cancel SalesOrder by Id","operationId":"SalesOrder_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"SalesOrder Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesOrderResult"}}}}},"/api/public/v1/SalesOrder/{id}/UnCancel":{"put":{"tags":["SalesOrder"],"summary":"UnCancel SalesOrder by Id","operationId":"SalesOrder_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"SalesOrder Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesOrderResult"}}}}},"/api/public/v1/SalesOrder":{"put":{"tags":["SalesOrder"],"summary":"Update SalesOrder","operationId":"SalesOrder_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"SalesOrder to be updated","required":true,"schema":{"$ref":"#/definitions/UpdateSalesOrderParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesOrderResult"}}}},"post":{"tags":["SalesOrder"],"summary":"Create SalesOrder","operationId":"SalesOrder_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"SalesOrder to be created","required":true,"schema":{"$ref":"#/definitions/CreateSalesOrderParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesOrderResult"}}}}},"/api/public/v1/SalesOrder/{orderId}/print/{reportName}":{"post":{"tags":["SalesOrder"],"summary":"Print SalesOrder","operationId":"SalesOrder_Print_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","required":true,"type":"string"},{"name":"reportName","in":"path","description":"SalesOrder report name Param","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/SalesOrder/printlisting":{"get":{"tags":["SalesOrder"],"summary":"Print SalesOrder Listing","operationId":"SalesOrder_PrintListing_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"SalesOrder transaction from date Param","required":false,"type":"string"},{"name":"toDate","in":"query","description":"SalesOrder transaction to date Param","required":false,"type":"string"},{"name":"keyword","in":"query","description":"SalesOrder transaction keyword search filter Param","required":false,"type":"string"},{"name":"reportName","in":"query","description":"SalesOrder report name Param","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/SalesOrder/reports":{"get":{"tags":["SalesOrder"],"summary":"Get SalesOrder Report Template List","operationId":"SalesOrder_GetReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/SalesOrder/listingreports":{"get":{"tags":["SalesOrder"],"summary":"Get SalesOrder Listing Report Template List","operationId":"SalesOrder_GetListingReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/GetSalesQuotationList":{"post":{"tags":["SalesQuotation"],"summary":"Get SalesQuotation Listing","operationId":"SalesQuotation_GetList_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"Get SalesQuotation List Param","required":true,"schema":{"$ref":"#/definitions/GetSalesQuotationListParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/SalesQuotationListResult"}}}}}},"/api/public/v1/SalesQuotation/{id}":{"get":{"tags":["SalesQuotation"],"summary":"Get SalesQuotation by Id","operationId":"SalesQuotation_Get_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"SalesQuotation Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesQuotationResult"}}}},"delete":{"tags":["SalesQuotation"],"summary":"Delete SalesQuotation by Id","operationId":"SalesQuotation_Delete_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"SalesQuotation Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesQuotationResult"}}}}},"/api/public/v1/SalesQuotation/{id}/Cancel":{"put":{"tags":["SalesQuotation"],"summary":"Cancel SalesQuotation by Id","operationId":"SalesQuotation_Cancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"SalesQuotation Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesQuotationResult"}}}}},"/api/public/v1/SalesQuotation/{id}/UnCancel":{"put":{"tags":["SalesQuotation"],"summary":"UnCancel SalesQuotation by Id","operationId":"SalesQuotation_UnCancel_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"SalesQuotation Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesQuotationResult"}}}}},"/api/public/v1/SalesQuotation":{"put":{"tags":["SalesQuotation"],"summary":"Update Quotation","operationId":"SalesQuotation_Update_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"SalesQuotation to be updated","required":true,"schema":{"$ref":"#/definitions/UpdateSalesQuotationParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesQuotationResult"}}}},"post":{"tags":["SalesQuotation"],"summary":"Create SalesQuotation","operationId":"SalesQuotation_Create_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"SalesQuotation to be created","required":true,"schema":{"$ref":"#/definitions/CreateSalesQuotationParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SalesQuotationResult"}}}}},"/api/public/v1/SalesQuotation/{id}/print/{reportName}":{"post":{"tags":["SalesQuotation"],"summary":"Print SalesQuotation","operationId":"SalesQuotation_Print_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"SalesQuotation Id Param","required":true,"type":"string"},{"name":"reportName","in":"path","description":"SalesQuotation report name Param","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/SalesQuotation/printlisting":{"get":{"tags":["SalesQuotation"],"summary":"Print SalesQuotation Listing","operationId":"SalesQuotation_PrintListing_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"SalesQuotation transaction from date Param","required":false,"type":"string"},{"name":"toDate","in":"query","description":"SalesQuotation transaction to date Param","required":false,"type":"string"},{"name":"keyword","in":"query","description":"SalesQuotation transaction keyword search filter Param","required":false,"type":"string"},{"name":"reportName","in":"query","description":"SalesQuotation report name Param","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IDocumentEntity"}}}}},"/api/public/v1/SalesQuotation/reports":{"get":{"tags":["SalesQuotation"],"summary":"Get SalesQuotation Report Template List","operationId":"SalesQuotation_GetReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/SalesQuotation/listingreports":{"get":{"tags":["SalesQuotation"],"summary":"Get SalesQuotation Listing Report Template List","operationId":"SalesQuotation_GetListingReportSelection_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/IReportSelectionEntity"}}}}}},"/api/public/v1/StockItem/GetList":{"post":{"tags":["Stock"],"summary":"Get List of Stock Item","description":"Get list of Stock Item.","operationId":"Stock_GetStockItemList_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"keyword","in":"query","required":false,"type":"string"},{"name":"ModifiedFromDate","in":"query","description":"Modified Date From in YYYYMMDD format","required":false,"type":"string"},{"name":"ModifiedToDate","in":"query","description":"Modified Date To in YYYYMMDD format","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/StockItemListResult"}}}}}},"/api/public/v1/StockItem/{stockItemId}":{"get":{"tags":["Stock"],"summary":"Get Stock Item","description":"GetStock Item.","operationId":"Stock_GetStockItem_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockItemId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StockItemResult"}}}},"delete":{"tags":["Stock"],"summary":"Delete StockItem","operationId":"Stock_DeleteMember_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockItemId","in":"path","description":"StockItemId","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StockItemResult"}}}}},"/api/public/v1/StockItem":{"get":{"tags":["Stock"],"summary":"Get Stock Item","description":"GetStock Item.","operationId":"Stock_GetStockItemByCode_V1","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"itemCode","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StockItemResult"}}}}},"/api/public/v1/StockItem/CreateStockItem":{"post":{"tags":["Stock"],"summary":"Create StockItem","operationId":"Stock_CreateStockItem_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"StockItem","required":true,"schema":{"$ref":"#/definitions/CreateStockItemParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StockItemResult"}}}}},"/api/public/v1/StockItem/UpdateStockItem":{"put":{"tags":["Stock"],"summary":"Update StockItem","operationId":"Stock_UpdateStockItem_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","description":"StockItem","required":true,"schema":{"$ref":"#/definitions/UpdateStockItemParam"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StockItemResult"}}}}},"/api/public/v1/TokenAuth/Authenticate":{"post":{"tags":["TokenAuth"],"operationId":"TokenAuth_Authenticate_V1","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"param","in":"body","required":true,"schema":{"$ref":"#/definitions/AuthenticateParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}}},"definitions":{"GetAPCreditNoteListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"}}},"APCreditNoteListResult":{"type":"object","properties":{"DocDate":{"format":"date-time","type":"string"},"CreditorCode":{"type":"string"},"CompanyName":{"type":"string"},"Description":{"type":"string"},"DocNo":{"type":"string"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"CurrencyCode":{"type":"string"},"Amount":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"Id":{"type":"string"},"RefNo":{"type":"string"},"RefNo2":{"type":"string"},"SupplierCNNo":{"type":"string"},"SupplierInvoiceNo":{"type":"string"},"CNType":{"type":"string"},"JournalType":{"type":"string"},"IsCreditJournal":{"type":"boolean"}}},"CreateAPCreditNoteParam":{"required":["CreditorCode","DocDate","JournalType","CurrencyCode"],"type":"object","properties":{"CreditorCode":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"JournalType":{"type":"string"},"CNType":{"type":"string"},"RefNo":{"type":"string"},"RefNo2":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Note":{"type":"string"},"Reason":{"type":"string"},"SupplierCNNo":{"type":"string"},"SupplierInvoiceNo":{"type":"string"},"IsCreditJournal":{"type":"boolean"},"CurrencyCode":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateAPCreditNoteLineParam"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateAPCreditNoteKnockOffLineParam"}}}},"CreateAPCreditNoteLineParam":{"required":["LineState","SupplyPurchase","AccNo"],"type":"object","properties":{"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"SupplyPurchase":{"type":"string"},"AccNo":{"type":"string"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Tax":{"type":"string"},"Amount":{"format":"double","type":"number"}}},"CreateAPCreditNoteKnockOffLineParam":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"APCreditNoteResult":{"type":"object","properties":{"CreditorCode":{"type":"string"},"CompanyName":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"JournalType":{"type":"string"},"CNType":{"type":"string"},"RefNo":{"type":"string"},"RefNo2":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Note":{"type":"string"},"Reason":{"type":"string"},"SupplierCNNo":{"type":"string"},"SupplierInvoiceNo":{"type":"string"},"IsCreditJournal":{"type":"boolean"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"Id":{"type":"string"},"Total":{"format":"double","type":"number"},"Amount":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IAPCreditNoteLineEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/IAPCreditNoteKnockOffLineEntity"}}}},"IAPCreditNoteLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Tax":{"type":"string"},"Amount":{"format":"double","type":"number"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"LocalTaxAdjustment":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"ToAccountRate":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"NetAmount":{"format":"double","type":"number"},"LocalNetAmount":{"format":"double","type":"number"},"SupplyPurchase":{"type":"string"}}},"IAPCreditNoteKnockOffLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"GetAPOutstandingInvoiceDebitNoteParam":{"required":["CreditorCode"],"type":"object","properties":{"CreditorCode":{"type":"string"}}},"APCreditNoteOutstandingInvoiceDebitNoteResult":{"type":"object","properties":{"DocumentType":{"type":"string"},"Id":{"type":"string"},"Number":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DueDate":{"format":"date-time","type":"string"},"NetTotal":{"format":"double","type":"number"},"OutstandingAmount":{"format":"double","type":"number"}}},"GetAPInvoiceListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"},"ReferenceNumber2":{"type":"string"}}},"APInvoiceListResult":{"type":"object","properties":{"CreditorCode":{"type":"string"},"CompanyName":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"JournalType":{"type":"string"},"DueDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"LocalAmount":{"format":"double","type":"number"},"OutstandingAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"Agent":{"type":"string"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"Id":{"type":"string"},"Amount":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"}}},"CreateAPInvoiceParam":{"required":["CreditorCode","DocDate","JournalType","CreditTerm","CurrencyCode"],"type":"object","properties":{"CreditorCode":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"JournalType":{"type":"string"},"DueDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"CreditTerm":{"type":"string"},"RefNo2":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Agent":{"type":"string"},"SupplierInvoiceNo":{"type":"string"},"CurrencyCode":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateAPInvoiceLineParam"}}}},"CreateAPInvoiceLineParam":{"required":["AccNo"],"type":"object","properties":{"AccNo":{"type":"string"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Tax":{"type":"string"},"Amount":{"format":"double","type":"number"}}},"APInvoiceResult":{"type":"object","properties":{"CreditorCode":{"type":"string"},"CompanyName":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"JournalType":{"type":"string"},"DueDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"LocalAmount":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"OutstandingAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"Agent":{"type":"string"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"Id":{"type":"string"},"RefNo2":{"type":"string"},"CreditTerm":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Note":{"type":"string"},"Total":{"format":"double","type":"number"},"Amount":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SupplierInvoiceNo":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IAPInvoiceLineEntity"}}}},"IAPInvoiceLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Tax":{"type":"string"},"Amount":{"format":"double","type":"number"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"LocalTaxAdjustment":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"ToAccountRate":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"NetAmount":{"format":"double","type":"number"},"LocalNetAmount":{"format":"double","type":"number"}}},"APPaymentListResult":{"type":"object","properties":{"Id":{"type":"string"},"DocNo":{"type":"string"},"Description":{"type":"string"},"CreditorCode":{"type":"string"},"CompanyName":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"Amount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"SourceType":{"type":"string"},"IsCancelled":{"type":"boolean"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToCreditorCurrencyRate":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"Agent":{"type":"string"}}},"APPaymentCreateEntity":{"required":["CreditorCode","Description","DocDate","CurrencyCode","CreditorCurrencyCode","ToLocalCurrencyRate","ToCreditorCurrencyRate"],"type":"object","properties":{"CreditorCode":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"CurrencyCode":{"type":"string"},"CreditorCurrencyCode":{"type":"string"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToCreditorCurrencyRate":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/APPaymentLineCreateEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/APPaymentKnockOffLineCreateEntity"}},"RefNo":{"type":"string"},"Note":{"type":"string"},"Project":{"description":"Project Code","type":"string"},"Dept":{"description":"Deoartnebt Code","type":"string"}}},"APPaymentLineCreateEntity":{"required":["PaymentMethod","ChequeNo","Amount"],"type":"object","properties":{"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"}}},"APPaymentKnockOffLineCreateEntity":{"required":["Id","DocumentType","KnockOfAmount","KnockOffDate"],"type":"object","properties":{"Id":{"description":"AR Invoice ID","type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"}}},"APPaymentCreateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"CreditorCode":{"type":"string"},"CreditorCurrencyCode":{"type":"string"},"CreditorCurrencySymbol":{"type":"string"},"CompanyName":{"type":"string"},"Agent":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"RefNo":{"type":"string"},"Note":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"KnockOffAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"SourceType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/APPaymentLineCreateResultEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/APPaymentKnockOffLineCreateResultEntity"}},"IsCancelled":{"type":"boolean"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToCreditorCurrencyRate":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"APPaymentLineCreateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"ToBankRate":{"format":"double","type":"number"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"APPaymentKnockOffLineCreateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"ToBankRate":{"format":"double","type":"number"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"APPaymentUpdateEntity":{"required":["Id","CreditorCode","Description","DocDate","CurrencyCode","CreditorCurrencyCode","ToLocalCurrencyRate","ToCreditorCurrencyRate"],"type":"object","properties":{"Id":{"type":"string"},"CreditorCode":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"CurrencyCode":{"type":"string"},"CreditorCurrencyCode":{"type":"string"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToCreditorCurrencyRate":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/APPaymentLineCreateEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/APPaymentKnockOffLineCreateEntity"}},"RefNo":{"type":"string"},"Note":{"type":"string"},"Project":{"description":"Project Code","type":"string"},"Dept":{"description":"Deoartnebt Code","type":"string"}}},"APPaymentUpdateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"CreditorCode":{"type":"string"},"CreditorCurrencyCode":{"type":"string"},"CreditorCurrencySymbol":{"type":"string"},"CompanyName":{"type":"string"},"Agent":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"RefNo":{"type":"string"},"Note":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"KnockOffAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"SourceType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/APPaymentLineCreateResultEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/APPaymentKnockOffLineCreateResultEntity"}},"IsCancelled":{"type":"boolean"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToCreditorCurrencyRate":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"},"UnappliedAmount":{"format":"double","type":"number"}}},"APPaymentGetResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"CreditorCode":{"type":"string"},"CreditorCurrencyCode":{"type":"string"},"CreditorCurrencySymbol":{"type":"string"},"CompanyName":{"type":"string"},"Agent":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"RefNo":{"type":"string"},"Note":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"KnockOffAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"SourceType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/APPaymentLineGetResultEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/APPaymentKnockOffLineGetResultEntity"}},"IsCancelled":{"type":"boolean"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToCreditorCurrencyRate":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"APPaymentLineGetResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"ToBankRate":{"format":"double","type":"number"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"APPaymentKnockOffLineGetResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"ToBankRate":{"format":"double","type":"number"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"APPaymentOutstandingInvoiceResultEntity":{"type":"object","properties":{"DocumentType":{"type":"string"},"Id":{"type":"string"},"Number":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DueDate":{"format":"date-time","type":"string"},"NetTotal":{"format":"double","type":"number"},"OutstandingAmount":{"format":"double","type":"number"}}},"GetARCreditNoteListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"},"ReferenceNumber":{"type":"string"}}},"ARCreditNoteListResult":{"type":"object","properties":{"DocDate":{"format":"date-time","type":"string"},"DebtorCode":{"type":"string"},"CompanyName":{"type":"string"},"Description":{"type":"string"},"DocNo":{"type":"string"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"CurrencyCode":{"type":"string"},"Amount":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"Id":{"type":"string"},"RefNo":{"type":"string"},"RefNo2":{"type":"string"},"OurInvoiceNo":{"type":"string"},"CNType":{"type":"string"},"JournalType":{"type":"string"},"IsCreditJournal":{"type":"boolean"}}},"CreateARCreditNoteParam":{"required":["DebtorCode","DocDate","JournalType","CurrencyCode"],"type":"object","properties":{"DebtorCode":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"JournalType":{"type":"string"},"CNType":{"type":"string"},"RefNo":{"type":"string"},"RefNo2":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Note":{"type":"string"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"IsCreditJournal":{"type":"boolean"},"CurrencyCode":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateARCreditNoteLineParam"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateARCreditNoteKnockOffLineParam"}},"DocNo":{"type":"string"}}},"CreateARCreditNoteLineParam":{"required":["RowState","SupplyPurchase","AccNo"],"type":"object","properties":{"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"SupplyPurchase":{"type":"string"},"AccNo":{"type":"string"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Tax":{"type":"string"},"Amount":{"format":"double","type":"number"}}},"CreateARCreditNoteKnockOffLineParam":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"DocumentKey":{"type":"string"}}},"ARCreditNoteResult":{"type":"object","properties":{"DebtorCode":{"type":"string"},"CompanyName":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"JournalType":{"type":"string"},"CNType":{"type":"string"},"RefNo":{"type":"string"},"RefNo2":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Note":{"type":"string"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"IsCreditJournal":{"type":"boolean"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"Id":{"type":"string"},"Total":{"format":"double","type":"number"},"Amount":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IARCreditNoteLineEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/IARCreditNoteKnockOffLineEntity"}}}},"IARCreditNoteLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Tax":{"type":"string"},"Amount":{"format":"double","type":"number"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"LocalTaxAdjustment":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"ToAccountRate":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"NetAmount":{"format":"double","type":"number"},"LocalNetAmount":{"format":"double","type":"number"},"SupplyPurchase":{"type":"string"}}},"IARCreditNoteKnockOffLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"DocumentKey":{"type":"string"}}},"UpdateARCreditNoteParam":{"required":["Id","DocDate","DebtorCode"],"type":"object","properties":{"Id":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DebtorCode":{"type":"string"},"DocNo":{"type":"string"},"CompanyName":{"type":"string"},"Description":{"type":"string"},"JournalType":{"type":"string"},"CNType":{"type":"string"},"RefNo":{"type":"string"},"RefNo2":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Note":{"type":"string"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"IsCreditJournal":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"Amount":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdateARCreditNoteLineParam"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdateARCreditNoteKnockOffLineParam"}}}},"UpdateARCreditNoteLineParam":{"type":"object","properties":{"Id":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Tax":{"type":"string"},"Amount":{"format":"double","type":"number"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"NetAmount":{"format":"double","type":"number"},"SupplyPurchase":{"type":"string"}}},"UpdateARCreditNoteKnockOffLineParam":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"DocumentKey":{"type":"string"}}},"GetARDebitNoteListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"},"ReferenceNumber":{"type":"string"}}},"ARDebitNoteListResult":{"type":"object","properties":{"DebtorCode":{"type":"string"},"CompanyName":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"CurrencyCode":{"type":"string"},"DueDate":{"format":"date-time","type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"Agent":{"type":"string"},"OutstandingAmount":{"format":"double","type":"number"},"Id":{"type":"string"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"RefNo":{"type":"string"},"RefNo2":{"type":"string"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"DNType":{"type":"string"},"IsDebitJournal":{"type":"boolean"}}},"CreateARDebitNoteParam":{"required":["DebtorCode","DocDate","JournalType","CreditTerm","CurrencyCode"],"type":"object","properties":{"DebtorCode":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"JournalType":{"description":"SALES or PURCHASE","type":"string"},"RefNo2":{"type":"string"},"CreditTerm":{"type":"string"},"InclusiveTax":{"type":"boolean"},"CurrencyCode":{"type":"string"},"Agent":{"type":"string"},"RefNo":{"type":"string"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"DNType":{"type":"string"},"IsDebitJournal":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateARDebitNoteLineParam"}},"DocNo":{"type":"string"}}},"CreateARDebitNoteLineParam":{"required":["AccNo","SupplyPurchase"],"type":"object","properties":{"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Tax":{"type":"string"},"Amount":{"format":"double","type":"number"},"SupplyPurchase":{"description":"S or P","type":"string"}}},"ARDebitNoteResult":{"type":"object","properties":{"DebtorCode":{"type":"string"},"CompanyName":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"JournalType":{"type":"string"},"DueDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"LocalAmount":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"OutstandingAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"Agent":{"type":"string"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"Id":{"type":"string"},"RefNo2":{"type":"string"},"CreditTerm":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Note":{"type":"string"},"Total":{"format":"double","type":"number"},"Amount":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"RefNo":{"type":"string"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"DNType":{"type":"string"},"IsDebitJournal":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IARDebitNoteLineEntity"}}}},"IARDebitNoteLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"ToAccountRate":{"format":"double","type":"number"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"SupplyPurchase":{"type":"string"},"Tax":{"type":"string"},"TaxAdjustment":{"format":"double","type":"number"},"Amount":{"format":"double","type":"number"}}},"UpdateARDebitNoteParam":{"required":["Id","DebtorCode","DocDate"],"type":"object","properties":{"Id":{"type":"string"},"DebtorCode":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"JournalType":{"type":"string"},"RefNo2":{"type":"string"},"Agent":{"type":"string"},"CreditTerm":{"type":"string"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"DNType":{"type":"string"},"RefNo":{"type":"string"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"IsDebitJournal":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdateARDebitNoteLineParam"}}}},"UpdateARDebitNoteLineParam":{"required":["Id"],"type":"object","properties":{"Id":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"ToAccountRate":{"format":"double","type":"number"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"SupplyPurchase":{"type":"string"},"Tax":{"type":"string"},"TaxAdjustment":{"format":"double","type":"number"},"Amount":{"format":"double","type":"number"}}},"GetARDepositListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"},"Description":{"type":"string"}}},"ARDepositListResult":{"type":"object","properties":{"CurrencyCode":{"type":"string"},"DocNo":{"type":"string"},"Description":{"type":"string"},"DebtorCode":{"type":"string"},"DebtorName":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"Attention":{"type":"string"},"DepositPaymentMethod":{"type":"string"},"PaymentAmt":{"format":"double","type":"number"},"OutstandingAmt":{"format":"double","type":"number"},"ToHomeRate":{"format":"double","type":"number"},"Id":{"type":"string"},"IsCancelled":{"type":"boolean"},"HasRefund":{"type":"boolean"},"HasForfeit":{"type":"boolean"},"ForfeitLine":{"type":"array","items":{"$ref":"#/definitions/IARDepositForfeitEntity"}}}},"IARDepositForfeitEntity":{"type":"object","properties":{"ForfeitKey":{"type":"string"},"DocKey":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"Description":{"type":"string"},"ForfeitedAmt":{"format":"double","type":"number"},"ForfeitedAccNo":{"type":"string"},"LastModified":{"format":"date-time","type":"string"},"LastModifiedUserID":{"type":"string"},"CreatedTimeStamp":{"format":"date-time","type":"string"},"CreatedUserID":{"type":"string"}}},"CreateARDepositParam":{"required":["DebtorCode","DepositPaymentMethod","DocDate","CurrencyCode"],"type":"object","properties":{"DebtorCode":{"type":"string"},"DepositPaymentMethod":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"CurrencyCode":{"type":"string"},"IsSecurityDeposit":{"type":"boolean"},"Project":{"type":"string"},"Dept":{"type":"string"},"Description":{"type":"string"},"DebtorName":{"type":"string"},"Attention":{"type":"string"},"Note":{"type":"string"},"Phone":{"type":"string"},"Fax":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateARDepositLineParam"}}}},"CreateARDepositLineParam":{"required":["PaymentMethod","LineState"],"type":"object","properties":{"PaymentMethod":{"type":"string"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"PaymentBy":{"type":"string"},"ChequeNo":{"type":"string"},"FloatDay":{"format":"int32","type":"integer"},"PaymentAmt":{"format":"double","type":"number"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"BankCharge":{"format":"double","type":"number"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTaxRefNo":{"type":"string"},"Id":{"type":"string"}}},"ARDepositResult":{"type":"object","properties":{"DepositPaymentMethod":{"type":"string"},"DebtorCode":{"type":"string"},"CurrencyCode":{"type":"string"},"ToHomeRate":{"format":"double","type":"number"},"ToDepositRate":{"format":"double","type":"number"},"IsSecurityDeposit":{"type":"boolean"},"DocNo":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"DebtorName":{"type":"string"},"Attention":{"type":"string"},"Description":{"type":"string"},"Phone":{"type":"string"},"Fax":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"},"Note":{"type":"string"},"Id":{"type":"string"},"PaymentAmt":{"format":"double","type":"number"},"TransferedAmt":{"format":"double","type":"number"},"OutstandingAmt":{"format":"double","type":"number"},"HasForfeit":{"type":"boolean"},"ForfeitedDate":{"format":"date-time","type":"string"},"ForfeitedAmt":{"format":"double","type":"number"},"ForfeitedAccNo":{"type":"string"},"HasRefund":{"type":"boolean"},"RefundDate":{"format":"date-time","type":"string"},"RefundDocNo":{"type":"string"},"RefundName":{"type":"string"},"RefundAmt":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IARDepositLineEntity"}},"RefundLine":{"type":"array","items":{"$ref":"#/definitions/IARDepositLineEntity"}},"ForfeitLine":{"type":"array","items":{"$ref":"#/definitions/IARDepositForfeitEntity"}}}},"IARDepositLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"PaymentMethod":{"type":"string"},"PaymentBy":{"type":"string"},"ChequeNo":{"type":"string"},"FloatDay":{"format":"int32","type":"integer"},"ToBankRate":{"format":"double","type":"number"},"PaymentAmt":{"format":"double","type":"number"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"BankCharge":{"format":"double","type":"number"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"}}},"ForfeitRefundARDepositParam":{"required":["Id","DocDate"],"type":"object","properties":{"Id":{"type":"string"},"HasForfeit":{"type":"boolean"},"ForfeitedDate":{"format":"date-time","type":"string"},"ForfeitedAmt":{"format":"double","type":"number"},"ForfeitedAccNo":{"type":"string"},"HasRefund":{"type":"boolean"},"RefundDate":{"format":"date-time","type":"string"},"RefundDocNo":{"type":"string"},"RefundName":{"type":"string"},"RefundLine":{"type":"array","items":{"$ref":"#/definitions/ForfeitRefundARDepositLineParam"}},"DocDate":{"format":"date-time","type":"string"}}},"ForfeitRefundARDepositLineParam":{"required":["PaymentMethod","LineState"],"type":"object","properties":{"PaymentMethod":{"type":"string"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"PaymentBy":{"type":"string"},"ChequeNo":{"type":"string"},"FloatDay":{"format":"int32","type":"integer"},"PaymentAmt":{"format":"double","type":"number"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"BankCharge":{"format":"double","type":"number"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTaxRefNo":{"type":"string"},"Id":{"type":"string"}}},"GetARInvoiceListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"}}},"ARInvoiceListResult":{"type":"object","properties":{"DocDate":{"format":"date-time","type":"string"},"CompanyName":{"type":"string"},"DebtorCode":{"type":"string"},"DocNo":{"type":"string"},"Description":{"type":"string"},"CurrencyCode":{"type":"string"},"DueDate":{"format":"date-time","type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"OutstandingAmount":{"format":"double","type":"number"},"Agent":{"type":"string"},"Id":{"type":"string"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"}}},"CreateARInvoiceParam":{"required":["DebtorCode","DocDate","JournalType","CreditTerm","CurrencyCode"],"type":"object","properties":{"DebtorCode":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"JournalType":{"type":"string"},"RefNo2":{"type":"string"},"CreditTerm":{"type":"string"},"InclusiveTax":{"type":"boolean"},"CurrencyCode":{"type":"string"},"Agent":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateARInvoiceLineParam"}},"DocNo":{"type":"string"}}},"CreateARInvoiceLineParam":{"required":["AccNo"],"type":"object","properties":{"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Tax":{"type":"string"},"Amount":{"format":"double","type":"number"}}},"ARInvoiceResult":{"type":"object","properties":{"DocDate":{"format":"date-time","type":"string"},"CompanyName":{"type":"string"},"DebtorCode":{"type":"string"},"DocNo":{"type":"string"},"Description":{"type":"string"},"CurrencyCode":{"type":"string"},"DueDate":{"format":"date-time","type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"OutstandingAmount":{"format":"double","type":"number"},"Agent":{"type":"string"},"Id":{"type":"string"},"SourceType":{"type":"string"},"SourceKey":{"type":"string"},"JournalType":{"type":"string"},"TaxableAmount":{"format":"double","type":"number"},"CurrencyRate":{"format":"double","type":"number"},"RefNo2":{"type":"string"},"CreditTerm":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Note":{"type":"string"},"Total":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IARInvoiceLineEntity"}}}},"IARInvoiceLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"LineState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"Description":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Tax":{"type":"string"},"Amount":{"format":"double","type":"number"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"LocalTaxAdjustment":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"ToAccountRate":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"NetAmount":{"format":"double","type":"number"},"LocalNetAmount":{"format":"double","type":"number"}}},"CreateBatchARInvoiceParam":{"required":["ReferenceId","ARInvoice"],"type":"object","properties":{"ReferenceId":{"type":"string"},"ARInvoice":{"$ref":"#/definitions/CreateARInvoiceParam"}}},"CreateBatchARInvoiceResult":{"type":"object","properties":{"ReferenceId":{"type":"string"},"IsSuccess":{"type":"boolean"},"ExceptionMessage":{"type":"string"},"ARInvoice":{"$ref":"#/definitions/ARInvoiceResult"}}},"VoucherListResult":{"type":"object","properties":{"TransType":{"format":"int32","enum":[0,1],"type":"integer"},"SourceKey":{"type":"string"},"SourceType":{"type":"string"},"DocumentType":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer"},"Id":{"type":"string"},"Number":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Name":{"type":"string"},"Description":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TotalPayment":{"format":"double","type":"number"},"IsPostDetailDesc":{"type":"boolean"}}},"GetCashSalesListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"},"Debtor":{"type":"string"},"Location":{"type":"string"}}},"CashSalesListResult":{"type":"object","properties":{"Id":{"type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"DocumentDate":{"format":"date-time","type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"Agent":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"SalesLocation":{"type":"string"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Branch":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"},"SalesTaxExemptionExpiryDate":{"format":"date-time","type":"string"}}},"CashSalesResult":{"type":"object","properties":{"Id":{"type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ICashSalesLineEntity"}},"Payment":{"$ref":"#/definitions/ICashSalesPayment"},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"Number":{"type":"string"},"Contact":{"type":"string"},"Fax":{"type":"string"},"Phone":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"RoundAdj":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"CurrencySymbol":{"type":"string"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"Branch":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"},"SalesTaxExemptionExpiryDate":{"format":"date-time","type":"string"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CreditTerm":{"type":"string"}}},"IAddressEntity":{"type":"object","properties":{"Contact":{"type":"string"},"Fax":{"type":"string"},"Phone":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"}}},"ICashSalesLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Tax":{"type":"string"},"Discount":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"SmallestQty":{"format":"double","type":"number"},"SmallestUnitPrice":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"LocalSubTotalExTax":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"FurtherDescription":{"type":"string"},"LineIndex":{"format":"int32","type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"},"TariffCode":{"type":"string"},"Classification":{"type":"string"}}},"ICashSalesPayment":{"type":"object","properties":{"CCApprovalCode":{"type":"string"},"PaymentAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToDebtorCurrencyRate":{"format":"double","type":"number"},"Date":{"format":"date-time","type":"string"},"ReceiptReferenceNo":{"type":"string"},"ProjNo":{"type":"string"},"DeptNo":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ICashSalesPaymentLine"}}}},"ICashSalesPaymentLine":{"type":"object","properties":{"Id":{"type":"string"},"PaymentMethod":{"type":"string"},"Amount":{"format":"double","type":"number"},"ChequeNo":{"type":"string"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"CreateCashSales_CreditPaymentParam":{"required":["Debtor","DocumentDate","SalesLocation"],"type":"object","properties":{"Payment":{"$ref":"#/definitions/CreateCashSales_CreditParam"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"CreditTerm":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSalesLineParam"}},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"IsRoundAdj":{"type":"boolean"}}},"CreateCashSales_CreditParam":{"type":"object","properties":{}},"AddressEntity":{"type":"object","properties":{"Contact":{"type":"string"},"Fax":{"type":"string"},"Phone":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"}}},"CreateCashSalesLineParam":{"type":"object","properties":{"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"Classification":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"UpdateCashSales_CreditPaymentParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Payment":{"$ref":"#/definitions/UpdateCashSales_CreditParam"},"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ICashSalesLineEntity"}},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"CreditTerm":{"type":"string"}}},"UpdateCashSales_CreditParam":{"type":"object","properties":{}},"CreateCashSales_MultiPaymentParam":{"required":["Debtor","DocumentDate","SalesLocation"],"type":"object","properties":{"Payment":{"$ref":"#/definitions/CreateCashSales_MultiParam"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"CreditTerm":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSalesLineParam"}},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"IsRoundAdj":{"type":"boolean"}}},"CreateCashSales_MultiParam":{"type":"object","properties":{"Date":{"format":"date-time","type":"string"},"ReceiptReferenceNo":{"type":"string"},"ProjNo":{"type":"string"},"DeptNo":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSales_MultiDetailsLineParam"}}}},"CreateCashSales_MultiDetailsLineParam":{"type":"object","properties":{"Id":{"type":"string"},"Amount":{"format":"double","type":"number"},"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"UpdateCashSales_MultiPaymentParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Payment":{"$ref":"#/definitions/UpdateCashSales_MultiParam"},"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ICashSalesLineEntity"}},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"CreditTerm":{"type":"string"}}},"UpdateCashSales_MultiParam":{"type":"object","properties":{"Date":{"format":"date-time","type":"string"},"ReceiptReferenceNo":{"type":"string"},"ProjNo":{"type":"string"},"DeptNo":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSales_MultiDetailsLineParam"}}}},"CreateCashSales_CreditCardPaymentParam":{"required":["Debtor","DocumentDate","SalesLocation"],"type":"object","properties":{"Payment":{"$ref":"#/definitions/CreateCashSales_CreditCardParam"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"CreditTerm":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSalesLineParam"}},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"IsRoundAdj":{"type":"boolean"}}},"CreateCashSales_CreditCardParam":{"type":"object","properties":{"CCApprovalCode":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSales_CreditCardDetailsLineParam"}}}},"CreateCashSales_CreditCardDetailsLineParam":{"type":"object","properties":{"Amount":{"format":"double","type":"number"},"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"}}},"UpdateCashSales_CreditCardPaymentParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Payment":{"$ref":"#/definitions/UpdateCashSales_CreditCardParam"},"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ICashSalesLineEntity"}},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"CreditTerm":{"type":"string"}}},"UpdateCashSales_CreditCardParam":{"type":"object","properties":{"CCApprovalCode":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSales_CreditCardDetailsLineParam"}}}},"CreateCashSales_CashPaymentParam":{"required":["Debtor","DocumentDate","SalesLocation"],"type":"object","properties":{"Payment":{"$ref":"#/definitions/CreateCashSales_CashParam"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"CreditTerm":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSalesLineParam"}},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"IsRoundAdj":{"type":"boolean"}}},"CreateCashSales_CashParam":{"type":"object","properties":{"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSales_CashDetailsLineParam"}}}},"CreateCashSales_CashDetailsLineParam":{"type":"object","properties":{"Amount":{"format":"double","type":"number"}}},"UpdateCashSales_CashPaymentParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Payment":{"$ref":"#/definitions/UpdateCashSales_CashParam"},"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ICashSalesLineEntity"}},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"CreditTerm":{"type":"string"}}},"UpdateCashSales_CashParam":{"type":"object","properties":{"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSales_CashDetailsLineParam"}}}},"CreateCashSalesParam":{"required":["Debtor","DocumentDate","SalesLocation"],"type":"object","properties":{"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"CreditTerm":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCashSalesLineParam"}},"Payment":{"$ref":"#/definitions/ICashSalesPayment"},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"IsRoundAdj":{"type":"boolean"}}},"UpdateCashSalesParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"Description":{"type":"string"},"InclusiveTax":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ICashSalesLineEntity"}},"Payment":{"$ref":"#/definitions/ICashSalesPayment"},"PaymentMode":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"int32","type":"integer"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"CreditTerm":{"type":"string"}}},"IDocumentEntity":{"type":"object","properties":{"Content":{"$ref":"#/definitions/Stream"},"ContentType":{"format":"int32","enum":[0,1],"type":"integer"}}},"Stream":{"type":"object","properties":{"CanRead":{"type":"boolean","readOnly":true},"CanSeek":{"type":"boolean","readOnly":true},"CanTimeout":{"type":"boolean","readOnly":true},"CanWrite":{"type":"boolean","readOnly":true},"Length":{"format":"int64","type":"integer","readOnly":true},"Position":{"format":"int64","type":"integer"},"ReadTimeout":{"format":"int32","type":"integer"},"WriteTimeout":{"format":"int32","type":"integer"}}},"IReportSelectionEntity":{"type":"object","properties":{"ReportName":{"type":"string"},"ReportTypeName":{"type":"string"},"IsSystemReport":{"type":"boolean"},"IsDefaultReport":{"type":"boolean"}}},"GetCreditNoteListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"},"ReferenceNumber":{"type":"string"}}},"CreditNoteListResult":{"type":"object","properties":{"Id":{"type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"DocumentDate":{"format":"date-time","type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"Agent":{"type":"string"},"CNType":{"type":"string"},"OurInvoiceNo":{"type":"string"},"SalesLocation":{"type":"string"},"IsCancelled":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"}}},"CreditNoteResult":{"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"RoundingMethod":{"format":"int32","type":"integer"},"RoundAdj":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"CNType":{"type":"string"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ICreditNoteLineEntity"}}}},"ICreditNoteLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Tax":{"type":"string"},"Discount":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"SmallestQty":{"format":"double","type":"number"},"SmallestUnitPrice":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"LocalSubTotalExTax":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"FurtherDescription":{"type":"string"},"LineIndex":{"format":"int32","type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"},"TariffCode":{"type":"string"},"Classification":{"type":"string"}}},"CreateCreditNoteParam":{"required":["Debtor","DocumentDate"],"type":"object","properties":{"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"CNType":{"type":"string"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateCreditNoteLineParam"}}}},"CreateCreditNoteLineParam":{"type":"object","properties":{"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"Classification":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"UpdateCreditNoteParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"CNType":{"type":"string"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdateCreditNoteLineParam"}}}},"UpdateCreditNoteLineParam":{"required":["Id"],"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"Classification":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"CreditorGetResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"AccNo":{"type":"string"},"CompanyName":{"type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"PurchaseAgent":{"type":"string"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"NatureOfBusiness":{"type":"string"},"WebURL":{"type":"string"},"EmailAddress":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"TaxCode":{"type":"string"},"TaxRegistrationNo":{"type":"string"},"GSTStatusVerifiedDate":{"format":"date-time","type":"string"},"IsInclusiveTax":{"type":"boolean"},"Area":{"type":"string"},"PriceCategory":{"type":"string"},"DetailDiscount":{"type":"string"},"BranchList":{"type":"array","items":{"$ref":"#/definitions/ICreditorBranchEntity"}}}},"ICreditorBranchEntity":{"type":"object","properties":{"IsActive":{"type":"boolean"},"Code":{"type":"string"},"Name":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"},"PostCode":{"type":"string"},"Contact":{"type":"string"},"Phone":{"type":"string"},"Phone2":{"type":"string"},"Fax1":{"type":"string"},"Fax2":{"type":"string"},"PurchaseAgent":{"type":"string"},"Area":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"CreditorCreateEntity":{"type":"object","properties":{"CompanyName":{"type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"}}},"CreditorCreateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"AccNo":{"type":"string"},"CompanyName":{"type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"PurchaseAgent":{"type":"string"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"NatureOfBusiness":{"type":"string"},"WebURL":{"type":"string"},"EmailAddress":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"TaxCode":{"type":"string"},"TaxRegistrationNo":{"type":"string"},"GSTStatusVerifiedDate":{"format":"date-time","type":"string"},"IsInclusiveTax":{"type":"boolean"},"Area":{"type":"string"},"PriceCategory":{"type":"string"},"DetailDiscount":{"type":"string"},"BranchList":{"type":"array","items":{"$ref":"#/definitions/ICreditorBranchEntity"}}}},"CreditorUpdateEntity":{"required":["Id"],"type":"object","properties":{"Id":{"type":"string"},"AccNo":{"type":"string"},"CompanyName":{"type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"IsInclusiveTax":{"type":"boolean"}}},"CreditorUpdateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"AccNo":{"type":"string"},"CompanyName":{"type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"IsInclusiveTax":{"type":"boolean"}}},"CreditorDeleteResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"AccNo":{"type":"string"},"CompanyName":{"type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"PurchaseAgent":{"type":"string"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"NatureOfBusiness":{"type":"string"},"WebURL":{"type":"string"},"EmailAddress":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"TaxCode":{"type":"string"},"TaxRegistrationNo":{"type":"string"},"GSTStatusVerifiedDate":{"format":"date-time","type":"string"},"IsInclusiveTax":{"type":"boolean"},"Area":{"type":"string"},"PriceCategory":{"type":"string"},"DetailDiscount":{"type":"string"},"BranchList":{"type":"array","items":{"$ref":"#/definitions/ICreditorBranchEntity"}}}},"GetDebitNoteListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"},"ReferenceNumber":{"type":"string"}}},"DebitNoteResult":{"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"RoundingMethod":{"format":"int32","type":"integer"},"RoundAdj":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"DNType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IDebitNoteLineEntity"}}}},"IDebitNoteLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Tax":{"type":"string"},"Discount":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"SmallestQty":{"format":"double","type":"number"},"SmallestUnitPrice":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"LocalSubTotalExTax":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"FurtherDescription":{"type":"string"},"LineIndex":{"format":"int32","type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"},"TariffCode":{"type":"string"},"Classification":{"type":"string"}}},"CreateDebitNoteParam":{"required":["Debtor","DocumentDate"],"type":"object","properties":{"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"DNType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateDebitNoteLineParam"}}}},"CreateDebitNoteLineParam":{"type":"object","properties":{"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"Classification":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"UpdateDebitNoteParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"Reason":{"type":"string"},"OurInvoiceNo":{"type":"string"},"DNType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdateDebitNoteLineParam"}}}},"UpdateDebitNoteLineParam":{"required":["Id"],"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"Classification":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"DebtorListResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"AccNo":{"type":"string"},"CompanyName":{"description":"Debtor Company Name","type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"WebURL":{"type":"string"},"EmailAddress":{"type":"string"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"IsTaxRegistered":{"type":"boolean"},"SalesAgent":{"type":"string"},"NatureOfBusiness":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"CurrencySymbol":{"type":"string"},"BlockExceedCreditLimit":{"type":"boolean"},"TaxCode":{"type":"string"},"TaxRegistrationNo":{"type":"string"},"IsInclusiveTax":{"type":"boolean"},"Area":{"type":"string"},"PriceCategory":{"type":"string"}}},"DebtorCreateEntity":{"required":["CompanyName"],"type":"object","properties":{"CompanyName":{"description":"Debtor Company Name","type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"WebURL":{"type":"string"},"EmailAddress":{"type":"string"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"IsTaxRegistered":{"type":"boolean"}}},"DebtorCreateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"AccNo":{"type":"string"},"CompanyName":{"description":"Debtor Company Name","type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"WebURL":{"type":"string"},"EmailAddress":{"type":"string"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"IsTaxRegistered":{"type":"boolean"},"SalesAgent":{"type":"string"},"NatureOfBusiness":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"CurrencySymbol":{"type":"string"},"BlockExceedCreditLimit":{"type":"boolean"},"TaxCode":{"type":"string"},"TaxRegistrationNo":{"type":"string"},"IsInclusiveTax":{"type":"boolean"},"Area":{"type":"string"},"PriceCategory":{"type":"string"}}},"DebtorUpdateEntity":{"required":["Id","CompanyName"],"type":"object","properties":{"Id":{"description":"Debtor Company Name","type":"string"},"CompanyName":{"type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"WebURL":{"type":"string"},"EmailAddress":{"type":"string"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"IsTaxRegistered":{"type":"boolean"},"IsInclusiveTax":{"type":"boolean"}}},"DebtorUpdateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"AccNo":{"type":"string"},"CompanyName":{"description":"Debtor Company Name","type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"WebURL":{"type":"string"},"EmailAddress":{"type":"string"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"IsTaxRegistered":{"type":"boolean"},"SalesAgent":{"type":"string"},"NatureOfBusiness":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"CurrencySymbol":{"type":"string"},"BlockExceedCreditLimit":{"type":"boolean"},"TaxCode":{"type":"string"},"TaxRegistrationNo":{"type":"string"},"IsInclusiveTax":{"type":"boolean"},"Area":{"type":"string"},"PriceCategory":{"type":"string"}}},"DebtorGetResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"AccNo":{"type":"string"},"CompanyName":{"description":"Debtor Company Name","type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"WebURL":{"type":"string"},"EmailAddress":{"type":"string"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"IsTaxRegistered":{"type":"boolean"},"SalesAgent":{"type":"string"},"NatureOfBusiness":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"CurrencySymbol":{"type":"string"},"BlockExceedCreditLimit":{"type":"boolean"},"TaxCode":{"type":"string"},"TaxRegistrationNo":{"type":"string"},"IsInclusiveTax":{"type":"boolean"},"Area":{"type":"string"},"PriceCategory":{"type":"string"}}},"DebtorDeleteResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"AccNo":{"type":"string"},"CompanyName":{"description":"Debtor Company Name","type":"string"},"RegisterNo":{"type":"string"},"Description":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"CreditTerm":{"type":"string"},"CreditLimit":{"format":"double","type":"number"},"WebURL":{"type":"string"},"EmailAddress":{"type":"string"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"IsTaxRegistered":{"type":"boolean"},"SalesAgent":{"type":"string"},"NatureOfBusiness":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"CurrencySymbol":{"type":"string"},"BlockExceedCreditLimit":{"type":"boolean"},"TaxCode":{"type":"string"},"TaxRegistrationNo":{"type":"string"},"IsInclusiveTax":{"type":"boolean"},"Area":{"type":"string"},"PriceCategory":{"type":"string"}}},"GetDeliveryOrderListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"}}},"DeliveryOrderListResult":{"type":"object","properties":{"Id":{"type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"DocumentDate":{"format":"date-time","type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"Agent":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"ShipVia":{"type":"string"},"SalesLocation":{"type":"string"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"}}},"DeliveryOrderResult":{"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"RoundingMethod":{"format":"int32","type":"integer"},"RoundAdj":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IDeliveryOrderLineEntity"}}}},"IDeliveryOrderLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Tax":{"type":"string"},"Discount":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"SmallestQty":{"format":"double","type":"number"},"SmallestUnitPrice":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"LocalSubTotalExTax":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"FurtherDescription":{"type":"string"},"LineIndex":{"format":"int32","type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"}}},"CreateDeliveryOrderParam":{"required":["Debtor","DocumentDate"],"type":"object","properties":{"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateDeliveryOrderLineParam"}}}},"CreateDeliveryOrderLineParam":{"type":"object","properties":{"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"UpdateDeliveryOrderParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdateDeliveryOrderLineParam"}}}},"UpdateDeliveryOrderLineParam":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"JournalEntryListResult":{"type":"object","properties":{"SourceKey":{"type":"string"},"SourceType":{"type":"string"},"Id":{"type":"string"},"Number":{"type":"string"},"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Description":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"NetTotalDR":{"format":"double","type":"number"},"NetTotalCR":{"format":"double","type":"number"},"IsPostGLAndTaxTrans":{"type":"boolean"}}},"CreateJournalEntryParam":{"required":["DocumentDate","JournalType","CurrencyCode"],"type":"object","properties":{"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"JournalType":{"type":"string"},"Description":{"type":"string"},"Note":{"type":"string"},"Number":{"type":"string"},"IsPostGLAndTaxTrans":{"type":"boolean"},"InclusiveTax":{"type":"boolean"},"CurrencyCode":{"type":"string"},"Lines":{"type":"array","items":{"$ref":"#/definitions/CreateJournalLineParam"}}}},"CreateJournalLineParam":{"type":"object","properties":{"AccNo":{"type":"string"},"DR":{"format":"double","type":"number"},"CR":{"format":"double","type":"number"},"SalesAgent":{"type":"string"},"Description":{"type":"string"},"FurtherDescription":{"type":"string"},"SupplyPurchase":{"type":"string"},"TaxType":{"type":"string"},"RefNo2":{"type":"string"},"TaxPermitNo":{"type":"string"},"TaxExportCountry":{"type":"string"},"TaxRefNo":{"type":"string"},"TaxBRNo":{"type":"string"},"TaxBName":{"type":"string"},"TaxRegisterNo":{"type":"string"},"TaxBillDate":{"format":"date-time","type":"string"},"TaxableDR":{"format":"double","type":"number"},"TaxableCR":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"},"TariffCode":{"type":"string"}}},"JournalEntryResult":{"type":"object","properties":{"Id":{"type":"string"},"Number":{"type":"string"},"DocNo2":{"type":"string"},"Description":{"type":"string"},"JournalType":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"DocumentDate":{"format":"date-time","type":"string"},"Note":{"type":"string"},"IsCancelled":{"type":"boolean"},"SourceKey":{"type":"string"},"SourceType":{"type":"string"},"JournalSourceType":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"IsPostGLAndTaxTrans":{"type":"boolean"},"InclusiveTax":{"type":"boolean"},"TotalDRExTax":{"format":"double","type":"number"},"TotalCRExTax":{"format":"double","type":"number"},"TotalDR":{"format":"double","type":"number"},"TotalCR":{"format":"double","type":"number"},"TaxableDR":{"format":"double","type":"number"},"TaxableCR":{"format":"double","type":"number"},"TaxDR":{"format":"double","type":"number"},"TaxCR":{"format":"double","type":"number"},"NetTotalDR":{"format":"double","type":"number"},"NetTotalCR":{"format":"double","type":"number"},"LocalTotalDRExTax":{"format":"double","type":"number"},"LocalTotalCRExTax":{"format":"double","type":"number"},"LocalTotalDR":{"format":"double","type":"number"},"LocalTotalCR":{"format":"double","type":"number"},"LocalTaxableDR":{"format":"double","type":"number"},"LocalTaxableCR":{"format":"double","type":"number"},"LocalTaxDR":{"format":"double","type":"number"},"LocalTaxCR":{"format":"double","type":"number"},"LocalNetTotalDR":{"format":"double","type":"number"},"LocalNetTotalCR":{"format":"double","type":"number"},"ToTaxCurrencyRate":{"format":"double","type":"number"},"Lines":{"type":"array","items":{"$ref":"#/definitions/IJournalLineEntity"}}}},"IJournalLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Seq":{"format":"int32","type":"integer"},"AccNo":{"type":"string"},"AccountDesc":{"type":"string"},"Description":{"type":"string"},"FurtherDescription":{"type":"string"},"TaxType":{"type":"string"},"SupplyPurchase":{"type":"string"},"SalesAgent":{"type":"string"},"RefNo2":{"type":"string"},"TaxPermitNo":{"type":"string"},"TaxExportCountry":{"type":"string"},"TaxBRNo":{"type":"string"},"TaxBName":{"type":"string"},"TaxRefNo":{"type":"string"},"TaxRegisterNo":{"type":"string"},"TaxBillDate":{"format":"date-time","type":"string"},"ToAccountRate":{"format":"double","type":"number"},"DR":{"format":"double","type":"number"},"CR":{"format":"double","type":"number"},"TaxDR":{"format":"double","type":"number"},"TaxCR":{"format":"double","type":"number"},"TotalDR":{"format":"double","type":"number"},"TotalCR":{"format":"double","type":"number"},"TaxableDR":{"format":"double","type":"number"},"TaxableCR":{"format":"double","type":"number"},"TaxRate":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"LocalTaxableDR":{"format":"double","type":"number"},"LocalTaxableCR":{"format":"double","type":"number"},"LocalTaxDR":{"format":"double","type":"number"},"LocalTaxCR":{"format":"double","type":"number"},"LocalTaxAdjustment":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"},"TariffCode":{"type":"string"}}},"ODataQueryOptions[CreditorLookupEntity]":{"type":"object","properties":{"IfMatch":{"type":"object","readOnly":true},"IfNoneMatch":{"type":"object","readOnly":true},"Context":{"$ref":"#/definitions/ODataQueryContext","readOnly":true},"Request":{"type":"object","readOnly":true},"RawValues":{"$ref":"#/definitions/ODataRawQueryOptions","readOnly":true},"SelectExpand":{"$ref":"#/definitions/SelectExpandQueryOption","readOnly":true},"Filter":{"$ref":"#/definitions/FilterQueryOption","readOnly":true},"OrderBy":{"$ref":"#/definitions/OrderByQueryOption","readOnly":true},"Skip":{"$ref":"#/definitions/SkipQueryOption","readOnly":true},"Top":{"$ref":"#/definitions/TopQueryOption","readOnly":true},"InlineCount":{"$ref":"#/definitions/InlineCountQueryOption","readOnly":true},"Validator":{"$ref":"#/definitions/ODataQueryValidator"}}},"ODataQueryContext":{"type":"object","properties":{"Model":{"$ref":"#/definitions/IEdmModel","readOnly":true},"ElementType":{"$ref":"#/definitions/IEdmType","readOnly":true},"ElementClrType":{"type":"string","readOnly":true}}},"ODataRawQueryOptions":{"type":"object","properties":{"Filter":{"type":"string","readOnly":true},"OrderBy":{"type":"string","readOnly":true},"Top":{"type":"string","readOnly":true},"Skip":{"type":"string","readOnly":true},"Select":{"type":"string","readOnly":true},"Expand":{"type":"string","readOnly":true},"InlineCount":{"type":"string","readOnly":true},"Format":{"type":"string","readOnly":true},"SkipToken":{"type":"string","readOnly":true}}},"SelectExpandQueryOption":{"type":"object","properties":{"Context":{"$ref":"#/definitions/ODataQueryContext","readOnly":true},"RawSelect":{"type":"string","readOnly":true},"RawExpand":{"type":"string","readOnly":true},"Validator":{"$ref":"#/definitions/SelectExpandQueryValidator"},"SelectExpandClause":{"$ref":"#/definitions/SelectExpandClause","readOnly":true}}},"FilterQueryOption":{"type":"object","properties":{"Context":{"$ref":"#/definitions/ODataQueryContext","readOnly":true},"Validator":{"$ref":"#/definitions/FilterQueryValidator"},"FilterClause":{"$ref":"#/definitions/FilterClause","readOnly":true},"RawValue":{"type":"string","readOnly":true}}},"OrderByQueryOption":{"type":"object","properties":{"Context":{"$ref":"#/definitions/ODataQueryContext","readOnly":true},"OrderByNodes":{"type":"array","items":{"$ref":"#/definitions/OrderByNode"},"readOnly":true},"RawValue":{"type":"string","readOnly":true},"Validator":{"$ref":"#/definitions/OrderByQueryValidator"},"OrderByClause":{"$ref":"#/definitions/OrderByClause","readOnly":true}}},"SkipQueryOption":{"type":"object","properties":{"Context":{"$ref":"#/definitions/ODataQueryContext","readOnly":true},"RawValue":{"type":"string","readOnly":true},"Value":{"format":"int32","type":"integer","readOnly":true},"Validator":{"$ref":"#/definitions/SkipQueryValidator"}}},"TopQueryOption":{"type":"object","properties":{"Context":{"$ref":"#/definitions/ODataQueryContext","readOnly":true},"RawValue":{"type":"string","readOnly":true},"Value":{"format":"int32","type":"integer","readOnly":true},"Validator":{"$ref":"#/definitions/TopQueryValidator"}}},"InlineCountQueryOption":{"type":"object","properties":{"Context":{"$ref":"#/definitions/ODataQueryContext","readOnly":true},"RawValue":{"type":"string","readOnly":true},"Value":{"format":"int32","enum":[0,1],"type":"integer","readOnly":true}}},"ODataQueryValidator":{"type":"object","properties":{}},"IEdmModel":{"type":"object","properties":{"SchemaElements":{"type":"array","items":{"$ref":"#/definitions/IEdmSchemaElement"},"readOnly":true},"VocabularyAnnotations":{"type":"array","items":{"$ref":"#/definitions/IEdmVocabularyAnnotation"},"readOnly":true},"ReferencedModels":{"type":"array","items":{"$ref":"#/definitions/IEdmModel"},"readOnly":true},"DirectValueAnnotationsManager":{"$ref":"#/definitions/IEdmDirectValueAnnotationsManager","readOnly":true}}},"IEdmType":{"type":"object","properties":{"TypeKind":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer","readOnly":true}}},"SelectExpandQueryValidator":{"type":"object","properties":{}},"SelectExpandClause":{"type":"object","properties":{"SelectedItems":{"type":"array","items":{"$ref":"#/definitions/SelectItem"},"readOnly":true},"AllSelected":{"type":"boolean","readOnly":true}}},"FilterQueryValidator":{"type":"object","properties":{}},"FilterClause":{"type":"object","properties":{"Expression":{"$ref":"#/definitions/SingleValueNode","readOnly":true},"RangeVariable":{"$ref":"#/definitions/RangeVariable","readOnly":true},"ItemType":{"$ref":"#/definitions/IEdmTypeReference","readOnly":true}}},"OrderByNode":{"type":"object","properties":{"Direction":{"format":"int32","enum":[0,1],"type":"integer","readOnly":true}}},"OrderByQueryValidator":{"type":"object","properties":{}},"OrderByClause":{"type":"object","properties":{"ThenBy":{"$ref":"#/definitions/OrderByClause","readOnly":true},"Expression":{"$ref":"#/definitions/SingleValueNode","readOnly":true},"Direction":{"format":"int32","enum":[0,1],"type":"integer","readOnly":true},"RangeVariable":{"$ref":"#/definitions/RangeVariable","readOnly":true},"ItemType":{"$ref":"#/definitions/IEdmTypeReference","readOnly":true}}},"SkipQueryValidator":{"type":"object","properties":{}},"TopQueryValidator":{"type":"object","properties":{}},"IEdmSchemaElement":{"type":"object","properties":{"SchemaElementKind":{"format":"int32","enum":[0,1,2,3,4],"type":"integer","readOnly":true},"Namespace":{"type":"string","readOnly":true},"Name":{"type":"string","readOnly":true}}},"IEdmVocabularyAnnotation":{"type":"object","properties":{"Qualifier":{"type":"string","readOnly":true},"Term":{"$ref":"#/definitions/IEdmTerm","readOnly":true},"Target":{"$ref":"#/definitions/IEdmVocabularyAnnotatable","readOnly":true}}},"IEdmDirectValueAnnotationsManager":{"type":"object","properties":{}},"SelectItem":{"type":"object","properties":{}},"SingleValueNode":{"type":"object","properties":{"TypeReference":{"$ref":"#/definitions/IEdmTypeReference","readOnly":true},"Kind":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],"type":"integer","readOnly":true}}},"RangeVariable":{"type":"object","properties":{"Name":{"type":"string","readOnly":true},"TypeReference":{"$ref":"#/definitions/IEdmTypeReference","readOnly":true},"Kind":{"format":"int32","type":"integer","readOnly":true}}},"IEdmTypeReference":{"type":"object","properties":{"IsNullable":{"type":"boolean","readOnly":true},"Definition":{"$ref":"#/definitions/IEdmType","readOnly":true}}},"IEdmTerm":{"type":"object","properties":{"TermKind":{"format":"int32","enum":[0,1,2],"type":"integer","readOnly":true},"SchemaElementKind":{"format":"int32","enum":[0,1,2,3,4],"type":"integer","readOnly":true},"Namespace":{"type":"string","readOnly":true},"Name":{"type":"string","readOnly":true}}},"IEdmVocabularyAnnotatable":{"type":"object","properties":{}},"ICreditorLookupEntity":{"type":"object","properties":{"AccNo":{"type":"string"},"CompanyName":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"PurchaseAgent":{"type":"string"},"CreditTerm":{"type":"string"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"IsInclusiveTax":{"type":"boolean"},"TaxCode":{"type":"string"},"DetailDiscount":{"type":"string"},"SalesExemptionNo":{"type":"string"},"SalesExemptionExpiryDate":{"format":"date-time","type":"string"},"BranchList":{"type":"array","items":{"$ref":"#/definitions/ICreditorBranchEntity"}},"TaxExemptionList":{"type":"array","items":{"$ref":"#/definitions/ICreditorTaxExemptionEntity"}}}},"ICreditorTaxExemptionEntity":{"type":"object","properties":{"ItemCode":{"type":"string"},"SalesExemptionNo":{"type":"string"},"TaxType":{"type":"string"}}},"ODataQueryOptions[DebtorLookupEntity]":{"type":"object","properties":{"IfMatch":{"type":"object","readOnly":true},"IfNoneMatch":{"type":"object","readOnly":true},"Context":{"$ref":"#/definitions/ODataQueryContext","readOnly":true},"Request":{"type":"object","readOnly":true},"RawValues":{"$ref":"#/definitions/ODataRawQueryOptions","readOnly":true},"SelectExpand":{"$ref":"#/definitions/SelectExpandQueryOption","readOnly":true},"Filter":{"$ref":"#/definitions/FilterQueryOption","readOnly":true},"OrderBy":{"$ref":"#/definitions/OrderByQueryOption","readOnly":true},"Skip":{"$ref":"#/definitions/SkipQueryOption","readOnly":true},"Top":{"$ref":"#/definitions/TopQueryOption","readOnly":true},"InlineCount":{"$ref":"#/definitions/InlineCountQueryOption","readOnly":true},"Validator":{"$ref":"#/definitions/ODataQueryValidator"}}},"IDebtorLookupEntity":{"type":"object","properties":{"AccNo":{"type":"string"},"CompanyName":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"SalesAgent":{"type":"string"},"CreditTerm":{"type":"string"},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"IsInclusiveTax":{"type":"boolean"},"TaxCode":{"type":"string"},"DetailDiscount":{"type":"string"},"SalesExemptionNo":{"type":"string"},"SalesExemptionExpiryDate":{"format":"date-time","type":"string"},"BranchList":{"type":"array","items":{"$ref":"#/definitions/IDebtorBranchEntity"}},"TaxExemptionList":{"type":"array","items":{"$ref":"#/definitions/IDebtorTaxExemptionEntity"}}}},"IDebtorBranchEntity":{"type":"object","properties":{"IsActive":{"type":"boolean"},"Code":{"type":"string"},"Name":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"},"PostCode":{"type":"string"},"Contact":{"type":"string"},"Phone":{"type":"string"},"Phone2":{"type":"string"},"Fax1":{"type":"string"},"Fax2":{"type":"string"},"SalesAgent":{"type":"string"},"Area":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"IDebtorTaxExemptionEntity":{"type":"object","properties":{"ItemCode":{"type":"string"},"SalesExemptionNo":{"type":"string"},"TaxType":{"type":"string"}}},"ODataQueryOptions[PaymentMethodLookupEntity]":{"type":"object","properties":{"IfMatch":{"type":"object","readOnly":true},"IfNoneMatch":{"type":"object","readOnly":true},"Context":{"$ref":"#/definitions/ODataQueryContext","readOnly":true},"Request":{"type":"object","readOnly":true},"RawValues":{"$ref":"#/definitions/ODataRawQueryOptions","readOnly":true},"SelectExpand":{"$ref":"#/definitions/SelectExpandQueryOption","readOnly":true},"Filter":{"$ref":"#/definitions/FilterQueryOption","readOnly":true},"OrderBy":{"$ref":"#/definitions/OrderByQueryOption","readOnly":true},"Skip":{"$ref":"#/definitions/SkipQueryOption","readOnly":true},"Top":{"$ref":"#/definitions/TopQueryOption","readOnly":true},"InlineCount":{"$ref":"#/definitions/InlineCountQueryOption","readOnly":true},"Validator":{"$ref":"#/definitions/ODataQueryValidator"}}},"IPaymentMethodLookupEntity":{"type":"object","properties":{"Code":{"type":"string","readOnly":true},"Description":{"type":"string","readOnly":true},"BankAccount":{"type":"string","readOnly":true},"PaymentType":{"type":"string","readOnly":true},"IsActive":{"type":"boolean"},"CurrencyCode":{"type":"string"}}},"ODataQueryOptions[AccountLookupEntity]":{"type":"object","properties":{"IfMatch":{"type":"object","readOnly":true},"IfNoneMatch":{"type":"object","readOnly":true},"Context":{"$ref":"#/definitions/ODataQueryContext","readOnly":true},"Request":{"type":"object","readOnly":true},"RawValues":{"$ref":"#/definitions/ODataRawQueryOptions","readOnly":true},"SelectExpand":{"$ref":"#/definitions/SelectExpandQueryOption","readOnly":true},"Filter":{"$ref":"#/definitions/FilterQueryOption","readOnly":true},"OrderBy":{"$ref":"#/definitions/OrderByQueryOption","readOnly":true},"Skip":{"$ref":"#/definitions/SkipQueryOption","readOnly":true},"Top":{"$ref":"#/definitions/TopQueryOption","readOnly":true},"InlineCount":{"$ref":"#/definitions/InlineCountQueryOption","readOnly":true},"Validator":{"$ref":"#/definitions/ODataQueryValidator"}}},"AccountLookupEntity":{"type":"object","properties":{"Code":{"type":"string"},"Description":{"type":"string"},"CurrencyCode":{"type":"string"}}},"MemberListResult":{"type":"object","properties":{"MemberNo":{"type":"string"},"EncodedMemberNo":{"type":"string"},"Name":{"type":"string"},"MemberType":{"type":"string"},"Id":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"},"PostCode":{"type":"string"},"AreaCode":{"type":"string"},"IsIndividual":{"type":"boolean"},"Race":{"type":"string"},"DOB":{"format":"date-time","type":"string"},"DebtorCode":{"type":"string"},"CompanyName":{"type":"string"},"Department":{"type":"string"},"Title":{"type":"string"},"MobilePhone":{"type":"string"},"DirectPhone":{"type":"string"},"DirectFax":{"type":"string"},"EmailAddress":{"type":"string"},"IMAddress":{"type":"string"},"Note":{"type":"string"},"OpeningPoints":{"format":"double","type":"number"},"Gender":{"type":"string"},"RegisterDate":{"format":"date-time","type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"IsActive":{"type":"boolean"},"CreatedDate":{"format":"date-time","type":"string"},"CreatedUserId":{"type":"string"},"LastModifiedDate":{"format":"date-time","type":"string"},"LastModifiedUserId":{"type":"string"}}},"MemberResult":{"type":"object","properties":{"MemberNo":{"type":"string"},"EncodedMemberNo":{"type":"string"},"MemberType":{"type":"string"},"Name":{"type":"string"},"Id":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"},"PostCode":{"type":"string"},"AreaCode":{"type":"string"},"IsIndividual":{"type":"boolean"},"Race":{"type":"string"},"DOB":{"format":"date-time","type":"string"},"DebtorCode":{"type":"string"},"CompanyName":{"type":"string"},"Department":{"type":"string"},"Title":{"type":"string"},"MobilePhone":{"type":"string"},"DirectPhone":{"type":"string"},"DirectFax":{"type":"string"},"EmailAddress":{"type":"string"},"IMAddress":{"type":"string"},"Note":{"type":"string"},"OpeningPoints":{"format":"double","type":"number"},"Gender":{"type":"string"},"RegisterDate":{"format":"date-time","type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"IsActive":{"type":"boolean"},"CreatedDate":{"format":"date-time","type":"string"},"CreatedUserId":{"type":"string"},"LastModifiedDate":{"format":"date-time","type":"string"},"LastModifiedUserId":{"type":"string"}}},"CreateBatchMemberParam":{"required":["ReferenceId","Member"],"type":"object","properties":{"ReferenceId":{"type":"string"},"Member":{"$ref":"#/definitions/CreateMemberParam"}}},"CreateMemberParam":{"type":"object","properties":{"MemberNo":{"type":"string"},"MemberType":{"type":"string"},"Name":{"type":"string"},"Id":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"},"PostCode":{"type":"string"},"AreaCode":{"type":"string"},"IsIndividual":{"type":"boolean"},"Race":{"type":"string"},"DOB":{"format":"date-time","type":"string"},"DebtorCode":{"type":"string"},"CompanyName":{"type":"string"},"Department":{"type":"string"},"Title":{"type":"string"},"MobilePhone":{"type":"string"},"DirectPhone":{"type":"string"},"DirectFax":{"type":"string"},"EmailAddress":{"type":"string"},"IMAddress":{"type":"string"},"Note":{"type":"string"},"OpeningPoints":{"format":"double","type":"number"},"Gender":{"type":"string"},"RegisterDate":{"format":"date-time","type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"IsActive":{"type":"boolean"}}},"IBatchMemberResult":{"type":"object","properties":{"ReferenceId":{"type":"string"},"Member":{"$ref":"#/definitions/IMemberEntity"},"IsSuccess":{"type":"boolean"},"ExceptionMessage":{"type":"string"}}},"IMemberEntity":{"type":"object","properties":{"MemberNo":{"type":"string"},"EncodedMemberNo":{"type":"string"},"MemberType":{"type":"string"},"Name":{"type":"string"},"Id":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"},"PostCode":{"type":"string"},"AreaCode":{"type":"string"},"IsIndividual":{"type":"boolean"},"Race":{"type":"string"},"DOB":{"format":"date-time","type":"string"},"DebtorCode":{"type":"string"},"CompanyName":{"type":"string"},"Department":{"type":"string"},"Title":{"type":"string"},"MobilePhone":{"type":"string"},"DirectPhone":{"type":"string"},"DirectFax":{"type":"string"},"EmailAddress":{"type":"string"},"IMAddress":{"type":"string"},"Note":{"type":"string"},"OpeningPoints":{"format":"double","type":"number"},"Gender":{"type":"string"},"RegisterDate":{"format":"date-time","type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"IsActive":{"type":"boolean"},"CreatedDate":{"format":"date-time","type":"string"},"CreatedUserId":{"type":"string"},"LastModifiedDate":{"format":"date-time","type":"string"},"LastModifiedUserId":{"type":"string"}}},"UpdateBatchMemberParam":{"required":["ReferenceId","Member"],"type":"object","properties":{"ReferenceId":{"type":"string"},"Member":{"$ref":"#/definitions/UpdateMemberParam"}}},"UpdateMemberParam":{"required":["MemberNo"],"type":"object","properties":{"MemberNo":{"type":"string"},"MemberType":{"type":"string"},"Name":{"type":"string"},"Id":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"},"PostCode":{"type":"string"},"AreaCode":{"type":"string"},"IsIndividual":{"type":"boolean"},"Race":{"type":"string"},"DOB":{"format":"date-time","type":"string"},"DebtorCode":{"type":"string"},"CompanyName":{"type":"string"},"Department":{"type":"string"},"Title":{"type":"string"},"MobilePhone":{"type":"string"},"DirectPhone":{"type":"string"},"DirectFax":{"type":"string"},"EmailAddress":{"type":"string"},"IMAddress":{"type":"string"},"Note":{"type":"string"},"OpeningPoints":{"format":"double","type":"number"},"Gender":{"type":"string"},"RegisterDate":{"format":"date-time","type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"IsActive":{"type":"boolean"}}},"MemberTypeListResult":{"type":"object","properties":{"MemberType":{"type":"string"},"EncodedMemberType":{"type":"string"},"Description":{"type":"string"},"Level":{"format":"int32","type":"integer"}}},"MemberTypeResult":{"type":"object","properties":{"MemberType":{"type":"string"},"EncodedMemberType":{"type":"string"},"Description":{"type":"string"},"Level":{"format":"int32","type":"integer"}}},"CreateMemberTypeParam":{"required":["MemberType"],"type":"object","properties":{"MemberType":{"type":"string"},"Description":{"type":"string"},"Level":{"format":"int32","type":"integer"}}},"UpdateMemberTypeParam":{"required":["MemberType"],"type":"object","properties":{"MemberType":{"type":"string"},"Description":{"type":"string"},"Level":{"format":"int32","type":"integer"}}},"ARPaymentListResult":{"type":"object","properties":{"Id":{"type":"string"},"DocNo":{"type":"string"},"Description":{"type":"string"},"DebtorCode":{"type":"string"},"CompanyName":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"Amount":{"format":"double","type":"number"},"UnappliedAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"SourceType":{"type":"string"},"IsCancelled":{"type":"boolean"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToDebtorCurrencyRate":{"format":"double","type":"number"},"Agent":{"type":"string"},"LocalAmount":{"format":"double","type":"number"}}},"ARPaymentCreateEntity":{"required":["DebtorCode","Description","DocDate","Amount","DetailsLine","KnockOffDetailsLine"],"type":"object","properties":{"DebtorCode":{"type":"string"},"DebtorCurrencyCode":{"type":"string"},"DebtorCurrencySymbol":{"type":"string"},"CompanyName":{"type":"string"},"Agent":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"RefNo":{"type":"string"},"Note":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"KnockOffAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"SourceType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ARPaymentLineCreateEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/ARPaymentKnockOffLineCreateEntity"}},"IsCancelled":{"type":"boolean"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToDebtorCurrencyRate":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"ARPaymentLineCreateEntity":{"required":["PaymentMethod","Amount"],"type":"object","properties":{"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"ToBankRate":{"format":"double","type":"number"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"ARPaymentKnockOffLineCreateEntity":{"required":["DocumentType","KnockOfAmount","KnockOffDate"],"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"description":"RI","type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"ARPaymentCreateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"DebtorCode":{"type":"string"},"DebtorCurrencyCode":{"type":"string"},"DebtorCurrencySymbol":{"type":"string"},"CompanyName":{"type":"string"},"Agent":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"RefNo":{"type":"string"},"Note":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"KnockOffAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"SourceType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ARPaymentLineCreateResultEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/ARPaymentKnockOffLineCreateResultEntity"}},"IsCancelled":{"type":"boolean"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToDebtorCurrencyRate":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"},"UnappliedAmount":{"format":"double","type":"number"}}},"ARPaymentLineCreateResultEntity":{"type":"object","properties":{"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"Id":{"type":"string"},"ToBankRate":{"format":"double","type":"number"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"ARPaymentKnockOffLineCreateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"ARPaymentUpdateEntity":{"required":["Id","DebtorCode","Description","DocDate","Amount","DetailsLine","KnockOffDetailsLine"],"type":"object","properties":{"Id":{"type":"string"},"DebtorCode":{"type":"string"},"DebtorCurrencyCode":{"type":"string"},"DebtorCurrencySymbol":{"type":"string"},"CompanyName":{"type":"string"},"Agent":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"RefNo":{"type":"string"},"Note":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"KnockOffAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"SourceType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ARPaymentLineUpdateEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/ARPaymentKnockOffLineUpdateEntity"}},"IsCancelled":{"type":"boolean"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToDebtorCurrencyRate":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"ARPaymentLineUpdateEntity":{"required":["Id","PaymentMethod","Amount"],"type":"object","properties":{"Id":{"type":"string"},"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"ToBankRate":{"format":"double","type":"number"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"ARPaymentKnockOffLineUpdateEntity":{"required":["Id","DocumentType","KnockOfAmount","KnockOffDate"],"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"description":"RI","type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"ARPaymentUpdateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"DebtorCode":{"type":"string"},"DebtorCurrencyCode":{"type":"string"},"DebtorCurrencySymbol":{"type":"string"},"CompanyName":{"type":"string"},"Agent":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"RefNo":{"type":"string"},"Note":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"KnockOffAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"SourceType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ARPaymentLineCreateResultEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/ARPaymentKnockOffLineCreateResultEntity"}},"IsCancelled":{"type":"boolean"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToDebtorCurrencyRate":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"},"UnappliedAmount":{"format":"double","type":"number"}}},"ARPaymentGetResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"DebtorCode":{"type":"string"},"DebtorCurrencyCode":{"type":"string"},"DebtorCurrencySymbol":{"type":"string"},"CompanyName":{"type":"string"},"Agent":{"type":"string"},"Description":{"type":"string"},"DocDate":{"format":"date-time","type":"string"},"DocNo":{"type":"string"},"RefNo":{"type":"string"},"Note":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"KnockOffAmount":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"SourceType":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ARPaymentLineGetResultEntity"}},"KnockOffDetailsLine":{"type":"array","items":{"$ref":"#/definitions/ARPaymentKnockOffLineGetResultEntity"}},"IsCancelled":{"type":"boolean"},"ToLocalCurrencyRate":{"format":"double","type":"number"},"ToDebtorCurrencyRate":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"},"UnappliedAmount":{"format":"double","type":"number"}}},"ARPaymentLineGetResultEntity":{"type":"object","properties":{"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"Id":{"type":"string"},"ToBankRate":{"format":"double","type":"number"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"ARPaymentKnockOffLineGetResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"DocumentType":{"type":"string"},"KnockOfAmount":{"format":"double","type":"number"},"KnockOffDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"CreateBatchARPaymentParam":{"required":["ReferenceId","ARPayment"],"type":"object","properties":{"ReferenceId":{"type":"string"},"ARPayment":{"$ref":"#/definitions/ARPaymentCreateEntity"}}},"CreateBatchARPaymentResult":{"type":"object","properties":{"ReferenceId":{"type":"string"},"IsSuccess":{"type":"boolean"},"ExceptionMessage":{"type":"string"},"ARPayment":{"$ref":"#/definitions/ARPaymentCreateResultEntity"}}},"PaymentVoucherCreateEntity":{"required":["Name","Description","DocumentDate"],"type":"object","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"Note":{"type":"string"},"InclusiveTax":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Lines":{"type":"array","items":{"$ref":"#/definitions/VoucherLineCreateEntity"}},"PaymentLines":{"type":"array","items":{"$ref":"#/definitions/VoucherPaymentLineCreateEntity"}}}},"VoucherLineCreateEntity":{"required":["AccNo","Description","Amount"],"type":"object","properties":{"AccNo":{"type":"string"},"Description":{"type":"string"},"FurtherDescription":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"Amount":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"}}},"VoucherPaymentLineCreateEntity":{"required":["Amount","PaymentMethod"],"type":"object","properties":{"Amount":{"format":"double","type":"number"},"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"BankCharge":{"format":"double","type":"number"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"ToBankRate":{"format":"double","type":"number"},"RCHQDate":{"format":"date-time","type":"string"}}},"PaymentVoucherCreateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"GLTrxId":{"type":"string"},"Number":{"type":"string"},"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"TransType":{"format":"int32","enum":[0,1],"type":"integer"},"DocumentType":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"Note":{"type":"string"},"SourceKey":{"type":"string"},"SourceType":{"type":"string"},"IsPostDetailDesc":{"type":"boolean"},"IsCancelled":{"type":"boolean"},"InclusiveTax":{"type":"boolean"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TotalPayment":{"format":"double","type":"number"},"TotalExTax":{"format":"double","type":"number"},"LocalTotalExTax":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"ToTaxCurrencyRate":{"format":"double","type":"number"},"Lines":{"type":"array","items":{"$ref":"#/definitions/VoucherLineCreateResultEntity"}},"PaymentLines":{"type":"array","items":{"$ref":"#/definitions/VoucherPaymentLineCreateResultEntity"}}}},"VoucherLineCreateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"AccountDesc":{"type":"string"},"ToAccountRate":{"format":"double","type":"number"},"TaxType":{"type":"string"},"Description":{"type":"string"},"FurtherDescription":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"RCHQAmount":{"format":"double","type":"number"},"SalesAgent":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"LocalTaxAdjustment":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"LocalTaxableAmt":{"format":"double","type":"number"},"AmountExTax":{"format":"double","type":"number"},"LocalAmountExTax":{"format":"double","type":"number"},"AmountWithTax":{"format":"double","type":"number"},"LocalAmountWithTax":{"format":"double","type":"number"},"InclusiveTax":{"type":"boolean"},"NegativeKOPayment":{"type":"boolean"},"TaxPermitNo":{"type":"string"},"TaxExportCountry":{"type":"string"},"TaxRefNo":{"type":"string"},"TaxBRNo":{"type":"string"},"TaxBName":{"type":"string"},"TaxRegisterNo":{"type":"string"},"TaxBillDate":{"format":"date-time","type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"VoucherPaymentLineCreateResultEntity":{"type":"object","properties":{"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Id":{"type":"string"},"ToBankRate":{"format":"double","type":"number"}}},"PaymentVoucherUpdateEntity":{"required":["Id","DocumentDate","Name"],"type":"object","properties":{"Id":{"type":"string"},"GLTrxId":{"type":"string"},"Number":{"type":"string"},"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"TransType":{"format":"int32","enum":[0,1],"type":"integer"},"DocumentType":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"Note":{"type":"string"},"SourceKey":{"type":"string"},"SourceType":{"type":"string"},"IsPostDetailDesc":{"type":"boolean"},"IsCancelled":{"type":"boolean"},"InclusiveTax":{"type":"boolean"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TotalPayment":{"format":"double","type":"number"},"TotalExTax":{"format":"double","type":"number"},"LocalTotalExTax":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"ToTaxCurrencyRate":{"format":"double","type":"number"},"Lines":{"type":"array","items":{"$ref":"#/definitions/VoucherLineUpdateEntity"}},"PaymentLines":{"type":"array","items":{"$ref":"#/definitions/VoucherPaymentLineUpdateEntity"}}}},"VoucherLineUpdateEntity":{"required":["Id","RowState","AccNo","Description","Amount"],"type":"object","properties":{"Id":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"AccountDesc":{"type":"string"},"ToAccountRate":{"format":"double","type":"number"},"TaxType":{"type":"string"},"Description":{"type":"string"},"FurtherDescription":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"RCHQAmount":{"format":"double","type":"number"},"SalesAgent":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"LocalTaxAdjustment":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"LocalTaxableAmt":{"format":"double","type":"number"},"AmountExTax":{"format":"double","type":"number"},"LocalAmountExTax":{"format":"double","type":"number"},"AmountWithTax":{"format":"double","type":"number"},"LocalAmountWithTax":{"format":"double","type":"number"},"InclusiveTax":{"type":"boolean"},"NegativeKOPayment":{"type":"boolean"},"TaxPermitNo":{"type":"string"},"TaxExportCountry":{"type":"string"},"TaxRefNo":{"type":"string"},"TaxBRNo":{"type":"string"},"TaxBName":{"type":"string"},"TaxRegisterNo":{"type":"string"},"TaxBillDate":{"format":"date-time","type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"VoucherPaymentLineUpdateEntity":{"required":["PaymentMethod","Amount","RowState","Id"],"type":"object","properties":{"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Id":{"type":"string"},"ToBankRate":{"format":"double","type":"number"}}},"PaymentVoucherUpdateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"GLTrxId":{"type":"string"},"Number":{"type":"string"},"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"TransType":{"format":"int32","enum":[0,1],"type":"integer"},"DocumentType":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"Note":{"type":"string"},"SourceKey":{"type":"string"},"SourceType":{"type":"string"},"IsPostDetailDesc":{"type":"boolean"},"IsCancelled":{"type":"boolean"},"InclusiveTax":{"type":"boolean"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TotalPayment":{"format":"double","type":"number"},"TotalExTax":{"format":"double","type":"number"},"LocalTotalExTax":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"ToTaxCurrencyRate":{"format":"double","type":"number"},"Lines":{"type":"array","items":{"$ref":"#/definitions/VoucherLineUpdateResultEntity"}},"PaymentLines":{"type":"array","items":{"$ref":"#/definitions/VoucherPaymentLineUpdateResultEntity"}}}},"VoucherLineUpdateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"AccountDesc":{"type":"string"},"ToAccountRate":{"format":"double","type":"number"},"TaxType":{"type":"string"},"Description":{"type":"string"},"FurtherDescription":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"RCHQAmount":{"format":"double","type":"number"},"SalesAgent":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"LocalTaxAdjustment":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"LocalTaxableAmt":{"format":"double","type":"number"},"AmountExTax":{"format":"double","type":"number"},"LocalAmountExTax":{"format":"double","type":"number"},"AmountWithTax":{"format":"double","type":"number"},"LocalAmountWithTax":{"format":"double","type":"number"},"InclusiveTax":{"type":"boolean"},"NegativeKOPayment":{"type":"boolean"},"TaxPermitNo":{"type":"string"},"TaxExportCountry":{"type":"string"},"TaxRefNo":{"type":"string"},"TaxBRNo":{"type":"string"},"TaxBName":{"type":"string"},"TaxRegisterNo":{"type":"string"},"TaxBillDate":{"format":"date-time","type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"VoucherPaymentLineUpdateResultEntity":{"type":"object","properties":{"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Id":{"type":"string"},"ToBankRate":{"format":"double","type":"number"}}},"PaymentVoucherDeleteResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"GLTrxId":{"type":"string"},"Number":{"type":"string"},"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"TransType":{"format":"int32","enum":[0,1],"type":"integer"},"DocumentType":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"Note":{"type":"string"},"SourceKey":{"type":"string"},"SourceType":{"type":"string"},"IsPostDetailDesc":{"type":"boolean"},"IsCancelled":{"type":"boolean"},"InclusiveTax":{"type":"boolean"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TotalPayment":{"format":"double","type":"number"},"TotalExTax":{"format":"double","type":"number"},"LocalTotalExTax":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"ToTaxCurrencyRate":{"format":"double","type":"number"},"Lines":{"type":"array","items":{"$ref":"#/definitions/VoucherLineDeleteResultEntity"}},"PaymentLines":{"type":"array","items":{"$ref":"#/definitions/VoucherPaymentLineDeleteResultEntity"}}}},"VoucherLineDeleteResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"AccountDesc":{"type":"string"},"ToAccountRate":{"format":"double","type":"number"},"TaxType":{"type":"string"},"Description":{"type":"string"},"FurtherDescription":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"RCHQAmount":{"format":"double","type":"number"},"SalesAgent":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"LocalTaxAdjustment":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"LocalTaxableAmt":{"format":"double","type":"number"},"AmountExTax":{"format":"double","type":"number"},"LocalAmountExTax":{"format":"double","type":"number"},"AmountWithTax":{"format":"double","type":"number"},"LocalAmountWithTax":{"format":"double","type":"number"},"InclusiveTax":{"type":"boolean"},"NegativeKOPayment":{"type":"boolean"},"TaxPermitNo":{"type":"string"},"TaxExportCountry":{"type":"string"},"TaxRefNo":{"type":"string"},"TaxBRNo":{"type":"string"},"TaxBName":{"type":"string"},"TaxRegisterNo":{"type":"string"},"TaxBillDate":{"format":"date-time","type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"VoucherPaymentLineDeleteResultEntity":{"type":"object","properties":{"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Id":{"type":"string"},"ToBankRate":{"format":"double","type":"number"}}},"PaymentVoucherGetResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"GLTrxId":{"type":"string"},"Number":{"type":"string"},"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"TransType":{"format":"int32","enum":[0,1],"type":"integer"},"DocumentType":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"Note":{"type":"string"},"SourceKey":{"type":"string"},"SourceType":{"type":"string"},"IsPostDetailDesc":{"type":"boolean"},"IsCancelled":{"type":"boolean"},"InclusiveTax":{"type":"boolean"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TotalPayment":{"format":"double","type":"number"},"TotalExTax":{"format":"double","type":"number"},"LocalTotalExTax":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"ToTaxCurrencyRate":{"format":"double","type":"number"},"Lines":{"type":"array","items":{"$ref":"#/definitions/VoucherLineGetResultEntity"}},"PaymentLines":{"type":"array","items":{"$ref":"#/definitions/VoucherPaymentLineGetResultEntity"}}}},"VoucherLineGetResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"AccNo":{"type":"string"},"AccountDesc":{"type":"string"},"ToAccountRate":{"format":"double","type":"number"},"TaxType":{"type":"string"},"Description":{"type":"string"},"FurtherDescription":{"type":"string"},"Amount":{"format":"double","type":"number"},"LocalAmount":{"format":"double","type":"number"},"RCHQAmount":{"format":"double","type":"number"},"SalesAgent":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TaxAdjustment":{"format":"double","type":"number"},"LocalTaxAdjustment":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"LocalTaxableAmt":{"format":"double","type":"number"},"AmountExTax":{"format":"double","type":"number"},"LocalAmountExTax":{"format":"double","type":"number"},"AmountWithTax":{"format":"double","type":"number"},"LocalAmountWithTax":{"format":"double","type":"number"},"InclusiveTax":{"type":"boolean"},"NegativeKOPayment":{"type":"boolean"},"TaxPermitNo":{"type":"string"},"TaxExportCountry":{"type":"string"},"TaxRefNo":{"type":"string"},"TaxBRNo":{"type":"string"},"TaxBName":{"type":"string"},"TaxRegisterNo":{"type":"string"},"TaxBillDate":{"format":"date-time","type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"VoucherPaymentLineGetResultEntity":{"type":"object","properties":{"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"BankChargeTaxType":{"type":"string"},"BankChargeTax":{"format":"double","type":"number"},"BankChargeTaxRate":{"format":"double","type":"number"},"BankChargeTaxRefNo":{"type":"string"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Id":{"type":"string"},"ToBankRate":{"format":"double","type":"number"}}},"GetPosTransactionListParam":{"required":["FromLastModifiedDateTime","ToLastModifiedDateTime"],"type":"object","properties":{"FromLastModifiedDateTime":{"format":"date-time","type":"string"},"ToLastModifiedDateTime":{"format":"date-time","type":"string"},"MemberNo":{"type":"string"},"IsCancelled":{"type":"boolean"},"SalesType":{"format":"int32","enum":[0,1,2],"type":"integer"}}},"PosTransactionListResult":{"type":"object","properties":{"Id":{"type":"string"},"DocNo":{"type":"string"},"DebtorCode":{"type":"string"},"CreditTerm":{"type":"string"},"PromoterId":{"type":"string"},"MemberNo":{"type":"string"},"Remarks":{"type":"string"},"DeliverAddr1":{"type":"string"},"DeliverAddr2":{"type":"string"},"DeliverAddr3":{"type":"string"},"DeliverAddr4":{"type":"string"},"DeliverPhone":{"type":"string"},"DeliverFax":{"type":"string"},"DeliverContact":{"type":"string"},"TableNo":{"type":"string"},"Guests":{"format":"int32","type":"integer"},"ServiceCharge":{"format":"double","type":"number"},"TotalQty":{"format":"double","type":"number"},"TotalDiscount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"Tax":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"ExTaxAmount":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"RoundAdj":{"format":"double","type":"number"},"FinalTotal":{"format":"double","type":"number"},"LocalTotalCost":{"format":"double","type":"number"},"CashPayment":{"format":"double","type":"number"},"CCPayment":{"format":"double","type":"number"},"DCPayment":{"format":"double","type":"number"},"ChequePayment":{"format":"double","type":"number"},"VoucherPayment":{"format":"double","type":"number"},"CreditPayment":{"format":"double","type":"number"},"PointPayment":{"format":"double","type":"number"},"ForfeitedPayment":{"format":"double","type":"number"},"CustomPayment":{"format":"double","type":"number"},"PointPaid":{"format":"double","type":"number"},"PointReceived":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"IsSalesOrder":{"type":"boolean"},"DocDate":{"format":"date-time","type":"string"},"UserId":{"type":"string"},"TerminalId":{"type":"string"},"LastModifiedDate":{"format":"date-time","type":"string"},"LastModifiedUserId":{"type":"string"},"LastModifiedTerminalId":{"type":"string"},"IsPosted":{"type":"boolean"},"SessionId":{"type":"string"},"IsTesting":{"type":"boolean"},"Guid":{"type":"string"},"ServiceTaxAmount":{"format":"double","type":"number"},"ServiceTaxType":{"type":"string"},"TotalExTaxAmout":{"format":"double","type":"number"},"IsInclusiveTax":{"type":"boolean"},"DebtorName":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Address3":{"type":"string"},"Address4":{"type":"string"},"Phone1":{"type":"string"},"EMSReference":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"ServiceTaxRate":{"format":"double","type":"number"},"ServiceChargeExTax":{"format":"double","type":"number"},"Balance":{"format":"double","type":"number"},"TaxInvoiceDate":{"format":"date-time","type":"string"},"AlipayPayment":{"format":"double","type":"number"},"AlipayTransId":{"type":"string"},"RoundingMethod":{"format":"int32","type":"integer"},"Outlet":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IPosTransactionLineEntity"}},"UDFHeaderMetadatas":{"type":"array","items":{"$ref":"#/definitions/IUDFMetadata"}},"UDFLineMetadatas":{"type":"array","items":{"$ref":"#/definitions/IUDFMetadata"}},"UDFHeaderDatas":{"type":"array","items":{"$ref":"#/definitions/IUDFField"}}}},"IPosTransactionLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"BatchNo":{"type":"string"},"Barcode":{"type":"string"},"Description":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Discount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"Amount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"Tax":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"LocalTotalCost":{"format":"double","type":"number"},"SerialNoList":{"type":"string"},"PromoterId":{"type":"string"},"PointReceived":{"format":"double","type":"number"},"IsPrinted":{"type":"boolean"},"DeliveredQty":{"format":"double","type":"number"},"VoidQty":{"format":"double","type":"number"},"Remarks":{"type":"string"},"Guid":{"type":"string"},"ExtraDiscountAmount":{"format":"double","type":"number"},"ServiceChargeAmount":{"format":"double","type":"number"},"ServiceTaxAmount":{"format":"double","type":"number"},"SubQty":{"format":"double","type":"number"},"PromotionAmount":{"format":"double","type":"number"},"ReturnFromDocNo":{"type":"string"},"IsFOC":{"type":"boolean"},"TaxRate":{"format":"double","type":"number"},"ServiceChargeExTax":{"format":"double","type":"number"},"PromotionGuid":{"type":"string"},"TotalDiscountAmount":{"format":"double","type":"number"},"ProjNo":{"type":"string"},"DeptNo":{"type":"string"},"TariffCode":{"type":"string"},"SmallestQty":{"format":"double","type":"number"},"ReturnQty":{"format":"double","type":"number"},"Rate":{"format":"double","type":"number"},"UDFLineDatas":{"type":"array","items":{"$ref":"#/definitions/IUDFField"}}}},"IUDFMetadata":{"type":"object","properties":{"FieldName":{"type":"string"},"Caption":{"type":"string"},"Type":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9],"type":"integer"},"DisplayOrder":{"format":"int32","type":"integer"},"IsRequired":{"type":"boolean"},"IsUnique":{"type":"boolean"},"TextUDFMetaProperty":{"$ref":"#/definitions/TextUDFMeta"},"TextOptionsListUDFMetaProperty":{"$ref":"#/definitions/TextOptionsListUDFMeta"},"RichTextUDFMetaProperty":{"$ref":"#/definitions/RichTextUDFMeta"},"MemoUDFMetaProperty":{"$ref":"#/definitions/MemoUDFMeta"},"IntegerUDFMetaProperty":{"$ref":"#/definitions/IntegerUDFMeta"},"ImageLinkUDFMetaProperty":{"$ref":"#/definitions/ImageLinkUDFMeta"},"DecimalUDFMetaProperty":{"$ref":"#/definitions/DecimalUDFMeta"},"DateTimeUDFMetaProperty":{"$ref":"#/definitions/DateTimeUDFMeta"},"BooleanUDFMetaProperty":{"$ref":"#/definitions/BooleanUDFMeta"}}},"IUDFField":{"type":"object","properties":{"FieldName":{"type":"string"},"Value":{"type":"string"}}},"TextUDFMeta":{"type":"object","properties":{"DefaultValue":{"type":"string"},"Size":{"format":"int32","type":"integer"}}},"TextOptionsListUDFMeta":{"type":"object","properties":{"DefaultValue":{"type":"string"},"Size":{"format":"int32","type":"integer"},"ListName":{"type":"string"},"ListOptions":{"type":"array","items":{"type":"string"}}}},"RichTextUDFMeta":{"type":"object","properties":{"DefaultValue":{"type":"string"}}},"MemoUDFMeta":{"type":"object","properties":{"DefaultValue":{"type":"string"}}},"IntegerUDFMeta":{"type":"object","properties":{"DefaultValue":{"format":"int32","type":"integer"}}},"ImageLinkUDFMeta":{"type":"object","properties":{"DefaultValue":{"type":"string"}}},"DecimalUDFMeta":{"type":"object","properties":{"DefaultValue":{"format":"double","type":"number"},"Precision":{"format":"int32","type":"integer"},"Scale":{"format":"int32","type":"integer"}}},"DateTimeUDFMeta":{"type":"object","properties":{"DefaultValue":{"format":"int64","type":"integer"},"DisplayFormat":{"format":"int32","enum":[0,1,2],"type":"integer"}}},"BooleanUDFMeta":{"type":"object","properties":{"DefaultValue":{"type":"boolean"}}},"GetPurchaseInvoiceListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"}}},"PurchaseInvoiceListResult":{"type":"object","properties":{"Id":{"type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"DocumentDate":{"format":"date-time","type":"string"},"Creditor":{"type":"string"},"CreditorName":{"type":"string"},"Agent":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"ShipVia":{"type":"string"},"PurchaseLocation":{"type":"string"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"}}},"PurchaseInvoiceResult":{"type":"object","properties":{"Id":{"type":"string"},"Creditor":{"type":"string"},"CreditorName":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"Agent":{"type":"string"},"PurchaseLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"RoundingMethod":{"format":"int32","type":"integer"},"RoundAdj":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IPurchaseInvoiceLineEntity"}}}},"IPurchaseInvoiceLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Tax":{"type":"string"},"Discount":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"SmallestQty":{"format":"double","type":"number"},"SmallestUnitPrice":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"LocalSubTotalExTax":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"FurtherDescription":{"type":"string"},"LineIndex":{"format":"int32","type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"}}},"CreatePurchaseInvoiceParam":{"required":["Creditor","DocumentDate"],"type":"object","properties":{"Creditor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditorName":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"PurchaseLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SupplierDONo":{"type":"string"},"SupplierInvoiceNo":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreatePurchaseInvoiceLineParam"}}}},"CreatePurchaseInvoiceLineParam":{"type":"object","properties":{"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"UpdatePurchaseInvoiceParam":{"required":["Id","Creditor","DocumentDate"],"type":"object","properties":{"Id":{"type":"string"},"Creditor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditorName":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"PurchaseLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdatePurchaseInvoiceLineParam"}}}},"UpdatePurchaseInvoiceLineParam":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"GetPurchaseOrderListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"}}},"PurchaseOrderListResult":{"type":"object","properties":{"Id":{"type":"string"},"Creditor":{"type":"string"},"CreditorName":{"type":"string"},"Contact":{"type":"string"},"Fax":{"type":"string"},"Phone":{"type":"string"},"Agent":{"type":"string"},"PurchaseLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"IsTransferred":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"Description":{"type":"string"}}},"PurchaseOrderResult":{"type":"object","properties":{"Id":{"type":"string"},"Creditor":{"type":"string"},"CreditorName":{"type":"string"},"Contact":{"type":"string"},"Fax":{"type":"string"},"Phone":{"type":"string"},"Agent":{"type":"string"},"PurchaseLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"IsTransferred":{"type":"boolean"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"RoundingMethod":{"format":"int32","type":"integer"},"RoundAdj":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IPurchaseOrderLineEntity"}}}},"IPurchaseOrderLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Tax":{"type":"string"},"Discount":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"SmallestQty":{"format":"double","type":"number"},"SmallestUnitPrice":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"LocalSubTotalExTax":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"FurtherDescription":{"type":"string"},"LineIndex":{"format":"int32","type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"},"TariffCode":{"type":"string"}}},"CreatePurchaseOrderParam":{"required":["Creditor","DocumentDate"],"type":"object","properties":{"Creditor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"PurchaseLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"Contact":{"type":"string"},"Fax":{"type":"string"},"Phone":{"type":"string"},"Branch":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreatePurchaseOrderLineParam"}}}},"CreatePurchaseOrderLineParam":{"type":"object","properties":{"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"GetPurchaseReturnListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"}}},"PurchaseReturnListResult":{"type":"object","properties":{"Id":{"type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"DocumentDate":{"format":"date-time","type":"string"},"Creditor":{"type":"string"},"CreditorName":{"type":"string"},"Agent":{"type":"string"},"PurchaseLocation":{"type":"string"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"}}},"PurchaseReturnResult":{"type":"object","properties":{"Id":{"type":"string"},"Creditor":{"type":"string"},"CreditorName":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"Agent":{"type":"string"},"PurchaseLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditTerm":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Reason":{"type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"RoundingMethod":{"format":"int32","type":"integer"},"RoundAdj":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SupplierCNNo":{"type":"string"},"SupplierInvoiceNo":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/IPurchaseReturnLineEntity"}}}},"IPurchaseReturnLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"IsGoodsReturn":{"type":"boolean"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Tax":{"type":"string"},"Discount":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"SmallestQty":{"format":"double","type":"number"},"SmallestUnitPrice":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"LocalSubTotalExTax":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"FurtherDescription":{"type":"string"},"LineIndex":{"format":"int32","type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"}}},"CreatePurchaseReturnParam":{"required":["Creditor","DocumentDate"],"type":"object","properties":{"Creditor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditorName":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"PurchaseLocation":{"type":"string"},"CreditTerm":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Reason":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SupplierCNNo":{"type":"string"},"SupplierInvoiceNo":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreatePurchaseReturnLineParam"}}}},"CreatePurchaseReturnLineParam":{"type":"object","properties":{"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"IsGoodsReturn":{"type":"boolean"},"Tax":{"type":"string"},"Discount":{"type":"string"},"Project":{"type":"string"},"Dept":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"UpdatePurchaseReturnParam":{"required":["Id","Creditor","DocumentDate"],"type":"object","properties":{"Id":{"type":"string"},"Creditor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditorName":{"type":"string"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"PurchaseLocation":{"type":"string"},"CreditTerm":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Reason":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SupplierCNNo":{"type":"string"},"SupplierInvoiceNo":{"type":"string"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdatePurchaseReturnLineParam"}}}},"UpdatePurchaseReturnLineParam":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"IsGoodsReturn":{"type":"boolean"},"Tax":{"type":"string"},"Discount":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"RaceListResult":{"type":"object","properties":{"Race":{"type":"string"},"EncodedRace":{"type":"string"},"Description":{"type":"string"}}},"RaceResult":{"type":"object","properties":{"Race":{"type":"string"},"EncodedRace":{"type":"string"},"Description":{"type":"string"}}},"CreateRaceParam":{"required":["Race"],"type":"object","properties":{"Race":{"type":"string"},"Description":{"type":"string"}}},"UpdateRaceParam":{"required":["Race"],"type":"object","properties":{"Race":{"type":"string"},"Description":{"type":"string"}}},"ReceiptVoucherCreateEntity":{"required":["Name","Description","DocumentDate"],"type":"object","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"CurrencyCode":{"type":"string"},"Note":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"InclusiveTax":{"type":"boolean"},"Lines":{"type":"array","items":{"$ref":"#/definitions/ReceiptVoucherLineCreateEntity"}},"PaymentLines":{"type":"array","items":{"$ref":"#/definitions/ReceiptVoucherPaymentLineCreateEntity"}}}},"ReceiptVoucherLineCreateEntity":{"required":["AccNo","Description","Amount","TaxableAmt"],"type":"object","properties":{"AccNo":{"type":"string"},"Description":{"type":"string"},"FurtherDescription":{"type":"string"},"Amount":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"Project":{"type":"string"},"Dept":{"type":"string"}}},"ReceiptVoucherPaymentLineCreateEntity":{"required":["PaymentMethod","Amount"],"type":"object","properties":{"PaymentMethod":{"type":"string"},"ChequeNo":{"type":"string"},"Amount":{"format":"double","type":"number"},"BankCharge":{"format":"double","type":"number"},"PaymentBy":{"type":"string"},"IsRCHQ":{"type":"boolean"},"RCHQDate":{"format":"date-time","type":"string"},"ToBankRate":{"format":"double","type":"number"}}},"ReceiptVoucherCreateResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"GLTrxId":{"type":"string"},"Number":{"type":"string"},"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"TransType":{"format":"int32","enum":[0,1],"type":"integer"},"DocumentType":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"Note":{"type":"string"},"SourceKey":{"type":"string"},"SourceType":{"type":"string"},"IsPostDetailDesc":{"type":"boolean"},"IsCancelled":{"type":"boolean"},"InclusiveTax":{"type":"boolean"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TotalPayment":{"format":"double","type":"number"},"TotalExTax":{"format":"double","type":"number"},"LocalTotalExTax":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"ToTaxCurrencyRate":{"format":"double","type":"number"},"Lines":{"type":"array","items":{"$ref":"#/definitions/VoucherLineCreateResultEntity"}},"PaymentLines":{"type":"array","items":{"$ref":"#/definitions/VoucherPaymentLineCreateResultEntity"}}}},"ReceiptVoucherGetResultEntity":{"type":"object","properties":{"Id":{"type":"string"},"GLTrxId":{"type":"string"},"Number":{"type":"string"},"DocNo2":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"TransType":{"format":"int32","enum":[0,1],"type":"integer"},"DocumentType":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"Note":{"type":"string"},"SourceKey":{"type":"string"},"SourceType":{"type":"string"},"IsPostDetailDesc":{"type":"boolean"},"IsCancelled":{"type":"boolean"},"InclusiveTax":{"type":"boolean"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"TotalPayment":{"format":"double","type":"number"},"TotalExTax":{"format":"double","type":"number"},"LocalTotalExTax":{"format":"double","type":"number"},"TaxableAmt":{"format":"double","type":"number"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"ToTaxCurrencyRate":{"format":"double","type":"number"},"Lines":{"type":"array","items":{"$ref":"#/definitions/VoucherLineGetResultEntity"}},"PaymentLines":{"type":"array","items":{"$ref":"#/definitions/VoucherPaymentLineGetResultEntity"}}}},"QueryRequestStatus":{"type":"object","properties":{"RequestId":{"type":"string"},"Status":{"type":"string"}}},"QueryResponse":{"type":"object","properties":{"RequestId":{"type":"string"},"RequestName":{"type":"string"},"HostName":{"type":"string"},"IPAddress":{"type":"string"},"RequestTypeName":{"type":"string"},"ResultJson":{"type":"string"},"RequestParamJson":{"type":"string"},"ResultStream":{"$ref":"#/definitions/Stream"},"ResultTypeName":{"type":"string"},"Status":{"type":"string"},"Version":{"type":"string"},"AccountBookInfo":{"type":"string"},"AccountBookDBInfo":{"type":"string"},"Timestamp":{"format":"date-time","type":"string"},"ResultedTimestamp":{"format":"date-time","type":"string"},"ProcessingInterval":{"format":"double","type":"number"},"InQueueInterval":{"format":"double","type":"number"},"ResultFileURL":{"type":"string"}}},"GetSalesInvoiceListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"},"ModifiedFromDateTime":{"format":"date-time","type":"string"},"ModifiedToDateTime":{"format":"date-time","type":"string"}}},"SalesInvoiceListResult":{"type":"object","properties":{"Id":{"type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"DocumentDate":{"format":"date-time","type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"Agent":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"ShipVia":{"type":"string"},"SalesLocation":{"type":"string"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"LastModified":{"format":"date-time","type":"string"}}},"SalesInvoiceResult":{"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"RoundingMethod":{"format":"int32","type":"integer"},"RoundAdj":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ISalesInvoiceLineEntity"}}}},"ISalesInvoiceLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Tax":{"type":"string"},"Discount":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"SmallestQty":{"format":"double","type":"number"},"SmallestUnitPrice":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"LocalSubTotalExTax":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"FurtherDescription":{"type":"string"},"LineIndex":{"format":"int32","type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"},"TariffCode":{"type":"string"},"Classification":{"type":"string"}}},"CreateSalesInvoiceParam":{"required":["Debtor","DocumentDate"],"type":"object","properties":{"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateSalesInvoiceLineParam"}}}},"CreateSalesInvoiceLineParam":{"type":"object","properties":{"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"Classification":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"UpdateSalesInvoiceParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"UnPostToGL":{"type":"boolean"},"UnPostToStock":{"type":"boolean"},"SubmitEInvoice":{"type":"boolean"},"ConsolidatedEInvoice":{"type":"boolean"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdateSalesInvoiceLineParam"}}}},"UpdateSalesInvoiceLineParam":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"Classification":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"GetSalesOrderListParam":{"description":"","required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"},"ModifiedFromDateTime":{"format":"date-time","type":"string"},"ModifiedToDateTime":{"format":"date-time","type":"string"}}},"SalesOrderListResult":{"type":"object","properties":{"Id":{"type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"DocumentDate":{"format":"date-time","type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"Agent":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"ShipVia":{"type":"string"},"SalesLocation":{"type":"string"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"}}},"SalesOrderResult":{"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"RoundingMethod":{"format":"int32","type":"integer"},"RoundAdj":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ISalesOrderLineEntity"}}}},"ISalesOrderLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Tax":{"type":"string"},"Discount":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"SmallestQty":{"format":"double","type":"number"},"SmallestUnitPrice":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"LocalSubTotalExTax":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"FurtherDescription":{"type":"string"},"LineIndex":{"format":"int32","type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"}}},"CreateSalesOrderParam":{"required":["Debtor","DocumentDate"],"type":"object","properties":{"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateSalesOrderLineParam"}}}},"CreateSalesOrderLineParam":{"type":"object","properties":{"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"UpdateSalesOrderParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdateSalesOrderLineParam"}}}},"UpdateSalesOrderLineParam":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"GetSalesQuotationListParam":{"required":["FromDateTime","ToDateTime"],"type":"object","properties":{"FromDateTime":{"format":"date-time","type":"string"},"ToDateTime":{"format":"date-time","type":"string"}}},"SalesQuotationListResult":{"type":"object","properties":{"Id":{"type":"string"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"DocumentDate":{"format":"date-time","type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"}}},"SalesQuotationResult":{"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/IAddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/IAddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"Outstanding":{"format":"double","type":"number"},"Number":{"type":"string"},"TaxAmount":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"NetTotal":{"format":"double","type":"number"},"IsRoundAdj":{"type":"boolean"},"RoundingMethod":{"format":"int32","type":"integer"},"RoundAdj":{"format":"double","type":"number"},"IsCancelled":{"type":"boolean"},"ToDocType":{"type":"string"},"ToDocKey":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencySymbol":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"LocalNetTotal":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/ISalesQuotationLineEntity"}}}},"ISalesQuotationLineEntity":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Tax":{"type":"string"},"Discount":{"type":"string"},"TaxRate":{"format":"double","type":"number"},"TaxAmount":{"format":"double","type":"number"},"SubTotal":{"format":"double","type":"number"},"SubTotalExTax":{"format":"double","type":"number"},"TaxableAmount":{"format":"double","type":"number"},"DiscountAmount":{"format":"double","type":"number"},"SmallestQty":{"format":"double","type":"number"},"SmallestUnitPrice":{"format":"double","type":"number"},"LocalTaxAmount":{"format":"double","type":"number"},"LocalSubTotal":{"format":"double","type":"number"},"LocalSubTotalExTax":{"format":"double","type":"number"},"LocalTaxableAmount":{"format":"double","type":"number"},"FurtherDescription":{"type":"string"},"LineIndex":{"format":"int32","type":"integer"},"Project":{"type":"string"},"Dept":{"type":"string"},"SalesTaxExemptionNo":{"type":"string"}}},"CreateSalesQuotationParam":{"required":["Debtor","DocumentDate"],"type":"object","properties":{"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/CreateSalesQuotationLineParam"}}}},"CreateSalesQuotationLineParam":{"type":"object","properties":{"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"UpdateSalesQuotationParam":{"required":["Id","Debtor","DocumentDate"],"type":"object","properties":{"Id":{"type":"string"},"Debtor":{"type":"string"},"DocumentDate":{"format":"date-time","type":"string"},"DebtorName":{"type":"string"},"DeliverAddress":{"$ref":"#/definitions/AddressEntity"},"InvoiceAddress":{"$ref":"#/definitions/AddressEntity"},"Agent":{"type":"string"},"SalesLocation":{"type":"string"},"CreditTerm":{"type":"string"},"ShipVia":{"type":"string"},"ShipInfo":{"type":"string"},"InclusiveTax":{"type":"boolean"},"Description":{"type":"string"},"Ref":{"type":"string"},"RefDocNo":{"type":"string"},"Note":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyRate":{"format":"double","type":"number"},"DetailsLine":{"type":"array","items":{"$ref":"#/definitions/UpdateSalesQuotationLineParam"}}}},"UpdateSalesQuotationLineParam":{"type":"object","properties":{"Id":{"type":"string"},"Item":{"type":"string"},"UOM":{"type":"string"},"Qty":{"format":"double","type":"number"},"UnitPrice":{"format":"double","type":"number"},"Description":{"type":"string"},"Location":{"type":"string"},"AccNo":{"type":"string"},"DeliveryDate":{"format":"date-time","type":"string"},"Tax":{"type":"string"},"Discount":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"StockItemListResult":{"type":"object","properties":{"Id":{"type":"string"},"ItemCode":{"type":"string"},"ItemDescription":{"type":"string"},"ItemDescription2":{"type":"string"},"UOM":{"type":"array","items":{"$ref":"#/definitions/StockItemUOMListResult"}},"ItemGroup":{"type":"string"},"ItemType":{"type":"string"},"BaseUOM":{"type":"string"},"SalesUOM":{"type":"string"},"PurchaseUOM":{"type":"string"},"ReportUOM":{"type":"string"},"IsActive":{"type":"boolean"},"Discontinued":{"type":"boolean"},"DutyRate":{"format":"double","type":"number"},"SupplyTaxCode":{"type":"string"},"PurchaseTaxCode":{"type":"string"},"FurtherDescription":{"type":"string"},"TariffCode":{"type":"string"},"MustGenerateEInvoice":{"type":"boolean"},"Classification":{"type":"string"}}},"StockItemUOMListResult":{"type":"object","properties":{"UOM":{"type":"string"},"Rate":{"format":"double","type":"number"},"Price":{"format":"double","type":"number"},"StdCost":{"format":"double","type":"number"},"BarCode":{"type":"string"},"Measurement":{"type":"string"}}},"StockItemResult":{"type":"object","properties":{"ItemCode":{"type":"string"},"ItemDescription":{"type":"string"},"ItemDescription2":{"type":"string"},"ItemGroup":{"type":"string"},"ItemType":{"type":"string"},"BaseUOM":{"type":"string"},"SalesUOM":{"type":"string"},"PurchaseUOM":{"type":"string"},"ReportUOM":{"type":"string"},"UOM":{"type":"array","items":{"$ref":"#/definitions/IStockItemUOMEntity"}},"Id":{"type":"string"},"IsActive":{"type":"boolean"},"Discontinued":{"type":"boolean"},"DutyRate":{"format":"double","type":"number"},"SupplyTaxCode":{"type":"string"},"PurchaseTaxCode":{"type":"string"},"LeadTime":{"type":"string"},"ImageFileName":{"type":"string"},"FurtherDescription":{"type":"string"},"IsStockControl":{"type":"boolean"},"IsBackOrderControl":{"type":"boolean"},"IsAutoUOMConversion":{"type":"boolean"},"CostingMethod":{"format":"int32","type":"integer"},"PurchaseTaxRate":{"format":"double","type":"number"},"SupplyTaxRate":{"format":"double","type":"number"},"TariffCode":{"type":"string"},"MustGenerateEInvoice":{"type":"boolean"},"Classification":{"type":"string"}}},"IStockItemUOMEntity":{"type":"object","properties":{"UOM":{"type":"string"},"Rate":{"format":"double","type":"number"},"Price":{"format":"double","type":"number"},"Shelf":{"type":"string"},"BarCode":{"type":"string"},"Measurement":{"type":"string"},"Weight":{"format":"double","type":"number"},"WeightUOM":{"type":"string"},"Volume":{"format":"double","type":"number"},"VolumeUOM":{"type":"string"},"MinSellingPrice":{"format":"double","type":"number"},"MaxSellingPrice":{"format":"double","type":"number"},"MinPurchasePrice":{"format":"double","type":"number"},"MaxPurchasePrice":{"format":"double","type":"number"},"StdCost":{"format":"double","type":"number"},"MinQty":{"format":"double","type":"number"},"MaxQty":{"format":"double","type":"number"},"ReOrderQty":{"format":"double","type":"number"},"BalQty":{"format":"double","type":"number"},"ReOrderLevel":{"format":"double","type":"number"},"NormalLevel":{"format":"double","type":"number"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"}}},"CreateStockItemParam":{"type":"object","properties":{"ItemCode":{"type":"string"},"ItemDescription":{"type":"string"},"ItemDescription2":{"type":"string"},"ItemGroup":{"type":"string"},"ItemType":{"type":"string"},"BaseUOM":{"type":"string"},"SalesUOM":{"type":"string"},"PurchaseUOM":{"type":"string"},"ReportUOM":{"type":"string"},"UOM":{"type":"array","items":{"$ref":"#/definitions/CreateStockItemUOMListResult"}},"IsActive":{"type":"boolean"},"Discontinued":{"type":"boolean"},"DutyRate":{"format":"double","type":"number"},"SupplyTaxCode":{"type":"string"},"PurchaseTaxCode":{"type":"string"},"LeadTime":{"type":"string"},"ImageFileName":{"type":"string"},"FurtherDescription":{"type":"string"},"IsStockControl":{"type":"boolean"},"IsBackOrderControl":{"type":"boolean"},"IsAutoUOMConversion":{"type":"boolean"},"CostingMethod":{"format":"int32","type":"integer"},"PurchaseTaxRate":{"format":"double","type":"number"},"SupplyTaxRate":{"format":"double","type":"number"},"TariffCode":{"type":"string"},"MustGenerateEInvoice":{"type":"boolean"},"Classification":{"type":"string"}}},"CreateStockItemUOMListResult":{"required":["UOM","RowState"],"type":"object","properties":{"UOM":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Rate":{"format":"double","type":"number"},"Price":{"format":"double","type":"number"},"StdCost":{"format":"double","type":"number"},"BarCode":{"type":"string"},"Measurement":{"type":"string"},"Shelf":{"type":"string"},"Weight":{"format":"double","type":"number"},"WeightUOM":{"type":"string"},"Volume":{"format":"double","type":"number"},"VolumeUOM":{"type":"string"},"MinSellingPrice":{"format":"double","type":"number"},"MaxSellingPrice":{"format":"double","type":"number"},"MinPurchasePrice":{"format":"double","type":"number"},"MaxPurchasePrice":{"format":"double","type":"number"},"MinQty":{"format":"double","type":"number"},"MaxQty":{"format":"double","type":"number"},"ReOrderQty":{"format":"double","type":"number"},"BalQty":{"format":"double","type":"number"},"ReOrderLevel":{"format":"double","type":"number"},"NormalLevel":{"format":"double","type":"number"}}},"UpdateStockItemParam":{"required":["Id"],"type":"object","properties":{"Id":{"type":"string"},"ItemCode":{"type":"string"},"ItemDescription":{"type":"string"},"ItemDescription2":{"type":"string"},"ItemGroup":{"type":"string"},"ItemType":{"type":"string"},"BaseUOM":{"type":"string"},"SalesUOM":{"type":"string"},"PurchaseUOM":{"type":"string"},"ReportUOM":{"type":"string"},"UOM":{"type":"array","items":{"$ref":"#/definitions/UpdateStockItemUOMListResult"}},"IsActive":{"type":"boolean"},"Discontinued":{"type":"boolean"},"DutyRate":{"format":"double","type":"number"},"SupplyTaxCode":{"type":"string"},"PurchaseTaxCode":{"type":"string"},"LeadTime":{"type":"string"},"ImageFileName":{"type":"string"},"FurtherDescription":{"type":"string"},"IsStockControl":{"type":"boolean"},"IsBackOrderControl":{"type":"boolean"},"IsAutoUOMConversion":{"type":"boolean"},"CostingMethod":{"format":"int32","type":"integer"},"PurchaseTaxRate":{"format":"double","type":"number"},"SupplyTaxRate":{"format":"double","type":"number"},"TariffCode":{"type":"string"},"MustGenerateEInvoice":{"type":"boolean"},"Classification":{"type":"string"}}},"UpdateStockItemUOMListResult":{"required":["UOM","RowState"],"type":"object","properties":{"UOM":{"type":"string"},"RowState":{"format":"int32","enum":[0,1,2,4],"type":"integer"},"Rate":{"format":"double","type":"number"},"Price":{"format":"double","type":"number"},"StdCost":{"format":"double","type":"number"},"BarCode":{"type":"string"},"Measurement":{"type":"string"},"Shelf":{"type":"string"},"Weight":{"format":"double","type":"number"},"WeightUOM":{"type":"string"},"Volume":{"format":"double","type":"number"},"VolumeUOM":{"type":"string"},"MinSellingPrice":{"format":"double","type":"number"},"MaxSellingPrice":{"format":"double","type":"number"},"MinPurchasePrice":{"format":"double","type":"number"},"MaxPurchasePrice":{"format":"double","type":"number"},"MinQty":{"format":"double","type":"number"},"MaxQty":{"format":"double","type":"number"},"ReOrderQty":{"format":"double","type":"number"},"BalQty":{"format":"double","type":"number"},"ReOrderLevel":{"format":"double","type":"number"},"NormalLevel":{"format":"double","type":"number"}}},"AuthenticateParam":{"type":"object","properties":{"UserName":{"type":"string"},"Password":{"type":"string"},"ApiKey":{"type":"string"}}}}}