@erp-galoper/types 1.0.2080 → 1.0.2082
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.ts +1221 -262
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -8837,6 +8837,12 @@ export interface paths {
|
|
|
8837
8837
|
* - taxWithVatAlreadyExist
|
|
8838
8838
|
* - deferredSalesIsRequired
|
|
8839
8839
|
* - accountShouldBeSubsidiary
|
|
8840
|
+
* - fixedAmountRequired
|
|
8841
|
+
* - vatTaxAlreadyExists
|
|
8842
|
+
* - stampDutyPayableRequired
|
|
8843
|
+
* - stampDutyPayableAccountDoesNotExist
|
|
8844
|
+
* - invalidStampDutyPayableAccountType
|
|
8845
|
+
* - invalidStampDutyPayableAccountCurrency
|
|
8840
8846
|
* - 403:
|
|
8841
8847
|
* - permissionDenied
|
|
8842
8848
|
* -500:
|
|
@@ -8903,6 +8909,12 @@ export interface paths {
|
|
|
8903
8909
|
* - posAccountDoesNotExist
|
|
8904
8910
|
* - deferredSalesIsRequired
|
|
8905
8911
|
* - accountShouldBeSubsidiary
|
|
8912
|
+
* - fixedAmountRequired
|
|
8913
|
+
* - vatTaxAlreadyExists
|
|
8914
|
+
* - stampDutyPayableRequired
|
|
8915
|
+
* - stampDutyPayableAccountDoesNotExist
|
|
8916
|
+
* - invalidStampDutyPayableAccountType
|
|
8917
|
+
* - invalidStampDutyPayableAccountCurrency
|
|
8906
8918
|
* - 403:
|
|
8907
8919
|
* - permissionDenied
|
|
8908
8920
|
* -404:
|
|
@@ -8913,6 +8925,120 @@ export interface paths {
|
|
|
8913
8925
|
patch: operations["erp_settings_accountingsetting_tax_views_update_tax"];
|
|
8914
8926
|
trace?: never;
|
|
8915
8927
|
};
|
|
8928
|
+
"/api/v1/settings/accounting/tax_rules/": {
|
|
8929
|
+
parameters: {
|
|
8930
|
+
query?: never;
|
|
8931
|
+
header?: never;
|
|
8932
|
+
path?: never;
|
|
8933
|
+
cookie?: never;
|
|
8934
|
+
};
|
|
8935
|
+
/**
|
|
8936
|
+
* List Tax Rules
|
|
8937
|
+
* @description Endpoint for List Tax Rules
|
|
8938
|
+
* - 400:
|
|
8939
|
+
* - invalidFilterFormat
|
|
8940
|
+
* - paginationError
|
|
8941
|
+
* - 403:
|
|
8942
|
+
* - permissionDenied
|
|
8943
|
+
* - 200:
|
|
8944
|
+
* - success
|
|
8945
|
+
* - 500:
|
|
8946
|
+
* - internalServerError
|
|
8947
|
+
*/
|
|
8948
|
+
get: operations["erp_settings_accountingsetting_tax_rule_views_list_tax_rules"];
|
|
8949
|
+
put?: never;
|
|
8950
|
+
/**
|
|
8951
|
+
* Create Tax Rule
|
|
8952
|
+
* @description Endpoint for create tax rule
|
|
8953
|
+
* Possible Responses:
|
|
8954
|
+
* - 201:
|
|
8955
|
+
* - taxRuleCreated
|
|
8956
|
+
* - 400:
|
|
8957
|
+
* - taxDoesNotExist
|
|
8958
|
+
* - exemptionPercentIsRequiredForPartialExemption
|
|
8959
|
+
* - exemptionPercentShouldBeGreaterThan0AndLessThan100
|
|
8960
|
+
* - exemptionPercentShouldBe100ForFullExemption
|
|
8961
|
+
* - itemAndItemGroupCannotBothBeSelected
|
|
8962
|
+
* - customerAndCustomerGroupCannotBothBeSelected
|
|
8963
|
+
* - taxRuleAlreadyExistsForThisScope
|
|
8964
|
+
* - 403:
|
|
8965
|
+
* - permissionDenied
|
|
8966
|
+
* - 404:
|
|
8967
|
+
* - taxDoesNotExist
|
|
8968
|
+
* - 500:
|
|
8969
|
+
* - internalServerError
|
|
8970
|
+
*/
|
|
8971
|
+
post: operations["erp_settings_accountingsetting_tax_rule_views_create_tax_rule"];
|
|
8972
|
+
delete?: never;
|
|
8973
|
+
options?: never;
|
|
8974
|
+
head?: never;
|
|
8975
|
+
patch?: never;
|
|
8976
|
+
trace?: never;
|
|
8977
|
+
};
|
|
8978
|
+
"/api/v1/settings/accounting/tax_rules/{id}/": {
|
|
8979
|
+
parameters: {
|
|
8980
|
+
query?: never;
|
|
8981
|
+
header?: never;
|
|
8982
|
+
path?: never;
|
|
8983
|
+
cookie?: never;
|
|
8984
|
+
};
|
|
8985
|
+
/**
|
|
8986
|
+
* Get Tax Rule
|
|
8987
|
+
* @description Endpoint for retrieve tax rule.
|
|
8988
|
+
* Possible Responses:
|
|
8989
|
+
* - 200:
|
|
8990
|
+
* - success
|
|
8991
|
+
* - 404:
|
|
8992
|
+
* - taxRuleDoesNotExist
|
|
8993
|
+
* - 403:
|
|
8994
|
+
* - permissionDenied
|
|
8995
|
+
* - 500:
|
|
8996
|
+
* - internalServerError
|
|
8997
|
+
*/
|
|
8998
|
+
get: operations["erp_settings_accountingsetting_tax_rule_views_get_tax_rule"];
|
|
8999
|
+
put?: never;
|
|
9000
|
+
post?: never;
|
|
9001
|
+
/**
|
|
9002
|
+
* Delete Tax Rule
|
|
9003
|
+
* @description Endpoint for delete tax rule
|
|
9004
|
+
* - 404:
|
|
9005
|
+
* - taxRuleDoesNotExist
|
|
9006
|
+
* - 403:
|
|
9007
|
+
* - permissionDenied
|
|
9008
|
+
* - 400:
|
|
9009
|
+
* - cantBeDeleted
|
|
9010
|
+
* - 200:
|
|
9011
|
+
* - taxRuleDeleted
|
|
9012
|
+
* - 500:
|
|
9013
|
+
* - internalServerError
|
|
9014
|
+
*/
|
|
9015
|
+
delete: operations["erp_settings_accountingsetting_tax_rule_views_delete_tax_rule"];
|
|
9016
|
+
options?: never;
|
|
9017
|
+
head?: never;
|
|
9018
|
+
/**
|
|
9019
|
+
* Update Tax Rule
|
|
9020
|
+
* @description Endpoint for update tax rule
|
|
9021
|
+
* Possible Responses:
|
|
9022
|
+
* - 200: taxRuleUpdated
|
|
9023
|
+
* - 400:
|
|
9024
|
+
* - noChangesDetected
|
|
9025
|
+
* - exemptionPercentIsRequiredForPartialExemption
|
|
9026
|
+
* - exemptionPercentShouldBeGreaterThan0AndLessThan100
|
|
9027
|
+
* - exemptionPercentShouldBe100ForFullExemption
|
|
9028
|
+
* - itemAndItemGroupCannotBothBeSelected
|
|
9029
|
+
* - customerAndCustomerGroupCannotBothBeSelected
|
|
9030
|
+
* - taxRuleAlreadyExistsForThisScope
|
|
9031
|
+
* - 403:
|
|
9032
|
+
* - permissionDenied
|
|
9033
|
+
* - 404:
|
|
9034
|
+
* - taxRuleDoesNotExist
|
|
9035
|
+
* - taxDoesNotExist
|
|
9036
|
+
* - 500:
|
|
9037
|
+
* - internalServerError
|
|
9038
|
+
*/
|
|
9039
|
+
patch: operations["erp_settings_accountingsetting_tax_rule_views_update_tax_rule"];
|
|
9040
|
+
trace?: never;
|
|
9041
|
+
};
|
|
8916
9042
|
"/api/v1/settings/accounting/": {
|
|
8917
9043
|
parameters: {
|
|
8918
9044
|
query?: never;
|
|
@@ -26701,6 +26827,12 @@ export interface components {
|
|
|
26701
26827
|
* @default []
|
|
26702
26828
|
*/
|
|
26703
26829
|
taxes: components["schemas"]["BasePermissionsSchema_Settings_Accounting_TaxesEnum"][];
|
|
26830
|
+
/**
|
|
26831
|
+
* Taxrule
|
|
26832
|
+
* @description taxrule actions
|
|
26833
|
+
* @default []
|
|
26834
|
+
*/
|
|
26835
|
+
taxrule: components["schemas"]["BasePermissionsSchema_Settings_Accounting_TaxruleEnum"][];
|
|
26704
26836
|
};
|
|
26705
26837
|
/**
|
|
26706
26838
|
* BasePermissionsSchema_Settings_Accounting_AccountclassificationEnum
|
|
@@ -26737,6 +26869,11 @@ export interface components {
|
|
|
26737
26869
|
* @enum {string}
|
|
26738
26870
|
*/
|
|
26739
26871
|
BasePermissionsSchema_Settings_Accounting_TaxesEnum: "add" | "change" | "delete" | "view";
|
|
26872
|
+
/**
|
|
26873
|
+
* BasePermissionsSchema_Settings_Accounting_TaxruleEnum
|
|
26874
|
+
* @enum {string}
|
|
26875
|
+
*/
|
|
26876
|
+
BasePermissionsSchema_Settings_Accounting_TaxruleEnum: "add" | "change" | "delete" | "view";
|
|
26740
26877
|
/**
|
|
26741
26878
|
* BasePermissionsSchema_Settings_Accounting_TransactionalsubsidiaryaccountsEnum
|
|
26742
26879
|
* @enum {string}
|
|
@@ -29250,16 +29387,20 @@ export interface components {
|
|
|
29250
29387
|
id: string;
|
|
29251
29388
|
/** Name */
|
|
29252
29389
|
name: string;
|
|
29390
|
+
/** Taxtype */
|
|
29391
|
+
taxType: unknown;
|
|
29253
29392
|
/** Type */
|
|
29254
|
-
type:
|
|
29393
|
+
type: unknown[];
|
|
29255
29394
|
/** Ratepercentage */
|
|
29256
|
-
ratePercentage: number;
|
|
29395
|
+
ratePercentage: number | null;
|
|
29396
|
+
/** Fixedamount */
|
|
29397
|
+
fixedAmount?: number | null;
|
|
29257
29398
|
};
|
|
29258
29399
|
/**
|
|
29259
29400
|
* TaxTypes
|
|
29260
29401
|
* @enum {string}
|
|
29261
29402
|
*/
|
|
29262
|
-
TaxTypes: "purchase" | "sales" | "pos" | "expenses" | "assets";
|
|
29403
|
+
TaxTypes: "purchase" | "sales" | "pos" | "expenses" | "assets" | "stamp";
|
|
29263
29404
|
/**
|
|
29264
29405
|
* TrackInventoryBy
|
|
29265
29406
|
* @enum {string}
|
|
@@ -41677,25 +41818,47 @@ export interface components {
|
|
|
41677
41818
|
CreateTax: {
|
|
41678
41819
|
/** Name */
|
|
41679
41820
|
name: string;
|
|
41680
|
-
/**
|
|
41821
|
+
/**
|
|
41822
|
+
* Type
|
|
41823
|
+
* @description visible and required when tax type different than stamp duty
|
|
41824
|
+
* @default []
|
|
41825
|
+
*/
|
|
41681
41826
|
type: components["schemas"]["TaxTypes"][];
|
|
41682
|
-
/**
|
|
41827
|
+
/**
|
|
41828
|
+
* Sales
|
|
41829
|
+
* @description hidden when tax type is stamp duty
|
|
41830
|
+
*/
|
|
41683
41831
|
sales?: number | null;
|
|
41684
|
-
/**
|
|
41832
|
+
/**
|
|
41833
|
+
* Purchase
|
|
41834
|
+
* @description hidden when tax type is stamp duty
|
|
41835
|
+
*/
|
|
41685
41836
|
purchase?: number | null;
|
|
41686
|
-
/**
|
|
41837
|
+
/**
|
|
41838
|
+
* Expenses
|
|
41839
|
+
* @description hidden when tax type is stamp duty
|
|
41840
|
+
*/
|
|
41687
41841
|
expenses?: number | null;
|
|
41688
|
-
/**
|
|
41842
|
+
/**
|
|
41843
|
+
* Pos
|
|
41844
|
+
* @description hidden when tax type is stamp duty
|
|
41845
|
+
*/
|
|
41689
41846
|
pos?: number | null;
|
|
41690
|
-
/**
|
|
41847
|
+
/**
|
|
41848
|
+
* Assets
|
|
41849
|
+
* @description hidden when tax type is stamp duty
|
|
41850
|
+
*/
|
|
41691
41851
|
assets?: number | null;
|
|
41692
|
-
/**
|
|
41693
|
-
|
|
41852
|
+
/**
|
|
41853
|
+
* Ratepercentage
|
|
41854
|
+
* @description visible and required when tax type different than stamp duty
|
|
41855
|
+
*/
|
|
41856
|
+
ratePercentage?: number | null;
|
|
41694
41857
|
/**
|
|
41695
41858
|
* Taxpayableaccount
|
|
41696
|
-
* @description tax Payable Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
|
|
41859
|
+
* @description visible and required when tax type different than stamp duty, tax Payable Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
|
|
41697
41860
|
*/
|
|
41698
|
-
taxPayableAccount
|
|
41861
|
+
taxPayableAccount?: number | null;
|
|
41699
41862
|
/**
|
|
41700
41863
|
* Deferredsales
|
|
41701
41864
|
* @description - id of account from chart of account
|
|
@@ -41705,7 +41868,24 @@ export interface components {
|
|
|
41705
41868
|
* - API Route : /api/v1/chart_of_account/?branchId=1&type=deferredSales
|
|
41706
41869
|
*/
|
|
41707
41870
|
deferredSales?: number;
|
|
41871
|
+
/** @default other */
|
|
41872
|
+
taxType: components["schemas"]["TaxType"];
|
|
41873
|
+
/**
|
|
41874
|
+
* Fixedamount
|
|
41875
|
+
* @description Visible and Required when taxType is stampDuty (calculationMethod is automatically set to fixedAmount). Ignored (saved as null) otherwise.
|
|
41876
|
+
*/
|
|
41877
|
+
fixedAmount?: number | null;
|
|
41878
|
+
/**
|
|
41879
|
+
* Stampdutypayable
|
|
41880
|
+
* @description Visible and Required when taxType is stampDuty. Must be a Detail-level account whose account type is 'Government and public institutions Taxes' and whose currency is the company currency. Ignored (saved as null) otherwise./api/v1/chart_of_account/?type=detail and filter by accountType.name equals 'Government and public institutions Taxes'
|
|
41881
|
+
*/
|
|
41882
|
+
stampDutyPayable?: number | null;
|
|
41708
41883
|
};
|
|
41884
|
+
/**
|
|
41885
|
+
* TaxType
|
|
41886
|
+
* @enum {string}
|
|
41887
|
+
*/
|
|
41888
|
+
TaxType: "vat" | "stampDuty" | "other";
|
|
41709
41889
|
/** ListTaxes */
|
|
41710
41890
|
ListTaxes: {
|
|
41711
41891
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -41732,45 +41912,90 @@ export interface components {
|
|
|
41732
41912
|
name: string;
|
|
41733
41913
|
/** Type */
|
|
41734
41914
|
type: components["schemas"]["TaxTypes"][];
|
|
41915
|
+
/** @description hidden when tax type is stamp duty */
|
|
41735
41916
|
sales?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41917
|
+
/** @description hidden when tax type is stamp duty */
|
|
41736
41918
|
purchase?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41919
|
+
/** @description hidden when tax type is stamp duty */
|
|
41737
41920
|
expenses?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41921
|
+
/** @description hidden when tax type is stamp duty */
|
|
41738
41922
|
pos?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41923
|
+
/** @description hidden when tax type is stamp duty */
|
|
41739
41924
|
assets?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41740
|
-
/**
|
|
41741
|
-
|
|
41742
|
-
|
|
41925
|
+
/**
|
|
41926
|
+
* Ratepercentage
|
|
41927
|
+
* @description hidden when tax type is stamp duty, rate percentage of tax
|
|
41928
|
+
*/
|
|
41929
|
+
ratePercentage: number | null;
|
|
41930
|
+
/** @description Tax Payable Account, visible when tax type different than stamp duty, */
|
|
41743
41931
|
taxPayableAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41744
41932
|
deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41933
|
+
taxType: components["schemas"]["TaxType"];
|
|
41934
|
+
calculationMethod?: components["schemas"]["TaxCalculationMethod"] | null;
|
|
41935
|
+
/**
|
|
41936
|
+
* Fixedamount
|
|
41937
|
+
* @description visible when tax type is stamp duty
|
|
41938
|
+
*/
|
|
41939
|
+
fixedAmount?: number | null;
|
|
41940
|
+
appliesTo?: components["schemas"]["TaxAppliesTo"] | null;
|
|
41941
|
+
/** @description visible when tax type is stamp duty */
|
|
41942
|
+
stampDutyPayable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41745
41943
|
/** Candelete */
|
|
41746
41944
|
canDelete: boolean;
|
|
41747
41945
|
};
|
|
41946
|
+
/**
|
|
41947
|
+
* TaxAppliesTo
|
|
41948
|
+
* @constant
|
|
41949
|
+
*/
|
|
41950
|
+
TaxAppliesTo: "sales_invoice";
|
|
41951
|
+
/**
|
|
41952
|
+
* TaxCalculationMethod
|
|
41953
|
+
* @enum {string}
|
|
41954
|
+
*/
|
|
41955
|
+
TaxCalculationMethod: "percentage" | "fixed_amount";
|
|
41748
41956
|
/** UpdateTax */
|
|
41749
41957
|
UpdateTax: {
|
|
41750
41958
|
/** Name */
|
|
41751
41959
|
name?: string | null;
|
|
41752
|
-
/** Isvat */
|
|
41753
|
-
isVat?: boolean | null;
|
|
41754
41960
|
/**
|
|
41755
41961
|
* Type
|
|
41962
|
+
* @description visible and required when tax type different than stamp duty
|
|
41756
41963
|
* @default []
|
|
41757
41964
|
*/
|
|
41758
41965
|
type: components["schemas"]["TaxTypes"][] | null;
|
|
41759
|
-
/**
|
|
41966
|
+
/**
|
|
41967
|
+
* Sales
|
|
41968
|
+
* @description hidden when tax type is stamp duty
|
|
41969
|
+
*/
|
|
41760
41970
|
sales?: number | null;
|
|
41761
|
-
/**
|
|
41971
|
+
/**
|
|
41972
|
+
* Purchase
|
|
41973
|
+
* @description hidden when tax type is stamp duty
|
|
41974
|
+
*/
|
|
41762
41975
|
purchase?: number | null;
|
|
41763
|
-
/**
|
|
41976
|
+
/**
|
|
41977
|
+
* Expenses
|
|
41978
|
+
* @description hidden when tax type is stamp duty
|
|
41979
|
+
*/
|
|
41764
41980
|
expenses?: number | null;
|
|
41765
|
-
/**
|
|
41981
|
+
/**
|
|
41982
|
+
* Pos
|
|
41983
|
+
* @description hidden when tax type is stamp duty
|
|
41984
|
+
*/
|
|
41766
41985
|
pos?: number | null;
|
|
41767
|
-
/**
|
|
41986
|
+
/**
|
|
41987
|
+
* Assets
|
|
41988
|
+
* @description hidden when tax type is stamp duty
|
|
41989
|
+
*/
|
|
41768
41990
|
assets?: number | null;
|
|
41769
|
-
/**
|
|
41991
|
+
/**
|
|
41992
|
+
* Ratepercentage
|
|
41993
|
+
* @description visible and required when tax type different than stamp duty
|
|
41994
|
+
*/
|
|
41770
41995
|
ratePercentage?: number | null;
|
|
41771
41996
|
/**
|
|
41772
41997
|
* Taxpayableaccount
|
|
41773
|
-
* @description Tax Payable Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
|
|
41998
|
+
* @description visible and required when tax type different than stamp duty, Tax Payable Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
|
|
41774
41999
|
*/
|
|
41775
42000
|
taxPayableAccount?: number | null;
|
|
41776
42001
|
/**
|
|
@@ -41782,6 +42007,17 @@ export interface components {
|
|
|
41782
42007
|
* - API Route : /api/v1/chart_of_account/?branchId=1&type=deferredSales
|
|
41783
42008
|
*/
|
|
41784
42009
|
deferredSales?: number | null;
|
|
42010
|
+
taxType?: components["schemas"]["TaxType"] | null;
|
|
42011
|
+
/**
|
|
42012
|
+
* Fixedamount
|
|
42013
|
+
* @description Required when taxType is stampDuty (calculationMethod is automatically set to fixedAmount). Ignored (saved as null) otherwise.
|
|
42014
|
+
*/
|
|
42015
|
+
fixedAmount?: number | null;
|
|
42016
|
+
/**
|
|
42017
|
+
* Stampdutypayable
|
|
42018
|
+
* @description Visible and Required when taxType is stampDuty. Must be a Detail-level account whose account type is 'Government and public institutions Taxes' and whose currency is the company currency. Ignored (saved as null) otherwise.
|
|
42019
|
+
*/
|
|
42020
|
+
stampDutyPayable?: number | null;
|
|
41785
42021
|
};
|
|
41786
42022
|
/** RetrieveTax */
|
|
41787
42023
|
RetrieveTax: {
|
|
@@ -41803,16 +42039,233 @@ export interface components {
|
|
|
41803
42039
|
name: string;
|
|
41804
42040
|
/** Type */
|
|
41805
42041
|
type: components["schemas"]["TaxTypes"][];
|
|
42042
|
+
/** @description hidden when tax type is stamp duty */
|
|
41806
42043
|
sales?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42044
|
+
/** @description hidden when tax type is stamp duty */
|
|
41807
42045
|
purchase?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42046
|
+
/** @description hidden when tax type is stamp duty */
|
|
41808
42047
|
expenses?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42048
|
+
/** @description hidden when tax type is stamp duty */
|
|
41809
42049
|
pos?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42050
|
+
/** @description hidden when tax type is stamp duty */
|
|
41810
42051
|
assets?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41811
|
-
/**
|
|
41812
|
-
|
|
41813
|
-
|
|
42052
|
+
/**
|
|
42053
|
+
* Ratepercentage
|
|
42054
|
+
* @description hidden when tax type is stamp duty, rate percentage of tax
|
|
42055
|
+
*/
|
|
42056
|
+
ratePercentage: number | null;
|
|
42057
|
+
/** @description Tax Payable Account, visible when tax type different than stamp duty, */
|
|
41814
42058
|
taxPayableAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41815
42059
|
deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42060
|
+
taxType: components["schemas"]["TaxType"];
|
|
42061
|
+
calculationMethod?: components["schemas"]["TaxCalculationMethod"] | null;
|
|
42062
|
+
/**
|
|
42063
|
+
* Fixedamount
|
|
42064
|
+
* @description visible when tax type is stamp duty
|
|
42065
|
+
*/
|
|
42066
|
+
fixedAmount?: number | null;
|
|
42067
|
+
appliesTo?: components["schemas"]["TaxAppliesTo"] | null;
|
|
42068
|
+
/** @description visible when tax type is stamp duty */
|
|
42069
|
+
stampDutyPayable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42070
|
+
};
|
|
42071
|
+
/** CreateTaxRule */
|
|
42072
|
+
CreateTaxRule: {
|
|
42073
|
+
/**
|
|
42074
|
+
* Taxid
|
|
42075
|
+
* Format: uuid
|
|
42076
|
+
* @description get taxes from /api/v1/settings/accounting/taxes/
|
|
42077
|
+
*/
|
|
42078
|
+
taxId: string;
|
|
42079
|
+
/**
|
|
42080
|
+
* Customerids
|
|
42081
|
+
* @description Select either customerIds or customerGroupIds, not both. Retrieve customers from /api/v1/customers?type=parent and filter by isActive equals true.
|
|
42082
|
+
*/
|
|
42083
|
+
customerIds?: string[] | null;
|
|
42084
|
+
/**
|
|
42085
|
+
* Customergroupids
|
|
42086
|
+
* @description Select either customerIds or customerGroupIds, not both. Retrieve customer groups from /api/v1/common/contact-segmentation/ and filter by type equals customer.
|
|
42087
|
+
*/
|
|
42088
|
+
customerGroupIds?: string[] | null;
|
|
42089
|
+
/**
|
|
42090
|
+
* Itemids
|
|
42091
|
+
* @description Select either itemIds or itemGroupIds, not both. Retrieve items from /api/v1/inventory/items/ and filter by isActive equals true and role not equals template.
|
|
42092
|
+
*/
|
|
42093
|
+
itemIds?: string[] | null;
|
|
42094
|
+
/**
|
|
42095
|
+
* Itemcategoryids
|
|
42096
|
+
* @description Select either itemIds or itemCategoryIds, not both. Retrieve item groups from /api/v1/inventory/categories/?type=item.
|
|
42097
|
+
*/
|
|
42098
|
+
itemCategoryIds?: string[] | null;
|
|
42099
|
+
taxApplication: components["schemas"]["TaxApplication"];
|
|
42100
|
+
/**
|
|
42101
|
+
* Exemptionpercent
|
|
42102
|
+
* @description Hidden when taxApplication is STANDARD (saved as null). Required when taxApplication is PARTIAL_EXEMPTION, must be greater than 0 and less than 100. When taxApplication is FULL_EXEMPTION, must be 100 if provided, otherwise the system sets it to 100 automatically.
|
|
42103
|
+
*/
|
|
42104
|
+
exemptionPercent?: number | null;
|
|
42105
|
+
/** @description Hidden when taxApplication is STANDARD (saved as null). */
|
|
42106
|
+
exemptionMethod?: components["schemas"]["ExemptionMethod"] | null;
|
|
42107
|
+
/**
|
|
42108
|
+
* Isactive
|
|
42109
|
+
* @default true
|
|
42110
|
+
*/
|
|
42111
|
+
isActive: boolean | null;
|
|
42112
|
+
};
|
|
42113
|
+
/**
|
|
42114
|
+
* ExemptionMethod
|
|
42115
|
+
* @constant
|
|
42116
|
+
*/
|
|
42117
|
+
ExemptionMethod: "PERCENT_OF_TAX";
|
|
42118
|
+
/**
|
|
42119
|
+
* TaxApplication
|
|
42120
|
+
* @enum {string}
|
|
42121
|
+
*/
|
|
42122
|
+
TaxApplication: "STANDARD" | "PARTIAL_EXEMPTION" | "FULL_EXEMPTION";
|
|
42123
|
+
/** ItemCategorySummaryInfo */
|
|
42124
|
+
ItemCategorySummaryInfo: {
|
|
42125
|
+
/**
|
|
42126
|
+
* Id
|
|
42127
|
+
* Format: uuid
|
|
42128
|
+
*/
|
|
42129
|
+
id: string;
|
|
42130
|
+
/** Name */
|
|
42131
|
+
name: string;
|
|
42132
|
+
};
|
|
42133
|
+
/** ListTaxRules */
|
|
42134
|
+
ListTaxRules: {
|
|
42135
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
42136
|
+
/** Results */
|
|
42137
|
+
results: components["schemas"]["RetrieveTaxRuleInList"][];
|
|
42138
|
+
};
|
|
42139
|
+
/** RetrieveTaxRuleInList */
|
|
42140
|
+
RetrieveTaxRuleInList: {
|
|
42141
|
+
/**
|
|
42142
|
+
* Datecreated
|
|
42143
|
+
* Format: date-time
|
|
42144
|
+
*/
|
|
42145
|
+
dateCreated: string;
|
|
42146
|
+
/** Datemodified */
|
|
42147
|
+
dateModified: string | null;
|
|
42148
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
42149
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
42150
|
+
/**
|
|
42151
|
+
* Id
|
|
42152
|
+
* Format: uuid
|
|
42153
|
+
*/
|
|
42154
|
+
id: string;
|
|
42155
|
+
tax: components["schemas"]["TaxSharedSchema"];
|
|
42156
|
+
/**
|
|
42157
|
+
* Customers
|
|
42158
|
+
* @default []
|
|
42159
|
+
*/
|
|
42160
|
+
customers: components["schemas"]["AccountSummaryInfo"][] | null;
|
|
42161
|
+
/**
|
|
42162
|
+
* Customergroups
|
|
42163
|
+
* @default []
|
|
42164
|
+
*/
|
|
42165
|
+
customerGroups: components["schemas"]["ContactSegmentationSharedSchema"][] | null;
|
|
42166
|
+
/**
|
|
42167
|
+
* Items
|
|
42168
|
+
* @default []
|
|
42169
|
+
*/
|
|
42170
|
+
items: components["schemas"]["ItemSummaryInfo"][] | null;
|
|
42171
|
+
/**
|
|
42172
|
+
* Itemcategories
|
|
42173
|
+
* @default []
|
|
42174
|
+
*/
|
|
42175
|
+
itemCategories: components["schemas"]["ItemCategorySummaryInfo"][] | null;
|
|
42176
|
+
taxApplication: components["schemas"]["TaxApplication"];
|
|
42177
|
+
/** Exemptionpercent */
|
|
42178
|
+
exemptionPercent?: number | null;
|
|
42179
|
+
exemptionMethod?: components["schemas"]["ExemptionMethod"] | null;
|
|
42180
|
+
/**
|
|
42181
|
+
* Chargebearer
|
|
42182
|
+
* @description Who bears the stamp duty charge. Only set (always 'customer' for now) when the rule's tax is of type stampDuty; null otherwise.
|
|
42183
|
+
*/
|
|
42184
|
+
chargeBearer?: string | null;
|
|
42185
|
+
/** Isactive */
|
|
42186
|
+
isActive: boolean;
|
|
42187
|
+
/** Candelete */
|
|
42188
|
+
canDelete: boolean;
|
|
42189
|
+
};
|
|
42190
|
+
/** UpdateTaxRule */
|
|
42191
|
+
UpdateTaxRule: {
|
|
42192
|
+
/** Taxid */
|
|
42193
|
+
taxId?: string | null;
|
|
42194
|
+
/**
|
|
42195
|
+
* Customerids
|
|
42196
|
+
* @description Select either customerIds or customerGroupIds, not both. Retrieve customers from /api/v1/customers?type=parent and filter by isActive equals true.
|
|
42197
|
+
*/
|
|
42198
|
+
customerIds?: string[] | null;
|
|
42199
|
+
/**
|
|
42200
|
+
* Customergroupids
|
|
42201
|
+
* @description Select either customerIds or customerGroupIds, not both. Retrieve customer groups from /api/v1/common/contact-segmentation/ and filter by type equals customer.
|
|
42202
|
+
*/
|
|
42203
|
+
customerGroupIds?: string[] | null;
|
|
42204
|
+
/**
|
|
42205
|
+
* Itemids
|
|
42206
|
+
* @description Select either itemIds or itemGroupIds, not both. Retrieve items from /api/v1/inventory/items/ and filter by isActive equals true and role not equals template.
|
|
42207
|
+
*/
|
|
42208
|
+
itemIds?: string[] | null;
|
|
42209
|
+
/**
|
|
42210
|
+
* Itemcategoryids
|
|
42211
|
+
* @description Select either itemIds or itemCategoryIds, not both. Retrieve item groups from /api/v1/inventory/categories/?type=item.
|
|
42212
|
+
*/
|
|
42213
|
+
itemCategoryIds?: string[] | null;
|
|
42214
|
+
taxApplication?: components["schemas"]["TaxApplication"] | null;
|
|
42215
|
+
/** Exemptionpercent */
|
|
42216
|
+
exemptionPercent?: number | null;
|
|
42217
|
+
exemptionMethod?: components["schemas"]["ExemptionMethod"] | null;
|
|
42218
|
+
/** Isactive */
|
|
42219
|
+
isActive?: boolean | null;
|
|
42220
|
+
};
|
|
42221
|
+
/** RetrieveTaxRule */
|
|
42222
|
+
RetrieveTaxRule: {
|
|
42223
|
+
/**
|
|
42224
|
+
* Datecreated
|
|
42225
|
+
* Format: date-time
|
|
42226
|
+
*/
|
|
42227
|
+
dateCreated: string;
|
|
42228
|
+
/** Datemodified */
|
|
42229
|
+
dateModified: string | null;
|
|
42230
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
42231
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
42232
|
+
/**
|
|
42233
|
+
* Id
|
|
42234
|
+
* Format: uuid
|
|
42235
|
+
*/
|
|
42236
|
+
id: string;
|
|
42237
|
+
tax: components["schemas"]["TaxSharedSchema"];
|
|
42238
|
+
/**
|
|
42239
|
+
* Customers
|
|
42240
|
+
* @default []
|
|
42241
|
+
*/
|
|
42242
|
+
customers: components["schemas"]["AccountSummaryInfo"][] | null;
|
|
42243
|
+
/**
|
|
42244
|
+
* Customergroups
|
|
42245
|
+
* @default []
|
|
42246
|
+
*/
|
|
42247
|
+
customerGroups: components["schemas"]["ContactSegmentationSharedSchema"][] | null;
|
|
42248
|
+
/**
|
|
42249
|
+
* Items
|
|
42250
|
+
* @default []
|
|
42251
|
+
*/
|
|
42252
|
+
items: components["schemas"]["ItemSummaryInfo"][] | null;
|
|
42253
|
+
/**
|
|
42254
|
+
* Itemcategories
|
|
42255
|
+
* @default []
|
|
42256
|
+
*/
|
|
42257
|
+
itemCategories: components["schemas"]["ItemCategorySummaryInfo"][] | null;
|
|
42258
|
+
taxApplication: components["schemas"]["TaxApplication"];
|
|
42259
|
+
/** Exemptionpercent */
|
|
42260
|
+
exemptionPercent?: number | null;
|
|
42261
|
+
exemptionMethod?: components["schemas"]["ExemptionMethod"] | null;
|
|
42262
|
+
/**
|
|
42263
|
+
* Chargebearer
|
|
42264
|
+
* @description Who bears the stamp duty charge. Only set (always 'customer' for now) when the rule's tax is of type stampDuty; null otherwise.
|
|
42265
|
+
*/
|
|
42266
|
+
chargeBearer?: string | null;
|
|
42267
|
+
/** Isactive */
|
|
42268
|
+
isActive: boolean;
|
|
41816
42269
|
};
|
|
41817
42270
|
/** AccountingSettingResponseSchema */
|
|
41818
42271
|
AccountingSettingResponseSchema: {
|
|
@@ -44764,7 +45217,7 @@ export interface components {
|
|
|
44764
45217
|
/**
|
|
44765
45218
|
* Taxes
|
|
44766
45219
|
* @description - visible when supplier is resident
|
|
44767
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
45220
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
44768
45221
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals purchase
|
|
44769
45222
|
*/
|
|
44770
45223
|
taxes?: string[] | null;
|
|
@@ -44836,7 +45289,7 @@ export interface components {
|
|
|
44836
45289
|
* Format: uuid
|
|
44837
45290
|
* @description - tax id
|
|
44838
45291
|
* - visible when supplier is not resident
|
|
44839
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
45292
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
44840
45293
|
*/
|
|
44841
45294
|
tax?: string;
|
|
44842
45295
|
/**
|
|
@@ -45191,7 +45644,7 @@ export interface components {
|
|
|
45191
45644
|
* Tax
|
|
45192
45645
|
* Format: uuid
|
|
45193
45646
|
* @description - visible when entity is not resident
|
|
45194
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase or sale with respect to document
|
|
45647
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase or sale with respect to document and taxType not equals stampDuty
|
|
45195
45648
|
*/
|
|
45196
45649
|
tax?: string;
|
|
45197
45650
|
/** Items */
|
|
@@ -45618,7 +46071,7 @@ export interface components {
|
|
|
45618
46071
|
/**
|
|
45619
46072
|
* Taxes
|
|
45620
46073
|
* @description - visible when supplier is resident
|
|
45621
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
46074
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
45622
46075
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals purchase
|
|
45623
46076
|
*/
|
|
45624
46077
|
taxes?: string[] | null;
|
|
@@ -45703,7 +46156,7 @@ export interface components {
|
|
|
45703
46156
|
* Format: uuid
|
|
45704
46157
|
* @description - tax id
|
|
45705
46158
|
* - visible when supplier is not resident
|
|
45706
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
46159
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
45707
46160
|
*/
|
|
45708
46161
|
tax?: string;
|
|
45709
46162
|
/**
|
|
@@ -47404,7 +47857,7 @@ export interface components {
|
|
|
47404
47857
|
* Format: uuid
|
|
47405
47858
|
* @description - tax id
|
|
47406
47859
|
* - visible when supplier is not resident
|
|
47407
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
47860
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
47408
47861
|
*/
|
|
47409
47862
|
tax?: string;
|
|
47410
47863
|
/**
|
|
@@ -47480,7 +47933,7 @@ export interface components {
|
|
|
47480
47933
|
/**
|
|
47481
47934
|
* Taxes
|
|
47482
47935
|
* @description - visible when supplier is resident
|
|
47483
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
47936
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
47484
47937
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals purchase
|
|
47485
47938
|
*/
|
|
47486
47939
|
taxes: string[];
|
|
@@ -47559,7 +48012,7 @@ export interface components {
|
|
|
47559
48012
|
/**
|
|
47560
48013
|
* Taxes
|
|
47561
48014
|
* @description - visible when supplier is resident
|
|
47562
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
48015
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
47563
48016
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals purchase
|
|
47564
48017
|
*/
|
|
47565
48018
|
taxes: string[];
|
|
@@ -47668,7 +48121,7 @@ export interface components {
|
|
|
47668
48121
|
* Format: uuid
|
|
47669
48122
|
* @description - tax id
|
|
47670
48123
|
* - visible when supplier is not resident
|
|
47671
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
48124
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
47672
48125
|
*/
|
|
47673
48126
|
tax?: string;
|
|
47674
48127
|
/**
|
|
@@ -52229,16 +52682,6 @@ export interface components {
|
|
|
52229
52682
|
* @enum {string}
|
|
52230
52683
|
*/
|
|
52231
52684
|
CommissionStructureEnum: "fixed" | "tiered" | "product" | "category" | "family" | "brand";
|
|
52232
|
-
/** ItemCategorySummaryInfo */
|
|
52233
|
-
ItemCategorySummaryInfo: {
|
|
52234
|
-
/**
|
|
52235
|
-
* Id
|
|
52236
|
-
* Format: uuid
|
|
52237
|
-
*/
|
|
52238
|
-
id: string;
|
|
52239
|
-
/** Name */
|
|
52240
|
-
name: string;
|
|
52241
|
-
};
|
|
52242
52685
|
/**
|
|
52243
52686
|
* SalesTierType
|
|
52244
52687
|
* @constant
|
|
@@ -53626,6 +54069,49 @@ export interface components {
|
|
|
53626
54069
|
* @default []
|
|
53627
54070
|
*/
|
|
53628
54071
|
taxes: string[];
|
|
54072
|
+
/**
|
|
54073
|
+
* Taxexemptions
|
|
54074
|
+
* @description Per-tax exemption validity/info for this item (hasValidExemption, exemptionPercent, applyExemption)
|
|
54075
|
+
* @default []
|
|
54076
|
+
*/
|
|
54077
|
+
taxExemptions: components["schemas"]["TaxExemptionInfoSchema"][];
|
|
54078
|
+
/**
|
|
54079
|
+
* Exemptionamount
|
|
54080
|
+
* @description Total tax amount exempted for this item
|
|
54081
|
+
*/
|
|
54082
|
+
exemptionAmount?: string | null;
|
|
54083
|
+
/**
|
|
54084
|
+
* Hasstampduty
|
|
54085
|
+
* @description Whether stamp duty is applicable for this item's customer/item scope (based on active stamp-duty TaxRule matching), regardless of the document's applyStampDuty.
|
|
54086
|
+
* @default false
|
|
54087
|
+
*/
|
|
54088
|
+
hasStampDuty: boolean;
|
|
54089
|
+
/**
|
|
54090
|
+
* Applystampduty
|
|
54091
|
+
* @description Whether stamp duty was actually applied to this item (true only when the document's applyStampDuty was requested AND hasStampDuty is true for this item).
|
|
54092
|
+
* @default false
|
|
54093
|
+
*/
|
|
54094
|
+
applyStampDuty: boolean;
|
|
54095
|
+
/**
|
|
54096
|
+
* Stampdutychargebearer
|
|
54097
|
+
* @description Who bears the stamp duty charge (only 'customer' is currently supported); null when not applicable.
|
|
54098
|
+
*/
|
|
54099
|
+
stampDutyChargeBearer?: string | null;
|
|
54100
|
+
/**
|
|
54101
|
+
* Stampdutyamount
|
|
54102
|
+
* @description Stamp duty amount for this item in document/customer currency
|
|
54103
|
+
*/
|
|
54104
|
+
stampDutyAmount?: string | null;
|
|
54105
|
+
/**
|
|
54106
|
+
* Secondarystampdutyamount
|
|
54107
|
+
* @description Stamp duty amount for this item in secondary (USD) currency
|
|
54108
|
+
*/
|
|
54109
|
+
secondaryStampDutyAmount?: string | null;
|
|
54110
|
+
/**
|
|
54111
|
+
* Companystampdutyamount
|
|
54112
|
+
* @description Stamp duty amount for this item in company currency
|
|
54113
|
+
*/
|
|
54114
|
+
companyStampDutyAmount?: string | null;
|
|
53629
54115
|
/**
|
|
53630
54116
|
* Subtotal
|
|
53631
54117
|
* @description This field represents gross subtotal for the item
|
|
@@ -53769,9 +54255,61 @@ export interface components {
|
|
|
53769
54255
|
* @description Total line item discount amount in company currency
|
|
53770
54256
|
*/
|
|
53771
54257
|
companyLineDiscountAmount?: string | null;
|
|
54258
|
+
/**
|
|
54259
|
+
* Hasstampduty
|
|
54260
|
+
* @description Whether stamp duty is applicable for at least one line item's customer/item scope (based on active stamp-duty TaxRule matching), regardless of applyStampDuty.
|
|
54261
|
+
* @default false
|
|
54262
|
+
*/
|
|
54263
|
+
hasStampDuty: boolean;
|
|
54264
|
+
/**
|
|
54265
|
+
* Applystampduty
|
|
54266
|
+
* @description Whether stamp duty was actually applied to at least one line item (true only when applyStampDuty was requested AND hasStampDuty is true for that item). Amounts below are aggregated from the per-item stampDutyAmount fields (see items[].stampDutyAmount).
|
|
54267
|
+
* @default false
|
|
54268
|
+
*/
|
|
54269
|
+
applyStampDuty: boolean;
|
|
54270
|
+
/**
|
|
54271
|
+
* Stampdutychargebearer
|
|
54272
|
+
* @description Who bears the stamp duty charge (only 'customer' is currently supported); null when not applicable.
|
|
54273
|
+
*/
|
|
54274
|
+
stampDutyChargeBearer?: string | null;
|
|
54275
|
+
/**
|
|
54276
|
+
* Stampdutyamount
|
|
54277
|
+
* @description Aggregated stamp duty amount (sum of applied line items) in document/customer currency
|
|
54278
|
+
*/
|
|
54279
|
+
stampDutyAmount?: string | null;
|
|
54280
|
+
/**
|
|
54281
|
+
* Secondarystampdutyamount
|
|
54282
|
+
* @description Aggregated stamp duty amount in secondary (USD) currency
|
|
54283
|
+
*/
|
|
54284
|
+
secondaryStampDutyAmount?: string | null;
|
|
54285
|
+
/**
|
|
54286
|
+
* Companystampdutyamount
|
|
54287
|
+
* @description Aggregated stamp duty amount in company currency
|
|
54288
|
+
*/
|
|
54289
|
+
companyStampDutyAmount?: string | null;
|
|
53772
54290
|
/** Items */
|
|
53773
54291
|
items: components["schemas"]["SalesItemTotalCalculated"][];
|
|
53774
54292
|
};
|
|
54293
|
+
/** TaxExemptionInfoSchema */
|
|
54294
|
+
TaxExemptionInfoSchema: {
|
|
54295
|
+
/**
|
|
54296
|
+
* Tax
|
|
54297
|
+
* Format: uuid
|
|
54298
|
+
*/
|
|
54299
|
+
tax: string;
|
|
54300
|
+
/**
|
|
54301
|
+
* Hasvalidexemption
|
|
54302
|
+
* @default false
|
|
54303
|
+
*/
|
|
54304
|
+
hasValidExemption: boolean;
|
|
54305
|
+
/** Exemptionpercent */
|
|
54306
|
+
exemptionPercent?: number | null;
|
|
54307
|
+
/**
|
|
54308
|
+
* Applyexemption
|
|
54309
|
+
* @default false
|
|
54310
|
+
*/
|
|
54311
|
+
applyExemption: boolean;
|
|
54312
|
+
};
|
|
53775
54313
|
/** SalesItemTotal */
|
|
53776
54314
|
SalesItemTotal: {
|
|
53777
54315
|
/**
|
|
@@ -53804,7 +54342,7 @@ export interface components {
|
|
|
53804
54342
|
promotionsAndOffers?: string[];
|
|
53805
54343
|
/**
|
|
53806
54344
|
* Taxes
|
|
53807
|
-
* @description - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
54345
|
+
* @description - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
53808
54346
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals sales
|
|
53809
54347
|
* @default []
|
|
53810
54348
|
*/
|
|
@@ -53815,6 +54353,26 @@ export interface components {
|
|
|
53815
54353
|
* @default false
|
|
53816
54354
|
*/
|
|
53817
54355
|
includeTaxInUnitPrice: boolean;
|
|
54356
|
+
/**
|
|
54357
|
+
* Applyexemption
|
|
54358
|
+
* @description - List of objects, each specifying a tax id and whether to apply its exemption.
|
|
54359
|
+
* - If applyExemption is true for a tax, and a valid (active) TaxRule exists for that tax
|
|
54360
|
+
* matching this item/customer scope, the tax exemption percentage from that rule is
|
|
54361
|
+
* applied, reducing the tax amount calculated for that tax on this item.
|
|
54362
|
+
* @default []
|
|
54363
|
+
*/
|
|
54364
|
+
applyExemption: components["schemas"]["TaxExemptionApplySchema"][];
|
|
54365
|
+
/**
|
|
54366
|
+
* Applystampduty
|
|
54367
|
+
* @description - Stamp duty is not a regular tax: like a tax exemption, it is toggled per line item.
|
|
54368
|
+
* It only checks whether this line item/the document customer are within a valid
|
|
54369
|
+
* (active) stamp-duty TaxRule scope.
|
|
54370
|
+
* - If true AND stamp duty is applicable for this item (hasStampDuty in the response is
|
|
54371
|
+
* true for this item), the response returns this item's stamp duty amount, added to
|
|
54372
|
+
* this item's total and to the document's aggregated totals.
|
|
54373
|
+
* @default false
|
|
54374
|
+
*/
|
|
54375
|
+
applyStampDuty: boolean;
|
|
53818
54376
|
};
|
|
53819
54377
|
/** SalesTotalCalculationRequest */
|
|
53820
54378
|
SalesTotalCalculationRequest: {
|
|
@@ -53847,12 +54405,28 @@ export interface components {
|
|
|
53847
54405
|
* Tax
|
|
53848
54406
|
* Format: uuid
|
|
53849
54407
|
* @description - tax id
|
|
53850
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
54408
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
53851
54409
|
*/
|
|
53852
54410
|
tax?: string;
|
|
53853
54411
|
/** Items */
|
|
53854
54412
|
items: components["schemas"]["SalesItemTotal"][];
|
|
53855
54413
|
};
|
|
54414
|
+
/** TaxExemptionApplySchema */
|
|
54415
|
+
TaxExemptionApplySchema: {
|
|
54416
|
+
/**
|
|
54417
|
+
* Tax
|
|
54418
|
+
* Format: uuid
|
|
54419
|
+
* @description Tax id to apply/skip exemption for
|
|
54420
|
+
*/
|
|
54421
|
+
tax: string;
|
|
54422
|
+
/**
|
|
54423
|
+
* Applyexemption
|
|
54424
|
+
* @description - If true, and a valid (active) TaxRule exists for this tax matching
|
|
54425
|
+
* this item/customer scope, the tax exemption percentage from that rule is applied,
|
|
54426
|
+
* reducing the tax amount calculated for that tax on this item.
|
|
54427
|
+
*/
|
|
54428
|
+
applyExemption: boolean;
|
|
54429
|
+
};
|
|
53856
54430
|
/** CustomerBranchSharedSchema */
|
|
53857
54431
|
CustomerBranchSharedSchema: {
|
|
53858
54432
|
/** Id */
|
|
@@ -54319,7 +54893,7 @@ export interface components {
|
|
|
54319
54893
|
/**
|
|
54320
54894
|
* Taxes
|
|
54321
54895
|
* @description - visible when customer is resident
|
|
54322
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
54896
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
54323
54897
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals sales
|
|
54324
54898
|
* @default []
|
|
54325
54899
|
*/
|
|
@@ -54439,7 +55013,7 @@ export interface components {
|
|
|
54439
55013
|
* Format: uuid
|
|
54440
55014
|
* @description - tax id
|
|
54441
55015
|
* - visible when customer is not resident
|
|
54442
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
55016
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
54443
55017
|
*/
|
|
54444
55018
|
tax?: string;
|
|
54445
55019
|
/** Items */
|
|
@@ -56855,7 +57429,7 @@ export interface components {
|
|
|
56855
57429
|
/**
|
|
56856
57430
|
* Taxes
|
|
56857
57431
|
* @description - visible when customer is resident
|
|
56858
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
57432
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
56859
57433
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals sales
|
|
56860
57434
|
* @default []
|
|
56861
57435
|
*/
|
|
@@ -56993,7 +57567,7 @@ export interface components {
|
|
|
56993
57567
|
* Format: uuid
|
|
56994
57568
|
* @description - tax id
|
|
56995
57569
|
* - visible when customer is not resident
|
|
56996
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
57570
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
56997
57571
|
*/
|
|
56998
57572
|
tax?: string;
|
|
56999
57573
|
/**
|
|
@@ -59033,6 +59607,65 @@ export interface components {
|
|
|
59033
59607
|
* @default 0
|
|
59034
59608
|
*/
|
|
59035
59609
|
companyTaxAmount: string;
|
|
59610
|
+
/**
|
|
59611
|
+
* Exemptionamount
|
|
59612
|
+
* @description This field is a number representing the total tax amount exempted for the item.
|
|
59613
|
+
* @default 0
|
|
59614
|
+
*/
|
|
59615
|
+
exemptionAmount: string;
|
|
59616
|
+
/**
|
|
59617
|
+
* Secondaryexemptionamount
|
|
59618
|
+
* @description This field is a number representing the total tax amount exempted in USD.
|
|
59619
|
+
* @default 0
|
|
59620
|
+
*/
|
|
59621
|
+
secondaryExemptionAmount: string;
|
|
59622
|
+
/**
|
|
59623
|
+
* Companyexemptionamount
|
|
59624
|
+
* @description This field is a number representing the total tax amount exempted in the company's currency.
|
|
59625
|
+
* @default 0
|
|
59626
|
+
*/
|
|
59627
|
+
companyExemptionAmount: string;
|
|
59628
|
+
/**
|
|
59629
|
+
* Appliedexemptions
|
|
59630
|
+
* @description Per-tax exemption info that was applied when the item was last calculated/saved
|
|
59631
|
+
* @default []
|
|
59632
|
+
*/
|
|
59633
|
+
appliedExemptions: components["schemas"]["TaxExemptionInfoSchema"][] | null;
|
|
59634
|
+
/**
|
|
59635
|
+
* Hasstampduty
|
|
59636
|
+
* @description Whether stamp duty is applicable for this item's customer/item scope (based on active stamp-duty TaxRule matching)
|
|
59637
|
+
* @default false
|
|
59638
|
+
*/
|
|
59639
|
+
hasStampDuty: boolean;
|
|
59640
|
+
/**
|
|
59641
|
+
* Appliedstampduties
|
|
59642
|
+
* @description List of stamp duty tax ids that were applied to this item
|
|
59643
|
+
* @default []
|
|
59644
|
+
*/
|
|
59645
|
+
appliedStampDuties: components["schemas"]["TaxSharedSchema"][];
|
|
59646
|
+
/**
|
|
59647
|
+
* Stampdutychargebearer
|
|
59648
|
+
* @description Who bears the stamp duty charge (only 'customer' is currently supported); null when not applicable.
|
|
59649
|
+
*/
|
|
59650
|
+
stampDutyChargeBearer?: string | null;
|
|
59651
|
+
/**
|
|
59652
|
+
* Stampdutyamount
|
|
59653
|
+
* @description Stamp duty amount for this item in document/customer currency
|
|
59654
|
+
* @default 0
|
|
59655
|
+
*/
|
|
59656
|
+
stampDutyAmount: string;
|
|
59657
|
+
/**
|
|
59658
|
+
* Secondarystampdutyamount
|
|
59659
|
+
* @description Stamp duty amount for this item in secondary (USD) currency
|
|
59660
|
+
* @default 0
|
|
59661
|
+
*/
|
|
59662
|
+
secondaryStampDutyAmount: string;
|
|
59663
|
+
/**
|
|
59664
|
+
* Companystampdutyamount
|
|
59665
|
+
* @description Stamp duty amount for this item in company currency
|
|
59666
|
+
* @default 0
|
|
59667
|
+
*/
|
|
59668
|
+
companyStampDutyAmount: string;
|
|
59036
59669
|
/**
|
|
59037
59670
|
* Total
|
|
59038
59671
|
* @description This field is a number representing grand total for the item.
|
|
@@ -59471,7 +60104,7 @@ export interface components {
|
|
|
59471
60104
|
/**
|
|
59472
60105
|
* Taxes
|
|
59473
60106
|
* @description - visible when customer is resident
|
|
59474
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
60107
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
59475
60108
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals sales
|
|
59476
60109
|
* @default []
|
|
59477
60110
|
*/
|
|
@@ -59482,6 +60115,12 @@ export interface components {
|
|
|
59482
60115
|
* @default false
|
|
59483
60116
|
*/
|
|
59484
60117
|
includeTaxInUnitPrice: boolean;
|
|
60118
|
+
/**
|
|
60119
|
+
* Appliedexemptions
|
|
60120
|
+
* @description List of tax exemption ids to apply for this item
|
|
60121
|
+
* @default []
|
|
60122
|
+
*/
|
|
60123
|
+
appliedExemptions: string[];
|
|
59485
60124
|
/**
|
|
59486
60125
|
* Dimensionallocations
|
|
59487
60126
|
* @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
|
|
@@ -59492,6 +60131,12 @@ export interface components {
|
|
|
59492
60131
|
* `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
|
|
59493
60132
|
*/
|
|
59494
60133
|
dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
|
|
60134
|
+
/**
|
|
60135
|
+
* Appliedstampduties
|
|
60136
|
+
* @description List of stamp duty tax ids to apply for this item
|
|
60137
|
+
* @default []
|
|
60138
|
+
*/
|
|
60139
|
+
appliedStampDuties: string[];
|
|
59495
60140
|
};
|
|
59496
60141
|
/** CreateUpdateSalesInvoiceSchema */
|
|
59497
60142
|
CreateUpdateSalesInvoiceSchema: {
|
|
@@ -59690,7 +60335,7 @@ export interface components {
|
|
|
59690
60335
|
* Format: uuid
|
|
59691
60336
|
* @description - tax id
|
|
59692
60337
|
* - visible when customer is not resident
|
|
59693
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
60338
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
59694
60339
|
*/
|
|
59695
60340
|
tax?: string;
|
|
59696
60341
|
/** @default net30Days */
|
|
@@ -62757,6 +63402,12 @@ export interface components {
|
|
|
62757
63402
|
* @description Quantity ordered from the linked sales or purchase document, when applicable.
|
|
62758
63403
|
*/
|
|
62759
63404
|
quantityOrdered?: number | null;
|
|
63405
|
+
/**
|
|
63406
|
+
* Quantityalreadyprocessed
|
|
63407
|
+
* @description Quantity already fulfilled on other submitted movements for this line (same item key for goods delivery/receipt, or same source line for returns).
|
|
63408
|
+
* @default 0
|
|
63409
|
+
*/
|
|
63410
|
+
quantityAlreadyProcessed: number | null;
|
|
62760
63411
|
/**
|
|
62761
63412
|
* Stockstatus
|
|
62762
63413
|
* @description Stock status for salesReturn lines: available, disposal, or quarantine.
|
|
@@ -63033,20 +63684,25 @@ export interface components {
|
|
|
63033
63684
|
*/
|
|
63034
63685
|
id: string;
|
|
63035
63686
|
/**
|
|
63036
|
-
*
|
|
63687
|
+
* Remainingquantity
|
|
63037
63688
|
* @description Remaining quantity that can be moved on this source line.
|
|
63038
63689
|
*/
|
|
63039
|
-
|
|
63690
|
+
remainingQuantity: number;
|
|
63040
63691
|
/**
|
|
63041
63692
|
* Sourcequantity
|
|
63042
63693
|
* @description Original quantity on the source document line.
|
|
63043
63694
|
*/
|
|
63044
63695
|
sourceQuantity: number;
|
|
63045
63696
|
/**
|
|
63046
|
-
*
|
|
63047
|
-
* @description
|
|
63697
|
+
* Quantityalreadyprocessed
|
|
63698
|
+
* @description Quantity already fulfilled on other submitted movements (delivered, received, or returned, depending on movement type).
|
|
63048
63699
|
*/
|
|
63049
|
-
|
|
63700
|
+
quantityAlreadyProcessed: number;
|
|
63701
|
+
/**
|
|
63702
|
+
* Goodsnotequantity
|
|
63703
|
+
* @description Returns only: quantity fulfilled on the source document through goods delivery or goods receipt (the inventory movement cap for returns on this line).
|
|
63704
|
+
*/
|
|
63705
|
+
goodsNoteQuantity?: number | null;
|
|
63050
63706
|
/** @description Item on the source document line. */
|
|
63051
63707
|
item?: components["schemas"]["ItemSharedSchema"] | null;
|
|
63052
63708
|
/** @description Item package on the source return line. */
|
|
@@ -86287,23 +86943,196 @@ export interface operations {
|
|
|
86287
86943
|
};
|
|
86288
86944
|
};
|
|
86289
86945
|
};
|
|
86290
|
-
erp_settings_approval_settings_views_create_approval_condition: {
|
|
86946
|
+
erp_settings_approval_settings_views_create_approval_condition: {
|
|
86947
|
+
parameters: {
|
|
86948
|
+
query: {
|
|
86949
|
+
documentName: string;
|
|
86950
|
+
};
|
|
86951
|
+
header?: never;
|
|
86952
|
+
path?: never;
|
|
86953
|
+
cookie?: never;
|
|
86954
|
+
};
|
|
86955
|
+
requestBody: {
|
|
86956
|
+
content: {
|
|
86957
|
+
"application/json": components["schemas"]["CreateApprovalCondition"];
|
|
86958
|
+
};
|
|
86959
|
+
};
|
|
86960
|
+
responses: {
|
|
86961
|
+
/** @description Created */
|
|
86962
|
+
201: {
|
|
86963
|
+
headers: {
|
|
86964
|
+
[name: string]: unknown;
|
|
86965
|
+
};
|
|
86966
|
+
content: {
|
|
86967
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
86968
|
+
};
|
|
86969
|
+
};
|
|
86970
|
+
/** @description Bad Request */
|
|
86971
|
+
400: {
|
|
86972
|
+
headers: {
|
|
86973
|
+
[name: string]: unknown;
|
|
86974
|
+
};
|
|
86975
|
+
content: {
|
|
86976
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
86977
|
+
};
|
|
86978
|
+
};
|
|
86979
|
+
/** @description Forbidden */
|
|
86980
|
+
403: {
|
|
86981
|
+
headers: {
|
|
86982
|
+
[name: string]: unknown;
|
|
86983
|
+
};
|
|
86984
|
+
content: {
|
|
86985
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
86986
|
+
};
|
|
86987
|
+
};
|
|
86988
|
+
/** @description Internal Server Error */
|
|
86989
|
+
500: {
|
|
86990
|
+
headers: {
|
|
86991
|
+
[name: string]: unknown;
|
|
86992
|
+
};
|
|
86993
|
+
content: {
|
|
86994
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
86995
|
+
};
|
|
86996
|
+
};
|
|
86997
|
+
};
|
|
86998
|
+
};
|
|
86999
|
+
erp_settings_approval_settings_views_get_approval_conditions: {
|
|
87000
|
+
parameters: {
|
|
87001
|
+
query: {
|
|
87002
|
+
documentName: string;
|
|
87003
|
+
};
|
|
87004
|
+
header?: never;
|
|
87005
|
+
path?: never;
|
|
87006
|
+
cookie?: never;
|
|
87007
|
+
};
|
|
87008
|
+
requestBody?: never;
|
|
87009
|
+
responses: {
|
|
87010
|
+
/** @description OK */
|
|
87011
|
+
200: {
|
|
87012
|
+
headers: {
|
|
87013
|
+
[name: string]: unknown;
|
|
87014
|
+
};
|
|
87015
|
+
content: {
|
|
87016
|
+
"application/json": components["schemas"]["ApprovalConditionResponse"][];
|
|
87017
|
+
};
|
|
87018
|
+
};
|
|
87019
|
+
/** @description Bad Request */
|
|
87020
|
+
400: {
|
|
87021
|
+
headers: {
|
|
87022
|
+
[name: string]: unknown;
|
|
87023
|
+
};
|
|
87024
|
+
content: {
|
|
87025
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
87026
|
+
};
|
|
87027
|
+
};
|
|
87028
|
+
/** @description Forbidden */
|
|
87029
|
+
403: {
|
|
87030
|
+
headers: {
|
|
87031
|
+
[name: string]: unknown;
|
|
87032
|
+
};
|
|
87033
|
+
content: {
|
|
87034
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
87035
|
+
};
|
|
87036
|
+
};
|
|
87037
|
+
/** @description Not Found */
|
|
87038
|
+
404: {
|
|
87039
|
+
headers: {
|
|
87040
|
+
[name: string]: unknown;
|
|
87041
|
+
};
|
|
87042
|
+
content: {
|
|
87043
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
87044
|
+
};
|
|
87045
|
+
};
|
|
87046
|
+
/** @description Internal Server Error */
|
|
87047
|
+
500: {
|
|
87048
|
+
headers: {
|
|
87049
|
+
[name: string]: unknown;
|
|
87050
|
+
};
|
|
87051
|
+
content: {
|
|
87052
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
87053
|
+
};
|
|
87054
|
+
};
|
|
87055
|
+
};
|
|
87056
|
+
};
|
|
87057
|
+
erp_settings_approval_settings_views_get_approval_condition: {
|
|
87058
|
+
parameters: {
|
|
87059
|
+
query: {
|
|
87060
|
+
documentName: string;
|
|
87061
|
+
};
|
|
87062
|
+
header?: never;
|
|
87063
|
+
path: {
|
|
87064
|
+
id: number;
|
|
87065
|
+
};
|
|
87066
|
+
cookie?: never;
|
|
87067
|
+
};
|
|
87068
|
+
requestBody?: never;
|
|
87069
|
+
responses: {
|
|
87070
|
+
/** @description OK */
|
|
87071
|
+
200: {
|
|
87072
|
+
headers: {
|
|
87073
|
+
[name: string]: unknown;
|
|
87074
|
+
};
|
|
87075
|
+
content: {
|
|
87076
|
+
"application/json": components["schemas"]["ApprovalConditionResponse"];
|
|
87077
|
+
};
|
|
87078
|
+
};
|
|
87079
|
+
/** @description Bad Request */
|
|
87080
|
+
400: {
|
|
87081
|
+
headers: {
|
|
87082
|
+
[name: string]: unknown;
|
|
87083
|
+
};
|
|
87084
|
+
content: {
|
|
87085
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
87086
|
+
};
|
|
87087
|
+
};
|
|
87088
|
+
/** @description Forbidden */
|
|
87089
|
+
403: {
|
|
87090
|
+
headers: {
|
|
87091
|
+
[name: string]: unknown;
|
|
87092
|
+
};
|
|
87093
|
+
content: {
|
|
87094
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
87095
|
+
};
|
|
87096
|
+
};
|
|
87097
|
+
/** @description Not Found */
|
|
87098
|
+
404: {
|
|
87099
|
+
headers: {
|
|
87100
|
+
[name: string]: unknown;
|
|
87101
|
+
};
|
|
87102
|
+
content: {
|
|
87103
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
87104
|
+
};
|
|
87105
|
+
};
|
|
87106
|
+
/** @description Internal Server Error */
|
|
87107
|
+
500: {
|
|
87108
|
+
headers: {
|
|
87109
|
+
[name: string]: unknown;
|
|
87110
|
+
};
|
|
87111
|
+
content: {
|
|
87112
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
87113
|
+
};
|
|
87114
|
+
};
|
|
87115
|
+
};
|
|
87116
|
+
};
|
|
87117
|
+
erp_settings_approval_settings_views_update_approval_condition: {
|
|
86291
87118
|
parameters: {
|
|
86292
87119
|
query: {
|
|
86293
87120
|
documentName: string;
|
|
86294
87121
|
};
|
|
86295
87122
|
header?: never;
|
|
86296
|
-
path
|
|
87123
|
+
path: {
|
|
87124
|
+
id: number;
|
|
87125
|
+
};
|
|
86297
87126
|
cookie?: never;
|
|
86298
87127
|
};
|
|
86299
87128
|
requestBody: {
|
|
86300
87129
|
content: {
|
|
86301
|
-
"application/json": components["schemas"]["
|
|
87130
|
+
"application/json": components["schemas"]["UpdateApprovalCondition"];
|
|
86302
87131
|
};
|
|
86303
87132
|
};
|
|
86304
87133
|
responses: {
|
|
86305
|
-
/** @description
|
|
86306
|
-
|
|
87134
|
+
/** @description OK */
|
|
87135
|
+
200: {
|
|
86307
87136
|
headers: {
|
|
86308
87137
|
[name: string]: unknown;
|
|
86309
87138
|
};
|
|
@@ -86329,6 +87158,15 @@ export interface operations {
|
|
|
86329
87158
|
"application/json": components["schemas"]["MessageWithCode"];
|
|
86330
87159
|
};
|
|
86331
87160
|
};
|
|
87161
|
+
/** @description Not Found */
|
|
87162
|
+
404: {
|
|
87163
|
+
headers: {
|
|
87164
|
+
[name: string]: unknown;
|
|
87165
|
+
};
|
|
87166
|
+
content: {
|
|
87167
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
87168
|
+
};
|
|
87169
|
+
};
|
|
86332
87170
|
/** @description Internal Server Error */
|
|
86333
87171
|
500: {
|
|
86334
87172
|
headers: {
|
|
@@ -86340,34 +87178,25 @@ export interface operations {
|
|
|
86340
87178
|
};
|
|
86341
87179
|
};
|
|
86342
87180
|
};
|
|
86343
|
-
|
|
87181
|
+
erp_settings_approval_settings_views_delete_approval_condition: {
|
|
86344
87182
|
parameters: {
|
|
86345
87183
|
query: {
|
|
86346
87184
|
documentName: string;
|
|
86347
87185
|
};
|
|
86348
87186
|
header?: never;
|
|
86349
|
-
path
|
|
87187
|
+
path: {
|
|
87188
|
+
id: number;
|
|
87189
|
+
};
|
|
86350
87190
|
cookie?: never;
|
|
86351
87191
|
};
|
|
86352
87192
|
requestBody?: never;
|
|
86353
87193
|
responses: {
|
|
86354
|
-
/** @description
|
|
86355
|
-
|
|
86356
|
-
headers: {
|
|
86357
|
-
[name: string]: unknown;
|
|
86358
|
-
};
|
|
86359
|
-
content: {
|
|
86360
|
-
"application/json": components["schemas"]["ApprovalConditionResponse"][];
|
|
86361
|
-
};
|
|
86362
|
-
};
|
|
86363
|
-
/** @description Bad Request */
|
|
86364
|
-
400: {
|
|
87194
|
+
/** @description No Content */
|
|
87195
|
+
204: {
|
|
86365
87196
|
headers: {
|
|
86366
87197
|
[name: string]: unknown;
|
|
86367
87198
|
};
|
|
86368
|
-
content
|
|
86369
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
86370
|
-
};
|
|
87199
|
+
content?: never;
|
|
86371
87200
|
};
|
|
86372
87201
|
/** @description Forbidden */
|
|
86373
87202
|
403: {
|
|
@@ -86398,14 +87227,12 @@ export interface operations {
|
|
|
86398
87227
|
};
|
|
86399
87228
|
};
|
|
86400
87229
|
};
|
|
86401
|
-
|
|
87230
|
+
erp_settings_approval_settings_views_get_model_fields_and_related: {
|
|
86402
87231
|
parameters: {
|
|
86403
|
-
query
|
|
86404
|
-
documentName: string;
|
|
86405
|
-
};
|
|
87232
|
+
query?: never;
|
|
86406
87233
|
header?: never;
|
|
86407
87234
|
path: {
|
|
86408
|
-
|
|
87235
|
+
modelName: string;
|
|
86409
87236
|
};
|
|
86410
87237
|
cookie?: never;
|
|
86411
87238
|
};
|
|
@@ -86417,7 +87244,7 @@ export interface operations {
|
|
|
86417
87244
|
[name: string]: unknown;
|
|
86418
87245
|
};
|
|
86419
87246
|
content: {
|
|
86420
|
-
"application/json": components["schemas"]["
|
|
87247
|
+
"application/json": components["schemas"]["ModelFieldResponse"][];
|
|
86421
87248
|
};
|
|
86422
87249
|
};
|
|
86423
87250
|
/** @description Bad Request */
|
|
@@ -86458,22 +87285,21 @@ export interface operations {
|
|
|
86458
87285
|
};
|
|
86459
87286
|
};
|
|
86460
87287
|
};
|
|
86461
|
-
|
|
87288
|
+
erp_settings_approval_settings_views_get_model_records: {
|
|
86462
87289
|
parameters: {
|
|
86463
|
-
query
|
|
86464
|
-
|
|
87290
|
+
query?: {
|
|
87291
|
+
/** @description Page number */
|
|
87292
|
+
page?: number;
|
|
87293
|
+
/** @description Page size */
|
|
87294
|
+
pageSize?: number;
|
|
86465
87295
|
};
|
|
86466
87296
|
header?: never;
|
|
86467
87297
|
path: {
|
|
86468
|
-
|
|
87298
|
+
modelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
|
|
86469
87299
|
};
|
|
86470
87300
|
cookie?: never;
|
|
86471
87301
|
};
|
|
86472
|
-
requestBody
|
|
86473
|
-
content: {
|
|
86474
|
-
"application/json": components["schemas"]["UpdateApprovalCondition"];
|
|
86475
|
-
};
|
|
86476
|
-
};
|
|
87302
|
+
requestBody?: never;
|
|
86477
87303
|
responses: {
|
|
86478
87304
|
/** @description OK */
|
|
86479
87305
|
200: {
|
|
@@ -86481,7 +87307,7 @@ export interface operations {
|
|
|
86481
87307
|
[name: string]: unknown;
|
|
86482
87308
|
};
|
|
86483
87309
|
content: {
|
|
86484
|
-
"application/json": components["schemas"]["
|
|
87310
|
+
"application/json": components["schemas"]["ListModelRecordResponse"];
|
|
86485
87311
|
};
|
|
86486
87312
|
};
|
|
86487
87313
|
/** @description Bad Request */
|
|
@@ -86522,25 +87348,32 @@ export interface operations {
|
|
|
86522
87348
|
};
|
|
86523
87349
|
};
|
|
86524
87350
|
};
|
|
86525
|
-
|
|
87351
|
+
erp_settings_accountingsetting_financial_periods_views_get_financial_periods: {
|
|
86526
87352
|
parameters: {
|
|
86527
|
-
query
|
|
86528
|
-
documentName: string;
|
|
86529
|
-
};
|
|
87353
|
+
query?: never;
|
|
86530
87354
|
header?: never;
|
|
86531
|
-
path
|
|
86532
|
-
id: number;
|
|
86533
|
-
};
|
|
87355
|
+
path?: never;
|
|
86534
87356
|
cookie?: never;
|
|
86535
87357
|
};
|
|
86536
87358
|
requestBody?: never;
|
|
86537
87359
|
responses: {
|
|
86538
|
-
/** @description
|
|
86539
|
-
|
|
87360
|
+
/** @description OK */
|
|
87361
|
+
200: {
|
|
86540
87362
|
headers: {
|
|
86541
87363
|
[name: string]: unknown;
|
|
86542
87364
|
};
|
|
86543
|
-
content
|
|
87365
|
+
content: {
|
|
87366
|
+
"application/json": components["schemas"]["RetrieveFinancialPeriods"];
|
|
87367
|
+
};
|
|
87368
|
+
};
|
|
87369
|
+
/** @description Bad Request */
|
|
87370
|
+
400: {
|
|
87371
|
+
headers: {
|
|
87372
|
+
[name: string]: unknown;
|
|
87373
|
+
};
|
|
87374
|
+
content: {
|
|
87375
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
87376
|
+
};
|
|
86544
87377
|
};
|
|
86545
87378
|
/** @description Forbidden */
|
|
86546
87379
|
403: {
|
|
@@ -86548,7 +87381,7 @@ export interface operations {
|
|
|
86548
87381
|
[name: string]: unknown;
|
|
86549
87382
|
};
|
|
86550
87383
|
content: {
|
|
86551
|
-
"application/json": components["schemas"]["
|
|
87384
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
86552
87385
|
};
|
|
86553
87386
|
};
|
|
86554
87387
|
/** @description Not Found */
|
|
@@ -86557,7 +87390,7 @@ export interface operations {
|
|
|
86557
87390
|
[name: string]: unknown;
|
|
86558
87391
|
};
|
|
86559
87392
|
content: {
|
|
86560
|
-
"application/json": components["schemas"]["
|
|
87393
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
86561
87394
|
};
|
|
86562
87395
|
};
|
|
86563
87396
|
/** @description Internal Server Error */
|
|
@@ -86566,29 +87399,31 @@ export interface operations {
|
|
|
86566
87399
|
[name: string]: unknown;
|
|
86567
87400
|
};
|
|
86568
87401
|
content: {
|
|
86569
|
-
"application/json": components["schemas"]["
|
|
87402
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
86570
87403
|
};
|
|
86571
87404
|
};
|
|
86572
87405
|
};
|
|
86573
87406
|
};
|
|
86574
|
-
|
|
87407
|
+
erp_settings_accountingsetting_financial_periods_views_create_financial_periods: {
|
|
86575
87408
|
parameters: {
|
|
86576
87409
|
query?: never;
|
|
86577
87410
|
header?: never;
|
|
86578
|
-
path
|
|
86579
|
-
modelName: string;
|
|
86580
|
-
};
|
|
87411
|
+
path?: never;
|
|
86581
87412
|
cookie?: never;
|
|
86582
87413
|
};
|
|
86583
|
-
requestBody
|
|
87414
|
+
requestBody: {
|
|
87415
|
+
content: {
|
|
87416
|
+
"application/json": components["schemas"]["CreateFinancialPeriods"];
|
|
87417
|
+
};
|
|
87418
|
+
};
|
|
86584
87419
|
responses: {
|
|
86585
|
-
/** @description
|
|
86586
|
-
|
|
87420
|
+
/** @description Created */
|
|
87421
|
+
201: {
|
|
86587
87422
|
headers: {
|
|
86588
87423
|
[name: string]: unknown;
|
|
86589
87424
|
};
|
|
86590
87425
|
content: {
|
|
86591
|
-
"application/json": components["schemas"]["
|
|
87426
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
86592
87427
|
};
|
|
86593
87428
|
};
|
|
86594
87429
|
/** @description Bad Request */
|
|
@@ -86606,16 +87441,7 @@ export interface operations {
|
|
|
86606
87441
|
[name: string]: unknown;
|
|
86607
87442
|
};
|
|
86608
87443
|
content: {
|
|
86609
|
-
"application/json": components["schemas"]["
|
|
86610
|
-
};
|
|
86611
|
-
};
|
|
86612
|
-
/** @description Not Found */
|
|
86613
|
-
404: {
|
|
86614
|
-
headers: {
|
|
86615
|
-
[name: string]: unknown;
|
|
86616
|
-
};
|
|
86617
|
-
content: {
|
|
86618
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
87444
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
86619
87445
|
};
|
|
86620
87446
|
};
|
|
86621
87447
|
/** @description Internal Server Error */
|
|
@@ -86624,26 +87450,23 @@ export interface operations {
|
|
|
86624
87450
|
[name: string]: unknown;
|
|
86625
87451
|
};
|
|
86626
87452
|
content: {
|
|
86627
|
-
"application/json": components["schemas"]["
|
|
87453
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
86628
87454
|
};
|
|
86629
87455
|
};
|
|
86630
87456
|
};
|
|
86631
87457
|
};
|
|
86632
|
-
|
|
87458
|
+
erp_settings_accountingsetting_financial_periods_views_update_financial_periods: {
|
|
86633
87459
|
parameters: {
|
|
86634
|
-
query?:
|
|
86635
|
-
/** @description Page number */
|
|
86636
|
-
page?: number;
|
|
86637
|
-
/** @description Page size */
|
|
86638
|
-
pageSize?: number;
|
|
86639
|
-
};
|
|
87460
|
+
query?: never;
|
|
86640
87461
|
header?: never;
|
|
86641
|
-
path
|
|
86642
|
-
modelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
|
|
86643
|
-
};
|
|
87462
|
+
path?: never;
|
|
86644
87463
|
cookie?: never;
|
|
86645
87464
|
};
|
|
86646
|
-
requestBody
|
|
87465
|
+
requestBody: {
|
|
87466
|
+
content: {
|
|
87467
|
+
"application/json": components["schemas"]["UpdateFinancialPeriods"];
|
|
87468
|
+
};
|
|
87469
|
+
};
|
|
86647
87470
|
responses: {
|
|
86648
87471
|
/** @description OK */
|
|
86649
87472
|
200: {
|
|
@@ -86651,7 +87474,7 @@ export interface operations {
|
|
|
86651
87474
|
[name: string]: unknown;
|
|
86652
87475
|
};
|
|
86653
87476
|
content: {
|
|
86654
|
-
"application/json": components["schemas"]["
|
|
87477
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
86655
87478
|
};
|
|
86656
87479
|
};
|
|
86657
87480
|
/** @description Bad Request */
|
|
@@ -86669,7 +87492,7 @@ export interface operations {
|
|
|
86669
87492
|
[name: string]: unknown;
|
|
86670
87493
|
};
|
|
86671
87494
|
content: {
|
|
86672
|
-
"application/json": components["schemas"]["
|
|
87495
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
86673
87496
|
};
|
|
86674
87497
|
};
|
|
86675
87498
|
/** @description Not Found */
|
|
@@ -86678,7 +87501,7 @@ export interface operations {
|
|
|
86678
87501
|
[name: string]: unknown;
|
|
86679
87502
|
};
|
|
86680
87503
|
content: {
|
|
86681
|
-
"application/json": components["schemas"]["
|
|
87504
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
86682
87505
|
};
|
|
86683
87506
|
};
|
|
86684
87507
|
/** @description Internal Server Error */
|
|
@@ -86687,12 +87510,12 @@ export interface operations {
|
|
|
86687
87510
|
[name: string]: unknown;
|
|
86688
87511
|
};
|
|
86689
87512
|
content: {
|
|
86690
|
-
"application/json": components["schemas"]["
|
|
87513
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
86691
87514
|
};
|
|
86692
87515
|
};
|
|
86693
87516
|
};
|
|
86694
87517
|
};
|
|
86695
|
-
|
|
87518
|
+
erp_settings_accountingsetting_general_accounts_views_get_default_general_accounts_fields: {
|
|
86696
87519
|
parameters: {
|
|
86697
87520
|
query?: never;
|
|
86698
87521
|
header?: never;
|
|
@@ -86707,16 +87530,56 @@ export interface operations {
|
|
|
86707
87530
|
[name: string]: unknown;
|
|
86708
87531
|
};
|
|
86709
87532
|
content: {
|
|
86710
|
-
"application/json":
|
|
87533
|
+
"application/json": {
|
|
87534
|
+
[key: string]: string[];
|
|
87535
|
+
};
|
|
86711
87536
|
};
|
|
86712
87537
|
};
|
|
86713
|
-
/** @description
|
|
86714
|
-
|
|
87538
|
+
/** @description Forbidden */
|
|
87539
|
+
403: {
|
|
86715
87540
|
headers: {
|
|
86716
87541
|
[name: string]: unknown;
|
|
86717
87542
|
};
|
|
86718
87543
|
content: {
|
|
86719
|
-
"application/json": components["schemas"]["
|
|
87544
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87545
|
+
};
|
|
87546
|
+
};
|
|
87547
|
+
/** @description Not Found */
|
|
87548
|
+
404: {
|
|
87549
|
+
headers: {
|
|
87550
|
+
[name: string]: unknown;
|
|
87551
|
+
};
|
|
87552
|
+
content: {
|
|
87553
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87554
|
+
};
|
|
87555
|
+
};
|
|
87556
|
+
/** @description Internal Server Error */
|
|
87557
|
+
500: {
|
|
87558
|
+
headers: {
|
|
87559
|
+
[name: string]: unknown;
|
|
87560
|
+
};
|
|
87561
|
+
content: {
|
|
87562
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87563
|
+
};
|
|
87564
|
+
};
|
|
87565
|
+
};
|
|
87566
|
+
};
|
|
87567
|
+
erp_settings_accountingsetting_views_get_default_general_accounts: {
|
|
87568
|
+
parameters: {
|
|
87569
|
+
query?: never;
|
|
87570
|
+
header?: never;
|
|
87571
|
+
path?: never;
|
|
87572
|
+
cookie?: never;
|
|
87573
|
+
};
|
|
87574
|
+
requestBody?: never;
|
|
87575
|
+
responses: {
|
|
87576
|
+
/** @description OK */
|
|
87577
|
+
200: {
|
|
87578
|
+
headers: {
|
|
87579
|
+
[name: string]: unknown;
|
|
87580
|
+
};
|
|
87581
|
+
content: {
|
|
87582
|
+
"application/json": components["schemas"]["RetrieveDefaultGeneralAccountsSchema"];
|
|
86720
87583
|
};
|
|
86721
87584
|
};
|
|
86722
87585
|
/** @description Forbidden */
|
|
@@ -86748,7 +87611,7 @@ export interface operations {
|
|
|
86748
87611
|
};
|
|
86749
87612
|
};
|
|
86750
87613
|
};
|
|
86751
|
-
|
|
87614
|
+
erp_settings_accountingsetting_views_create_default_general_accounts: {
|
|
86752
87615
|
parameters: {
|
|
86753
87616
|
query?: never;
|
|
86754
87617
|
header?: never;
|
|
@@ -86757,7 +87620,7 @@ export interface operations {
|
|
|
86757
87620
|
};
|
|
86758
87621
|
requestBody: {
|
|
86759
87622
|
content: {
|
|
86760
|
-
"application/json": components["schemas"]["
|
|
87623
|
+
"application/json": components["schemas"]["DefaultGeneralAccountsSchema"];
|
|
86761
87624
|
};
|
|
86762
87625
|
};
|
|
86763
87626
|
responses: {
|
|
@@ -86799,7 +87662,7 @@ export interface operations {
|
|
|
86799
87662
|
};
|
|
86800
87663
|
};
|
|
86801
87664
|
};
|
|
86802
|
-
|
|
87665
|
+
erp_settings_accountingsetting_views_update_default_general_accounts: {
|
|
86803
87666
|
parameters: {
|
|
86804
87667
|
query?: never;
|
|
86805
87668
|
header?: never;
|
|
@@ -86808,7 +87671,7 @@ export interface operations {
|
|
|
86808
87671
|
};
|
|
86809
87672
|
requestBody: {
|
|
86810
87673
|
content: {
|
|
86811
|
-
"application/json": components["schemas"]["
|
|
87674
|
+
"application/json": components["schemas"]["DefaultGeneralAccountsSchema"];
|
|
86812
87675
|
};
|
|
86813
87676
|
};
|
|
86814
87677
|
responses: {
|
|
@@ -86859,9 +87722,13 @@ export interface operations {
|
|
|
86859
87722
|
};
|
|
86860
87723
|
};
|
|
86861
87724
|
};
|
|
86862
|
-
|
|
87725
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_get_subsidiary_accounts_fields: {
|
|
86863
87726
|
parameters: {
|
|
86864
|
-
query?:
|
|
87727
|
+
query?: {
|
|
87728
|
+
/** @description feasible if item type is product and u need to filter by specific usage */
|
|
87729
|
+
itemUsage?: "goods" | "raw_material" | "works" | "service" | "wip" | "co_product" | "by_product" | "waste";
|
|
87730
|
+
itemType?: "product" | "service";
|
|
87731
|
+
};
|
|
86865
87732
|
header?: never;
|
|
86866
87733
|
path?: never;
|
|
86867
87734
|
cookie?: never;
|
|
@@ -86879,6 +87746,15 @@ export interface operations {
|
|
|
86879
87746
|
};
|
|
86880
87747
|
};
|
|
86881
87748
|
};
|
|
87749
|
+
/** @description Bad Request */
|
|
87750
|
+
400: {
|
|
87751
|
+
headers: {
|
|
87752
|
+
[name: string]: unknown;
|
|
87753
|
+
};
|
|
87754
|
+
content: {
|
|
87755
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
87756
|
+
};
|
|
87757
|
+
};
|
|
86882
87758
|
/** @description Forbidden */
|
|
86883
87759
|
403: {
|
|
86884
87760
|
headers: {
|
|
@@ -86908,9 +87784,16 @@ export interface operations {
|
|
|
86908
87784
|
};
|
|
86909
87785
|
};
|
|
86910
87786
|
};
|
|
86911
|
-
|
|
87787
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_list_subsidiary_accounts: {
|
|
86912
87788
|
parameters: {
|
|
86913
|
-
query
|
|
87789
|
+
query: {
|
|
87790
|
+
fieldName?: string | null;
|
|
87791
|
+
type: "transactionSubsidiaryAccount" | "accountSettings";
|
|
87792
|
+
/** @description Page number */
|
|
87793
|
+
page?: number;
|
|
87794
|
+
/** @description Page size */
|
|
87795
|
+
pageSize?: number;
|
|
87796
|
+
};
|
|
86914
87797
|
header?: never;
|
|
86915
87798
|
path?: never;
|
|
86916
87799
|
cookie?: never;
|
|
@@ -86923,16 +87806,16 @@ export interface operations {
|
|
|
86923
87806
|
[name: string]: unknown;
|
|
86924
87807
|
};
|
|
86925
87808
|
content: {
|
|
86926
|
-
"application/json": components["schemas"]["
|
|
87809
|
+
"application/json": components["schemas"]["ListChartOfAccount"];
|
|
86927
87810
|
};
|
|
86928
87811
|
};
|
|
86929
|
-
/** @description
|
|
86930
|
-
|
|
87812
|
+
/** @description Bad Request */
|
|
87813
|
+
400: {
|
|
86931
87814
|
headers: {
|
|
86932
87815
|
[name: string]: unknown;
|
|
86933
87816
|
};
|
|
86934
87817
|
content: {
|
|
86935
|
-
"application/json": components["schemas"]["
|
|
87818
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
86936
87819
|
};
|
|
86937
87820
|
};
|
|
86938
87821
|
/** @description Not Found */
|
|
@@ -86955,7 +87838,7 @@ export interface operations {
|
|
|
86955
87838
|
};
|
|
86956
87839
|
};
|
|
86957
87840
|
};
|
|
86958
|
-
|
|
87841
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_create_transactional_subsidiary_accounts: {
|
|
86959
87842
|
parameters: {
|
|
86960
87843
|
query?: never;
|
|
86961
87844
|
header?: never;
|
|
@@ -86964,7 +87847,7 @@ export interface operations {
|
|
|
86964
87847
|
};
|
|
86965
87848
|
requestBody: {
|
|
86966
87849
|
content: {
|
|
86967
|
-
"application/json": components["schemas"]["
|
|
87850
|
+
"application/json": components["schemas"]["CreateTransactionalSubsidiaryAccountsSchema"];
|
|
86968
87851
|
};
|
|
86969
87852
|
};
|
|
86970
87853
|
responses: {
|
|
@@ -86995,6 +87878,15 @@ export interface operations {
|
|
|
86995
87878
|
"application/json": components["schemas"]["MessageResponse"];
|
|
86996
87879
|
};
|
|
86997
87880
|
};
|
|
87881
|
+
/** @description Not Found */
|
|
87882
|
+
404: {
|
|
87883
|
+
headers: {
|
|
87884
|
+
[name: string]: unknown;
|
|
87885
|
+
};
|
|
87886
|
+
content: {
|
|
87887
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87888
|
+
};
|
|
87889
|
+
};
|
|
86998
87890
|
/** @description Internal Server Error */
|
|
86999
87891
|
500: {
|
|
87000
87892
|
headers: {
|
|
@@ -87006,18 +87898,16 @@ export interface operations {
|
|
|
87006
87898
|
};
|
|
87007
87899
|
};
|
|
87008
87900
|
};
|
|
87009
|
-
|
|
87901
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_get_subsidiary_accounts: {
|
|
87010
87902
|
parameters: {
|
|
87011
87903
|
query?: never;
|
|
87012
87904
|
header?: never;
|
|
87013
|
-
path
|
|
87014
|
-
|
|
87015
|
-
};
|
|
87016
|
-
requestBody: {
|
|
87017
|
-
content: {
|
|
87018
|
-
"application/json": components["schemas"]["DefaultGeneralAccountsSchema"];
|
|
87905
|
+
path: {
|
|
87906
|
+
id: number;
|
|
87019
87907
|
};
|
|
87908
|
+
cookie?: never;
|
|
87020
87909
|
};
|
|
87910
|
+
requestBody?: never;
|
|
87021
87911
|
responses: {
|
|
87022
87912
|
/** @description OK */
|
|
87023
87913
|
200: {
|
|
@@ -87025,7 +87915,7 @@ export interface operations {
|
|
|
87025
87915
|
[name: string]: unknown;
|
|
87026
87916
|
};
|
|
87027
87917
|
content: {
|
|
87028
|
-
"application/json": components["schemas"]["
|
|
87918
|
+
"application/json": components["schemas"]["RetrieveTransactionalSubsidiaryAccountsSchema"];
|
|
87029
87919
|
};
|
|
87030
87920
|
};
|
|
87031
87921
|
/** @description Bad Request */
|
|
@@ -87066,18 +87956,76 @@ export interface operations {
|
|
|
87066
87956
|
};
|
|
87067
87957
|
};
|
|
87068
87958
|
};
|
|
87069
|
-
|
|
87959
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_delete_subsidiary_accounts: {
|
|
87070
87960
|
parameters: {
|
|
87071
|
-
query?:
|
|
87072
|
-
/** @description feasible if item type is product and u need to filter by specific usage */
|
|
87073
|
-
itemUsage?: "goods" | "raw_material" | "works" | "service" | "wip" | "co_product" | "by_product" | "waste";
|
|
87074
|
-
itemType?: "product" | "service";
|
|
87075
|
-
};
|
|
87961
|
+
query?: never;
|
|
87076
87962
|
header?: never;
|
|
87077
|
-
path
|
|
87963
|
+
path: {
|
|
87964
|
+
id: number;
|
|
87965
|
+
};
|
|
87078
87966
|
cookie?: never;
|
|
87079
87967
|
};
|
|
87080
87968
|
requestBody?: never;
|
|
87969
|
+
responses: {
|
|
87970
|
+
/** @description No Content */
|
|
87971
|
+
204: {
|
|
87972
|
+
headers: {
|
|
87973
|
+
[name: string]: unknown;
|
|
87974
|
+
};
|
|
87975
|
+
content?: never;
|
|
87976
|
+
};
|
|
87977
|
+
/** @description Bad Request */
|
|
87978
|
+
400: {
|
|
87979
|
+
headers: {
|
|
87980
|
+
[name: string]: unknown;
|
|
87981
|
+
};
|
|
87982
|
+
content: {
|
|
87983
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
87984
|
+
};
|
|
87985
|
+
};
|
|
87986
|
+
/** @description Forbidden */
|
|
87987
|
+
403: {
|
|
87988
|
+
headers: {
|
|
87989
|
+
[name: string]: unknown;
|
|
87990
|
+
};
|
|
87991
|
+
content: {
|
|
87992
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87993
|
+
};
|
|
87994
|
+
};
|
|
87995
|
+
/** @description Not Found */
|
|
87996
|
+
404: {
|
|
87997
|
+
headers: {
|
|
87998
|
+
[name: string]: unknown;
|
|
87999
|
+
};
|
|
88000
|
+
content: {
|
|
88001
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
88002
|
+
};
|
|
88003
|
+
};
|
|
88004
|
+
/** @description Internal Server Error */
|
|
88005
|
+
500: {
|
|
88006
|
+
headers: {
|
|
88007
|
+
[name: string]: unknown;
|
|
88008
|
+
};
|
|
88009
|
+
content: {
|
|
88010
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
88011
|
+
};
|
|
88012
|
+
};
|
|
88013
|
+
};
|
|
88014
|
+
};
|
|
88015
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_update_transactional_subsidiary_accounts: {
|
|
88016
|
+
parameters: {
|
|
88017
|
+
query?: never;
|
|
88018
|
+
header?: never;
|
|
88019
|
+
path: {
|
|
88020
|
+
id: number;
|
|
88021
|
+
};
|
|
88022
|
+
cookie?: never;
|
|
88023
|
+
};
|
|
88024
|
+
requestBody: {
|
|
88025
|
+
content: {
|
|
88026
|
+
"application/json": components["schemas"]["UpdateTransactionalSubsidiaryAccountsSchema"];
|
|
88027
|
+
};
|
|
88028
|
+
};
|
|
87081
88029
|
responses: {
|
|
87082
88030
|
/** @description OK */
|
|
87083
88031
|
200: {
|
|
@@ -87085,9 +88033,7 @@ export interface operations {
|
|
|
87085
88033
|
[name: string]: unknown;
|
|
87086
88034
|
};
|
|
87087
88035
|
content: {
|
|
87088
|
-
"application/json":
|
|
87089
|
-
[key: string]: string[];
|
|
87090
|
-
};
|
|
88036
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87091
88037
|
};
|
|
87092
88038
|
};
|
|
87093
88039
|
/** @description Bad Request */
|
|
@@ -87128,11 +88074,9 @@ export interface operations {
|
|
|
87128
88074
|
};
|
|
87129
88075
|
};
|
|
87130
88076
|
};
|
|
87131
|
-
|
|
88077
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_list_transactional_subsidiary_accounts: {
|
|
87132
88078
|
parameters: {
|
|
87133
|
-
query
|
|
87134
|
-
fieldName?: string | null;
|
|
87135
|
-
type: "transactionSubsidiaryAccount" | "accountSettings";
|
|
88079
|
+
query?: {
|
|
87136
88080
|
/** @description Page number */
|
|
87137
88081
|
page?: number;
|
|
87138
88082
|
/** @description Page size */
|
|
@@ -87150,7 +88094,7 @@ export interface operations {
|
|
|
87150
88094
|
[name: string]: unknown;
|
|
87151
88095
|
};
|
|
87152
88096
|
content: {
|
|
87153
|
-
"application/json": components["schemas"]["
|
|
88097
|
+
"application/json": components["schemas"]["ListTransactionalSubsidiaryAccountsSchema"];
|
|
87154
88098
|
};
|
|
87155
88099
|
};
|
|
87156
88100
|
/** @description Bad Request */
|
|
@@ -87162,6 +88106,15 @@ export interface operations {
|
|
|
87162
88106
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
87163
88107
|
};
|
|
87164
88108
|
};
|
|
88109
|
+
/** @description Forbidden */
|
|
88110
|
+
403: {
|
|
88111
|
+
headers: {
|
|
88112
|
+
[name: string]: unknown;
|
|
88113
|
+
};
|
|
88114
|
+
content: {
|
|
88115
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
88116
|
+
};
|
|
88117
|
+
};
|
|
87165
88118
|
/** @description Not Found */
|
|
87166
88119
|
404: {
|
|
87167
88120
|
headers: {
|
|
@@ -87182,26 +88135,30 @@ export interface operations {
|
|
|
87182
88135
|
};
|
|
87183
88136
|
};
|
|
87184
88137
|
};
|
|
87185
|
-
|
|
88138
|
+
erp_settings_accountingsetting_tax_views_get_tax_accounts_in_dropdown: {
|
|
87186
88139
|
parameters: {
|
|
87187
|
-
query
|
|
88140
|
+
query: {
|
|
88141
|
+
isVat: boolean;
|
|
88142
|
+
/** @example sales */
|
|
88143
|
+
type: string;
|
|
88144
|
+
/** @description Page number */
|
|
88145
|
+
page?: number;
|
|
88146
|
+
/** @description Page size */
|
|
88147
|
+
pageSize?: number;
|
|
88148
|
+
};
|
|
87188
88149
|
header?: never;
|
|
87189
88150
|
path?: never;
|
|
87190
88151
|
cookie?: never;
|
|
87191
88152
|
};
|
|
87192
|
-
requestBody
|
|
87193
|
-
content: {
|
|
87194
|
-
"application/json": components["schemas"]["CreateTransactionalSubsidiaryAccountsSchema"];
|
|
87195
|
-
};
|
|
87196
|
-
};
|
|
88153
|
+
requestBody?: never;
|
|
87197
88154
|
responses: {
|
|
87198
|
-
/** @description
|
|
87199
|
-
|
|
88155
|
+
/** @description OK */
|
|
88156
|
+
200: {
|
|
87200
88157
|
headers: {
|
|
87201
88158
|
[name: string]: unknown;
|
|
87202
88159
|
};
|
|
87203
88160
|
content: {
|
|
87204
|
-
"application/json": components["schemas"]["
|
|
88161
|
+
"application/json": components["schemas"]["AccountPerBranchesInList"];
|
|
87205
88162
|
};
|
|
87206
88163
|
};
|
|
87207
88164
|
/** @description Bad Request */
|
|
@@ -87213,15 +88170,6 @@ export interface operations {
|
|
|
87213
88170
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
87214
88171
|
};
|
|
87215
88172
|
};
|
|
87216
|
-
/** @description Forbidden */
|
|
87217
|
-
403: {
|
|
87218
|
-
headers: {
|
|
87219
|
-
[name: string]: unknown;
|
|
87220
|
-
};
|
|
87221
|
-
content: {
|
|
87222
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
87223
|
-
};
|
|
87224
|
-
};
|
|
87225
88173
|
/** @description Not Found */
|
|
87226
88174
|
404: {
|
|
87227
88175
|
headers: {
|
|
@@ -87242,13 +88190,14 @@ export interface operations {
|
|
|
87242
88190
|
};
|
|
87243
88191
|
};
|
|
87244
88192
|
};
|
|
87245
|
-
|
|
88193
|
+
erp_settings_accountingsetting_tax_views_list_taxes: {
|
|
87246
88194
|
parameters: {
|
|
87247
|
-
query?:
|
|
87248
|
-
|
|
87249
|
-
|
|
87250
|
-
id: number;
|
|
88195
|
+
query?: {
|
|
88196
|
+
/** @description Search by tax name */
|
|
88197
|
+
search?: string | null;
|
|
87251
88198
|
};
|
|
88199
|
+
header?: never;
|
|
88200
|
+
path?: never;
|
|
87252
88201
|
cookie?: never;
|
|
87253
88202
|
};
|
|
87254
88203
|
requestBody?: never;
|
|
@@ -87259,7 +88208,7 @@ export interface operations {
|
|
|
87259
88208
|
[name: string]: unknown;
|
|
87260
88209
|
};
|
|
87261
88210
|
content: {
|
|
87262
|
-
"application/json": components["schemas"]["
|
|
88211
|
+
"application/json": components["schemas"]["ListTaxes"];
|
|
87263
88212
|
};
|
|
87264
88213
|
};
|
|
87265
88214
|
/** @description Bad Request */
|
|
@@ -87300,23 +88249,27 @@ export interface operations {
|
|
|
87300
88249
|
};
|
|
87301
88250
|
};
|
|
87302
88251
|
};
|
|
87303
|
-
|
|
88252
|
+
erp_settings_accountingsetting_tax_views_create_tax: {
|
|
87304
88253
|
parameters: {
|
|
87305
88254
|
query?: never;
|
|
87306
88255
|
header?: never;
|
|
87307
|
-
path
|
|
87308
|
-
id: number;
|
|
87309
|
-
};
|
|
88256
|
+
path?: never;
|
|
87310
88257
|
cookie?: never;
|
|
87311
88258
|
};
|
|
87312
|
-
requestBody
|
|
88259
|
+
requestBody: {
|
|
88260
|
+
content: {
|
|
88261
|
+
"application/json": components["schemas"]["CreateTax"];
|
|
88262
|
+
};
|
|
88263
|
+
};
|
|
87313
88264
|
responses: {
|
|
87314
|
-
/** @description
|
|
87315
|
-
|
|
88265
|
+
/** @description Created */
|
|
88266
|
+
201: {
|
|
87316
88267
|
headers: {
|
|
87317
88268
|
[name: string]: unknown;
|
|
87318
88269
|
};
|
|
87319
|
-
content
|
|
88270
|
+
content: {
|
|
88271
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
88272
|
+
};
|
|
87320
88273
|
};
|
|
87321
88274
|
/** @description Bad Request */
|
|
87322
88275
|
400: {
|
|
@@ -87356,20 +88309,16 @@ export interface operations {
|
|
|
87356
88309
|
};
|
|
87357
88310
|
};
|
|
87358
88311
|
};
|
|
87359
|
-
|
|
88312
|
+
erp_settings_accountingsetting_tax_views_get_tax: {
|
|
87360
88313
|
parameters: {
|
|
87361
88314
|
query?: never;
|
|
87362
88315
|
header?: never;
|
|
87363
88316
|
path: {
|
|
87364
|
-
id:
|
|
88317
|
+
id: string;
|
|
87365
88318
|
};
|
|
87366
88319
|
cookie?: never;
|
|
87367
88320
|
};
|
|
87368
|
-
requestBody
|
|
87369
|
-
content: {
|
|
87370
|
-
"application/json": components["schemas"]["UpdateTransactionalSubsidiaryAccountsSchema"];
|
|
87371
|
-
};
|
|
87372
|
-
};
|
|
88321
|
+
requestBody?: never;
|
|
87373
88322
|
responses: {
|
|
87374
88323
|
/** @description OK */
|
|
87375
88324
|
200: {
|
|
@@ -87377,7 +88326,7 @@ export interface operations {
|
|
|
87377
88326
|
[name: string]: unknown;
|
|
87378
88327
|
};
|
|
87379
88328
|
content: {
|
|
87380
|
-
"application/json": components["schemas"]["
|
|
88329
|
+
"application/json": components["schemas"]["RetrieveTax"];
|
|
87381
88330
|
};
|
|
87382
88331
|
};
|
|
87383
88332
|
/** @description Bad Request */
|
|
@@ -87418,28 +88367,23 @@ export interface operations {
|
|
|
87418
88367
|
};
|
|
87419
88368
|
};
|
|
87420
88369
|
};
|
|
87421
|
-
|
|
88370
|
+
erp_settings_accountingsetting_tax_views_delete_tax: {
|
|
87422
88371
|
parameters: {
|
|
87423
|
-
query?:
|
|
87424
|
-
/** @description Page number */
|
|
87425
|
-
page?: number;
|
|
87426
|
-
/** @description Page size */
|
|
87427
|
-
pageSize?: number;
|
|
87428
|
-
};
|
|
88372
|
+
query?: never;
|
|
87429
88373
|
header?: never;
|
|
87430
|
-
path
|
|
88374
|
+
path: {
|
|
88375
|
+
id: string;
|
|
88376
|
+
};
|
|
87431
88377
|
cookie?: never;
|
|
87432
88378
|
};
|
|
87433
88379
|
requestBody?: never;
|
|
87434
88380
|
responses: {
|
|
87435
|
-
/** @description
|
|
87436
|
-
|
|
88381
|
+
/** @description No Content */
|
|
88382
|
+
204: {
|
|
87437
88383
|
headers: {
|
|
87438
88384
|
[name: string]: unknown;
|
|
87439
88385
|
};
|
|
87440
|
-
content
|
|
87441
|
-
"application/json": components["schemas"]["ListTransactionalSubsidiaryAccountsSchema"];
|
|
87442
|
-
};
|
|
88386
|
+
content?: never;
|
|
87443
88387
|
};
|
|
87444
88388
|
/** @description Bad Request */
|
|
87445
88389
|
400: {
|
|
@@ -87479,22 +88423,20 @@ export interface operations {
|
|
|
87479
88423
|
};
|
|
87480
88424
|
};
|
|
87481
88425
|
};
|
|
87482
|
-
|
|
88426
|
+
erp_settings_accountingsetting_tax_views_update_tax: {
|
|
87483
88427
|
parameters: {
|
|
87484
|
-
query
|
|
87485
|
-
isVat: boolean;
|
|
87486
|
-
/** @example sales */
|
|
87487
|
-
type: string;
|
|
87488
|
-
/** @description Page number */
|
|
87489
|
-
page?: number;
|
|
87490
|
-
/** @description Page size */
|
|
87491
|
-
pageSize?: number;
|
|
87492
|
-
};
|
|
88428
|
+
query?: never;
|
|
87493
88429
|
header?: never;
|
|
87494
|
-
path
|
|
88430
|
+
path: {
|
|
88431
|
+
id: string;
|
|
88432
|
+
};
|
|
87495
88433
|
cookie?: never;
|
|
87496
88434
|
};
|
|
87497
|
-
requestBody
|
|
88435
|
+
requestBody: {
|
|
88436
|
+
content: {
|
|
88437
|
+
"application/json": components["schemas"]["UpdateTax"];
|
|
88438
|
+
};
|
|
88439
|
+
};
|
|
87498
88440
|
responses: {
|
|
87499
88441
|
/** @description OK */
|
|
87500
88442
|
200: {
|
|
@@ -87502,7 +88444,7 @@ export interface operations {
|
|
|
87502
88444
|
[name: string]: unknown;
|
|
87503
88445
|
};
|
|
87504
88446
|
content: {
|
|
87505
|
-
"application/json": components["schemas"]["
|
|
88447
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87506
88448
|
};
|
|
87507
88449
|
};
|
|
87508
88450
|
/** @description Bad Request */
|
|
@@ -87514,6 +88456,15 @@ export interface operations {
|
|
|
87514
88456
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
87515
88457
|
};
|
|
87516
88458
|
};
|
|
88459
|
+
/** @description Forbidden */
|
|
88460
|
+
403: {
|
|
88461
|
+
headers: {
|
|
88462
|
+
[name: string]: unknown;
|
|
88463
|
+
};
|
|
88464
|
+
content: {
|
|
88465
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
88466
|
+
};
|
|
88467
|
+
};
|
|
87517
88468
|
/** @description Not Found */
|
|
87518
88469
|
404: {
|
|
87519
88470
|
headers: {
|
|
@@ -87534,7 +88485,7 @@ export interface operations {
|
|
|
87534
88485
|
};
|
|
87535
88486
|
};
|
|
87536
88487
|
};
|
|
87537
|
-
|
|
88488
|
+
erp_settings_accountingsetting_tax_rule_views_list_tax_rules: {
|
|
87538
88489
|
parameters: {
|
|
87539
88490
|
query?: {
|
|
87540
88491
|
/** @description Search by tax name */
|
|
@@ -87552,7 +88503,7 @@ export interface operations {
|
|
|
87552
88503
|
[name: string]: unknown;
|
|
87553
88504
|
};
|
|
87554
88505
|
content: {
|
|
87555
|
-
"application/json": components["schemas"]["
|
|
88506
|
+
"application/json": components["schemas"]["ListTaxRules"];
|
|
87556
88507
|
};
|
|
87557
88508
|
};
|
|
87558
88509
|
/** @description Bad Request */
|
|
@@ -87593,7 +88544,7 @@ export interface operations {
|
|
|
87593
88544
|
};
|
|
87594
88545
|
};
|
|
87595
88546
|
};
|
|
87596
|
-
|
|
88547
|
+
erp_settings_accountingsetting_tax_rule_views_create_tax_rule: {
|
|
87597
88548
|
parameters: {
|
|
87598
88549
|
query?: never;
|
|
87599
88550
|
header?: never;
|
|
@@ -87602,7 +88553,7 @@ export interface operations {
|
|
|
87602
88553
|
};
|
|
87603
88554
|
requestBody: {
|
|
87604
88555
|
content: {
|
|
87605
|
-
"application/json": components["schemas"]["
|
|
88556
|
+
"application/json": components["schemas"]["CreateTaxRule"];
|
|
87606
88557
|
};
|
|
87607
88558
|
};
|
|
87608
88559
|
responses: {
|
|
@@ -87653,7 +88604,7 @@ export interface operations {
|
|
|
87653
88604
|
};
|
|
87654
88605
|
};
|
|
87655
88606
|
};
|
|
87656
|
-
|
|
88607
|
+
erp_settings_accountingsetting_tax_rule_views_get_tax_rule: {
|
|
87657
88608
|
parameters: {
|
|
87658
88609
|
query?: never;
|
|
87659
88610
|
header?: never;
|
|
@@ -87670,7 +88621,7 @@ export interface operations {
|
|
|
87670
88621
|
[name: string]: unknown;
|
|
87671
88622
|
};
|
|
87672
88623
|
content: {
|
|
87673
|
-
"application/json": components["schemas"]["
|
|
88624
|
+
"application/json": components["schemas"]["RetrieveTaxRule"];
|
|
87674
88625
|
};
|
|
87675
88626
|
};
|
|
87676
88627
|
/** @description Bad Request */
|
|
@@ -87711,7 +88662,7 @@ export interface operations {
|
|
|
87711
88662
|
};
|
|
87712
88663
|
};
|
|
87713
88664
|
};
|
|
87714
|
-
|
|
88665
|
+
erp_settings_accountingsetting_tax_rule_views_delete_tax_rule: {
|
|
87715
88666
|
parameters: {
|
|
87716
88667
|
query?: never;
|
|
87717
88668
|
header?: never;
|
|
@@ -87767,7 +88718,7 @@ export interface operations {
|
|
|
87767
88718
|
};
|
|
87768
88719
|
};
|
|
87769
88720
|
};
|
|
87770
|
-
|
|
88721
|
+
erp_settings_accountingsetting_tax_rule_views_update_tax_rule: {
|
|
87771
88722
|
parameters: {
|
|
87772
88723
|
query?: never;
|
|
87773
88724
|
header?: never;
|
|
@@ -87778,7 +88729,7 @@ export interface operations {
|
|
|
87778
88729
|
};
|
|
87779
88730
|
requestBody: {
|
|
87780
88731
|
content: {
|
|
87781
|
-
"application/json": components["schemas"]["
|
|
88732
|
+
"application/json": components["schemas"]["UpdateTaxRule"];
|
|
87782
88733
|
};
|
|
87783
88734
|
};
|
|
87784
88735
|
responses: {
|
|
@@ -93874,6 +94825,8 @@ export interface operations {
|
|
|
93874
94825
|
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
93875
94826
|
/** @description Sort order: ascending or descending */
|
|
93876
94827
|
order?: components["schemas"]["SortOrder"] | null;
|
|
94828
|
+
/** @description When true, only documents eligible for inventory purchase return (open return shipment, linked purchase invoice received via goods receipt, and returnable line qty). */
|
|
94829
|
+
eligibleForInventoryReturn?: boolean;
|
|
93877
94830
|
};
|
|
93878
94831
|
header?: never;
|
|
93879
94832
|
path?: never;
|
|
@@ -96204,6 +97157,8 @@ export interface operations {
|
|
|
96204
97157
|
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
96205
97158
|
/** @description Sort order: ascending or descending */
|
|
96206
97159
|
order?: components["schemas"]["SortOrder"] | null;
|
|
97160
|
+
/** @description When true, only documents eligible for inventory purchase return (open return shipment, linked purchase invoice received via goods receipt, and returnable line qty). */
|
|
97161
|
+
eligibleForInventoryReturn?: boolean;
|
|
96207
97162
|
};
|
|
96208
97163
|
header?: never;
|
|
96209
97164
|
path?: never;
|
|
@@ -106869,6 +107824,8 @@ export interface operations {
|
|
|
106869
107824
|
sortBy?: components["schemas"]["SalesDocumentSortBy"] | null;
|
|
106870
107825
|
/** @description Sort order: ascending or descending */
|
|
106871
107826
|
order?: components["schemas"]["SortOrder"] | null;
|
|
107827
|
+
/** @description When true, only documents eligible for inventory sales return (open return fulfillment, linked sales invoice delivered via goods delivery, and returnable line qty). */
|
|
107828
|
+
eligibleForInventoryReturn?: boolean;
|
|
106872
107829
|
};
|
|
106873
107830
|
header?: never;
|
|
106874
107831
|
path?: never;
|
|
@@ -107441,6 +108398,8 @@ export interface operations {
|
|
|
107441
108398
|
sortBy?: components["schemas"]["SalesDocumentSortBy"] | null;
|
|
107442
108399
|
/** @description Sort order: ascending or descending */
|
|
107443
108400
|
order?: components["schemas"]["SortOrder"] | null;
|
|
108401
|
+
/** @description When true, only documents eligible for inventory sales return (open return fulfillment, linked sales invoice delivered/received via goods delivery, and returnable line qty). */
|
|
108402
|
+
eligibleForInventoryReturn?: boolean;
|
|
107444
108403
|
};
|
|
107445
108404
|
header?: never;
|
|
107446
108405
|
path?: never;
|