@erp-galoper/types 1.0.2080 → 1.0.2081
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 +1083 -154
- 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;
|
|
@@ -29250,16 +29376,20 @@ export interface components {
|
|
|
29250
29376
|
id: string;
|
|
29251
29377
|
/** Name */
|
|
29252
29378
|
name: string;
|
|
29379
|
+
/** Taxtype */
|
|
29380
|
+
taxType: unknown;
|
|
29253
29381
|
/** Type */
|
|
29254
|
-
type:
|
|
29382
|
+
type: unknown[];
|
|
29255
29383
|
/** Ratepercentage */
|
|
29256
|
-
ratePercentage: number;
|
|
29384
|
+
ratePercentage: number | null;
|
|
29385
|
+
/** Fixedamount */
|
|
29386
|
+
fixedAmount?: number | null;
|
|
29257
29387
|
};
|
|
29258
29388
|
/**
|
|
29259
29389
|
* TaxTypes
|
|
29260
29390
|
* @enum {string}
|
|
29261
29391
|
*/
|
|
29262
|
-
TaxTypes: "purchase" | "sales" | "pos" | "expenses" | "assets";
|
|
29392
|
+
TaxTypes: "purchase" | "sales" | "pos" | "expenses" | "assets" | "stamp";
|
|
29263
29393
|
/**
|
|
29264
29394
|
* TrackInventoryBy
|
|
29265
29395
|
* @enum {string}
|
|
@@ -41677,25 +41807,47 @@ export interface components {
|
|
|
41677
41807
|
CreateTax: {
|
|
41678
41808
|
/** Name */
|
|
41679
41809
|
name: string;
|
|
41680
|
-
/**
|
|
41810
|
+
/**
|
|
41811
|
+
* Type
|
|
41812
|
+
* @description visible and required when tax type different than stamp duty
|
|
41813
|
+
* @default []
|
|
41814
|
+
*/
|
|
41681
41815
|
type: components["schemas"]["TaxTypes"][];
|
|
41682
|
-
/**
|
|
41816
|
+
/**
|
|
41817
|
+
* Sales
|
|
41818
|
+
* @description hidden when tax type is stamp duty
|
|
41819
|
+
*/
|
|
41683
41820
|
sales?: number | null;
|
|
41684
|
-
/**
|
|
41821
|
+
/**
|
|
41822
|
+
* Purchase
|
|
41823
|
+
* @description hidden when tax type is stamp duty
|
|
41824
|
+
*/
|
|
41685
41825
|
purchase?: number | null;
|
|
41686
|
-
/**
|
|
41826
|
+
/**
|
|
41827
|
+
* Expenses
|
|
41828
|
+
* @description hidden when tax type is stamp duty
|
|
41829
|
+
*/
|
|
41687
41830
|
expenses?: number | null;
|
|
41688
|
-
/**
|
|
41831
|
+
/**
|
|
41832
|
+
* Pos
|
|
41833
|
+
* @description hidden when tax type is stamp duty
|
|
41834
|
+
*/
|
|
41689
41835
|
pos?: number | null;
|
|
41690
|
-
/**
|
|
41836
|
+
/**
|
|
41837
|
+
* Assets
|
|
41838
|
+
* @description hidden when tax type is stamp duty
|
|
41839
|
+
*/
|
|
41691
41840
|
assets?: number | null;
|
|
41692
|
-
/**
|
|
41693
|
-
|
|
41841
|
+
/**
|
|
41842
|
+
* Ratepercentage
|
|
41843
|
+
* @description visible and required when tax type different than stamp duty
|
|
41844
|
+
*/
|
|
41845
|
+
ratePercentage?: number | null;
|
|
41694
41846
|
/**
|
|
41695
41847
|
* Taxpayableaccount
|
|
41696
|
-
* @description tax Payable Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
|
|
41848
|
+
* @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
41849
|
*/
|
|
41698
|
-
taxPayableAccount
|
|
41850
|
+
taxPayableAccount?: number | null;
|
|
41699
41851
|
/**
|
|
41700
41852
|
* Deferredsales
|
|
41701
41853
|
* @description - id of account from chart of account
|
|
@@ -41705,7 +41857,24 @@ export interface components {
|
|
|
41705
41857
|
* - API Route : /api/v1/chart_of_account/?branchId=1&type=deferredSales
|
|
41706
41858
|
*/
|
|
41707
41859
|
deferredSales?: number;
|
|
41860
|
+
/** @default other */
|
|
41861
|
+
taxType: components["schemas"]["TaxType"];
|
|
41862
|
+
/**
|
|
41863
|
+
* Fixedamount
|
|
41864
|
+
* @description Visible and Required when taxType is stampDuty (calculationMethod is automatically set to fixedAmount). Ignored (saved as null) otherwise.
|
|
41865
|
+
*/
|
|
41866
|
+
fixedAmount?: number | null;
|
|
41867
|
+
/**
|
|
41868
|
+
* Stampdutypayable
|
|
41869
|
+
* @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'
|
|
41870
|
+
*/
|
|
41871
|
+
stampDutyPayable?: number | null;
|
|
41708
41872
|
};
|
|
41873
|
+
/**
|
|
41874
|
+
* TaxType
|
|
41875
|
+
* @enum {string}
|
|
41876
|
+
*/
|
|
41877
|
+
TaxType: "vat" | "stampDuty" | "other";
|
|
41709
41878
|
/** ListTaxes */
|
|
41710
41879
|
ListTaxes: {
|
|
41711
41880
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -41732,45 +41901,90 @@ export interface components {
|
|
|
41732
41901
|
name: string;
|
|
41733
41902
|
/** Type */
|
|
41734
41903
|
type: components["schemas"]["TaxTypes"][];
|
|
41904
|
+
/** @description hidden when tax type is stamp duty */
|
|
41735
41905
|
sales?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41906
|
+
/** @description hidden when tax type is stamp duty */
|
|
41736
41907
|
purchase?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41908
|
+
/** @description hidden when tax type is stamp duty */
|
|
41737
41909
|
expenses?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41910
|
+
/** @description hidden when tax type is stamp duty */
|
|
41738
41911
|
pos?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41912
|
+
/** @description hidden when tax type is stamp duty */
|
|
41739
41913
|
assets?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41740
|
-
/**
|
|
41741
|
-
|
|
41742
|
-
|
|
41914
|
+
/**
|
|
41915
|
+
* Ratepercentage
|
|
41916
|
+
* @description hidden when tax type is stamp duty, rate percentage of tax
|
|
41917
|
+
*/
|
|
41918
|
+
ratePercentage: number | null;
|
|
41919
|
+
/** @description Tax Payable Account, visible when tax type different than stamp duty, */
|
|
41743
41920
|
taxPayableAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41744
41921
|
deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41922
|
+
taxType: components["schemas"]["TaxType"];
|
|
41923
|
+
calculationMethod?: components["schemas"]["TaxCalculationMethod"] | null;
|
|
41924
|
+
/**
|
|
41925
|
+
* Fixedamount
|
|
41926
|
+
* @description visible when tax type is stamp duty
|
|
41927
|
+
*/
|
|
41928
|
+
fixedAmount?: number | null;
|
|
41929
|
+
appliesTo?: components["schemas"]["TaxAppliesTo"] | null;
|
|
41930
|
+
/** @description visible when tax type is stamp duty */
|
|
41931
|
+
stampDutyPayable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41745
41932
|
/** Candelete */
|
|
41746
41933
|
canDelete: boolean;
|
|
41747
41934
|
};
|
|
41935
|
+
/**
|
|
41936
|
+
* TaxAppliesTo
|
|
41937
|
+
* @constant
|
|
41938
|
+
*/
|
|
41939
|
+
TaxAppliesTo: "sales_invoice";
|
|
41940
|
+
/**
|
|
41941
|
+
* TaxCalculationMethod
|
|
41942
|
+
* @enum {string}
|
|
41943
|
+
*/
|
|
41944
|
+
TaxCalculationMethod: "percentage" | "fixed_amount";
|
|
41748
41945
|
/** UpdateTax */
|
|
41749
41946
|
UpdateTax: {
|
|
41750
41947
|
/** Name */
|
|
41751
41948
|
name?: string | null;
|
|
41752
|
-
/** Isvat */
|
|
41753
|
-
isVat?: boolean | null;
|
|
41754
41949
|
/**
|
|
41755
41950
|
* Type
|
|
41951
|
+
* @description visible and required when tax type different than stamp duty
|
|
41756
41952
|
* @default []
|
|
41757
41953
|
*/
|
|
41758
41954
|
type: components["schemas"]["TaxTypes"][] | null;
|
|
41759
|
-
/**
|
|
41955
|
+
/**
|
|
41956
|
+
* Sales
|
|
41957
|
+
* @description hidden when tax type is stamp duty
|
|
41958
|
+
*/
|
|
41760
41959
|
sales?: number | null;
|
|
41761
|
-
/**
|
|
41960
|
+
/**
|
|
41961
|
+
* Purchase
|
|
41962
|
+
* @description hidden when tax type is stamp duty
|
|
41963
|
+
*/
|
|
41762
41964
|
purchase?: number | null;
|
|
41763
|
-
/**
|
|
41965
|
+
/**
|
|
41966
|
+
* Expenses
|
|
41967
|
+
* @description hidden when tax type is stamp duty
|
|
41968
|
+
*/
|
|
41764
41969
|
expenses?: number | null;
|
|
41765
|
-
/**
|
|
41970
|
+
/**
|
|
41971
|
+
* Pos
|
|
41972
|
+
* @description hidden when tax type is stamp duty
|
|
41973
|
+
*/
|
|
41766
41974
|
pos?: number | null;
|
|
41767
|
-
/**
|
|
41975
|
+
/**
|
|
41976
|
+
* Assets
|
|
41977
|
+
* @description hidden when tax type is stamp duty
|
|
41978
|
+
*/
|
|
41768
41979
|
assets?: number | null;
|
|
41769
|
-
/**
|
|
41980
|
+
/**
|
|
41981
|
+
* Ratepercentage
|
|
41982
|
+
* @description visible and required when tax type different than stamp duty
|
|
41983
|
+
*/
|
|
41770
41984
|
ratePercentage?: number | null;
|
|
41771
41985
|
/**
|
|
41772
41986
|
* Taxpayableaccount
|
|
41773
|
-
* @description Tax Payable Account , get accounts from /api/v1/chart_of_account/?type=detail&branchId={branch-id}
|
|
41987
|
+
* @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
41988
|
*/
|
|
41775
41989
|
taxPayableAccount?: number | null;
|
|
41776
41990
|
/**
|
|
@@ -41782,6 +41996,17 @@ export interface components {
|
|
|
41782
41996
|
* - API Route : /api/v1/chart_of_account/?branchId=1&type=deferredSales
|
|
41783
41997
|
*/
|
|
41784
41998
|
deferredSales?: number | null;
|
|
41999
|
+
taxType?: components["schemas"]["TaxType"] | null;
|
|
42000
|
+
/**
|
|
42001
|
+
* Fixedamount
|
|
42002
|
+
* @description Required when taxType is stampDuty (calculationMethod is automatically set to fixedAmount). Ignored (saved as null) otherwise.
|
|
42003
|
+
*/
|
|
42004
|
+
fixedAmount?: number | null;
|
|
42005
|
+
/**
|
|
42006
|
+
* Stampdutypayable
|
|
42007
|
+
* @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.
|
|
42008
|
+
*/
|
|
42009
|
+
stampDutyPayable?: number | null;
|
|
41785
42010
|
};
|
|
41786
42011
|
/** RetrieveTax */
|
|
41787
42012
|
RetrieveTax: {
|
|
@@ -41803,16 +42028,233 @@ export interface components {
|
|
|
41803
42028
|
name: string;
|
|
41804
42029
|
/** Type */
|
|
41805
42030
|
type: components["schemas"]["TaxTypes"][];
|
|
42031
|
+
/** @description hidden when tax type is stamp duty */
|
|
41806
42032
|
sales?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42033
|
+
/** @description hidden when tax type is stamp duty */
|
|
41807
42034
|
purchase?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42035
|
+
/** @description hidden when tax type is stamp duty */
|
|
41808
42036
|
expenses?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42037
|
+
/** @description hidden when tax type is stamp duty */
|
|
41809
42038
|
pos?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42039
|
+
/** @description hidden when tax type is stamp duty */
|
|
41810
42040
|
assets?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41811
|
-
/**
|
|
41812
|
-
|
|
41813
|
-
|
|
42041
|
+
/**
|
|
42042
|
+
* Ratepercentage
|
|
42043
|
+
* @description hidden when tax type is stamp duty, rate percentage of tax
|
|
42044
|
+
*/
|
|
42045
|
+
ratePercentage: number | null;
|
|
42046
|
+
/** @description Tax Payable Account, visible when tax type different than stamp duty, */
|
|
41814
42047
|
taxPayableAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
41815
42048
|
deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42049
|
+
taxType: components["schemas"]["TaxType"];
|
|
42050
|
+
calculationMethod?: components["schemas"]["TaxCalculationMethod"] | null;
|
|
42051
|
+
/**
|
|
42052
|
+
* Fixedamount
|
|
42053
|
+
* @description visible when tax type is stamp duty
|
|
42054
|
+
*/
|
|
42055
|
+
fixedAmount?: number | null;
|
|
42056
|
+
appliesTo?: components["schemas"]["TaxAppliesTo"] | null;
|
|
42057
|
+
/** @description visible when tax type is stamp duty */
|
|
42058
|
+
stampDutyPayable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
42059
|
+
};
|
|
42060
|
+
/** CreateTaxRule */
|
|
42061
|
+
CreateTaxRule: {
|
|
42062
|
+
/**
|
|
42063
|
+
* Taxid
|
|
42064
|
+
* Format: uuid
|
|
42065
|
+
* @description get taxes from /api/v1/settings/accounting/taxes/
|
|
42066
|
+
*/
|
|
42067
|
+
taxId: string;
|
|
42068
|
+
/**
|
|
42069
|
+
* Customerids
|
|
42070
|
+
* @description Select either customerIds or customerGroupIds, not both. Retrieve customers from /api/v1/customers?type=parent and filter by isActive equals true.
|
|
42071
|
+
*/
|
|
42072
|
+
customerIds?: string[] | null;
|
|
42073
|
+
/**
|
|
42074
|
+
* Customergroupids
|
|
42075
|
+
* @description Select either customerIds or customerGroupIds, not both. Retrieve customer groups from /api/v1/common/contact-segmentation/ and filter by type equals customer.
|
|
42076
|
+
*/
|
|
42077
|
+
customerGroupIds?: string[] | null;
|
|
42078
|
+
/**
|
|
42079
|
+
* Itemids
|
|
42080
|
+
* @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.
|
|
42081
|
+
*/
|
|
42082
|
+
itemIds?: string[] | null;
|
|
42083
|
+
/**
|
|
42084
|
+
* Itemcategoryids
|
|
42085
|
+
* @description Select either itemIds or itemCategoryIds, not both. Retrieve item groups from /api/v1/inventory/categories/?type=item.
|
|
42086
|
+
*/
|
|
42087
|
+
itemCategoryIds?: string[] | null;
|
|
42088
|
+
taxApplication: components["schemas"]["TaxApplication"];
|
|
42089
|
+
/**
|
|
42090
|
+
* Exemptionpercent
|
|
42091
|
+
* @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.
|
|
42092
|
+
*/
|
|
42093
|
+
exemptionPercent?: number | null;
|
|
42094
|
+
/** @description Hidden when taxApplication is STANDARD (saved as null). */
|
|
42095
|
+
exemptionMethod?: components["schemas"]["ExemptionMethod"] | null;
|
|
42096
|
+
/**
|
|
42097
|
+
* Isactive
|
|
42098
|
+
* @default true
|
|
42099
|
+
*/
|
|
42100
|
+
isActive: boolean | null;
|
|
42101
|
+
};
|
|
42102
|
+
/**
|
|
42103
|
+
* ExemptionMethod
|
|
42104
|
+
* @constant
|
|
42105
|
+
*/
|
|
42106
|
+
ExemptionMethod: "PERCENT_OF_TAX";
|
|
42107
|
+
/**
|
|
42108
|
+
* TaxApplication
|
|
42109
|
+
* @enum {string}
|
|
42110
|
+
*/
|
|
42111
|
+
TaxApplication: "STANDARD" | "PARTIAL_EXEMPTION" | "FULL_EXEMPTION";
|
|
42112
|
+
/** ItemCategorySummaryInfo */
|
|
42113
|
+
ItemCategorySummaryInfo: {
|
|
42114
|
+
/**
|
|
42115
|
+
* Id
|
|
42116
|
+
* Format: uuid
|
|
42117
|
+
*/
|
|
42118
|
+
id: string;
|
|
42119
|
+
/** Name */
|
|
42120
|
+
name: string;
|
|
42121
|
+
};
|
|
42122
|
+
/** ListTaxRules */
|
|
42123
|
+
ListTaxRules: {
|
|
42124
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
42125
|
+
/** Results */
|
|
42126
|
+
results: components["schemas"]["RetrieveTaxRuleInList"][];
|
|
42127
|
+
};
|
|
42128
|
+
/** RetrieveTaxRuleInList */
|
|
42129
|
+
RetrieveTaxRuleInList: {
|
|
42130
|
+
/**
|
|
42131
|
+
* Datecreated
|
|
42132
|
+
* Format: date-time
|
|
42133
|
+
*/
|
|
42134
|
+
dateCreated: string;
|
|
42135
|
+
/** Datemodified */
|
|
42136
|
+
dateModified: string | null;
|
|
42137
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
42138
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
42139
|
+
/**
|
|
42140
|
+
* Id
|
|
42141
|
+
* Format: uuid
|
|
42142
|
+
*/
|
|
42143
|
+
id: string;
|
|
42144
|
+
tax: components["schemas"]["TaxSharedSchema"];
|
|
42145
|
+
/**
|
|
42146
|
+
* Customers
|
|
42147
|
+
* @default []
|
|
42148
|
+
*/
|
|
42149
|
+
customers: components["schemas"]["AccountSummaryInfo"][] | null;
|
|
42150
|
+
/**
|
|
42151
|
+
* Customergroups
|
|
42152
|
+
* @default []
|
|
42153
|
+
*/
|
|
42154
|
+
customerGroups: components["schemas"]["ContactSegmentationSharedSchema"][] | null;
|
|
42155
|
+
/**
|
|
42156
|
+
* Items
|
|
42157
|
+
* @default []
|
|
42158
|
+
*/
|
|
42159
|
+
items: components["schemas"]["ItemSummaryInfo"][] | null;
|
|
42160
|
+
/**
|
|
42161
|
+
* Itemcategories
|
|
42162
|
+
* @default []
|
|
42163
|
+
*/
|
|
42164
|
+
itemCategories: components["schemas"]["ItemCategorySummaryInfo"][] | null;
|
|
42165
|
+
taxApplication: components["schemas"]["TaxApplication"];
|
|
42166
|
+
/** Exemptionpercent */
|
|
42167
|
+
exemptionPercent?: number | null;
|
|
42168
|
+
exemptionMethod?: components["schemas"]["ExemptionMethod"] | null;
|
|
42169
|
+
/**
|
|
42170
|
+
* Chargebearer
|
|
42171
|
+
* @description Who bears the stamp duty charge. Only set (always 'customer' for now) when the rule's tax is of type stampDuty; null otherwise.
|
|
42172
|
+
*/
|
|
42173
|
+
chargeBearer?: string | null;
|
|
42174
|
+
/** Isactive */
|
|
42175
|
+
isActive: boolean;
|
|
42176
|
+
/** Candelete */
|
|
42177
|
+
canDelete: boolean;
|
|
42178
|
+
};
|
|
42179
|
+
/** UpdateTaxRule */
|
|
42180
|
+
UpdateTaxRule: {
|
|
42181
|
+
/** Taxid */
|
|
42182
|
+
taxId?: string | null;
|
|
42183
|
+
/**
|
|
42184
|
+
* Customerids
|
|
42185
|
+
* @description Select either customerIds or customerGroupIds, not both. Retrieve customers from /api/v1/customers?type=parent and filter by isActive equals true.
|
|
42186
|
+
*/
|
|
42187
|
+
customerIds?: string[] | null;
|
|
42188
|
+
/**
|
|
42189
|
+
* Customergroupids
|
|
42190
|
+
* @description Select either customerIds or customerGroupIds, not both. Retrieve customer groups from /api/v1/common/contact-segmentation/ and filter by type equals customer.
|
|
42191
|
+
*/
|
|
42192
|
+
customerGroupIds?: string[] | null;
|
|
42193
|
+
/**
|
|
42194
|
+
* Itemids
|
|
42195
|
+
* @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.
|
|
42196
|
+
*/
|
|
42197
|
+
itemIds?: string[] | null;
|
|
42198
|
+
/**
|
|
42199
|
+
* Itemcategoryids
|
|
42200
|
+
* @description Select either itemIds or itemCategoryIds, not both. Retrieve item groups from /api/v1/inventory/categories/?type=item.
|
|
42201
|
+
*/
|
|
42202
|
+
itemCategoryIds?: string[] | null;
|
|
42203
|
+
taxApplication?: components["schemas"]["TaxApplication"] | null;
|
|
42204
|
+
/** Exemptionpercent */
|
|
42205
|
+
exemptionPercent?: number | null;
|
|
42206
|
+
exemptionMethod?: components["schemas"]["ExemptionMethod"] | null;
|
|
42207
|
+
/** Isactive */
|
|
42208
|
+
isActive?: boolean | null;
|
|
42209
|
+
};
|
|
42210
|
+
/** RetrieveTaxRule */
|
|
42211
|
+
RetrieveTaxRule: {
|
|
42212
|
+
/**
|
|
42213
|
+
* Datecreated
|
|
42214
|
+
* Format: date-time
|
|
42215
|
+
*/
|
|
42216
|
+
dateCreated: string;
|
|
42217
|
+
/** Datemodified */
|
|
42218
|
+
dateModified: string | null;
|
|
42219
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
42220
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
42221
|
+
/**
|
|
42222
|
+
* Id
|
|
42223
|
+
* Format: uuid
|
|
42224
|
+
*/
|
|
42225
|
+
id: string;
|
|
42226
|
+
tax: components["schemas"]["TaxSharedSchema"];
|
|
42227
|
+
/**
|
|
42228
|
+
* Customers
|
|
42229
|
+
* @default []
|
|
42230
|
+
*/
|
|
42231
|
+
customers: components["schemas"]["AccountSummaryInfo"][] | null;
|
|
42232
|
+
/**
|
|
42233
|
+
* Customergroups
|
|
42234
|
+
* @default []
|
|
42235
|
+
*/
|
|
42236
|
+
customerGroups: components["schemas"]["ContactSegmentationSharedSchema"][] | null;
|
|
42237
|
+
/**
|
|
42238
|
+
* Items
|
|
42239
|
+
* @default []
|
|
42240
|
+
*/
|
|
42241
|
+
items: components["schemas"]["ItemSummaryInfo"][] | null;
|
|
42242
|
+
/**
|
|
42243
|
+
* Itemcategories
|
|
42244
|
+
* @default []
|
|
42245
|
+
*/
|
|
42246
|
+
itemCategories: components["schemas"]["ItemCategorySummaryInfo"][] | null;
|
|
42247
|
+
taxApplication: components["schemas"]["TaxApplication"];
|
|
42248
|
+
/** Exemptionpercent */
|
|
42249
|
+
exemptionPercent?: number | null;
|
|
42250
|
+
exemptionMethod?: components["schemas"]["ExemptionMethod"] | null;
|
|
42251
|
+
/**
|
|
42252
|
+
* Chargebearer
|
|
42253
|
+
* @description Who bears the stamp duty charge. Only set (always 'customer' for now) when the rule's tax is of type stampDuty; null otherwise.
|
|
42254
|
+
*/
|
|
42255
|
+
chargeBearer?: string | null;
|
|
42256
|
+
/** Isactive */
|
|
42257
|
+
isActive: boolean;
|
|
41816
42258
|
};
|
|
41817
42259
|
/** AccountingSettingResponseSchema */
|
|
41818
42260
|
AccountingSettingResponseSchema: {
|
|
@@ -44764,7 +45206,7 @@ export interface components {
|
|
|
44764
45206
|
/**
|
|
44765
45207
|
* Taxes
|
|
44766
45208
|
* @description - visible when supplier is resident
|
|
44767
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
45209
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
44768
45210
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals purchase
|
|
44769
45211
|
*/
|
|
44770
45212
|
taxes?: string[] | null;
|
|
@@ -44836,7 +45278,7 @@ export interface components {
|
|
|
44836
45278
|
* Format: uuid
|
|
44837
45279
|
* @description - tax id
|
|
44838
45280
|
* - visible when supplier is not resident
|
|
44839
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
45281
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
44840
45282
|
*/
|
|
44841
45283
|
tax?: string;
|
|
44842
45284
|
/**
|
|
@@ -45191,7 +45633,7 @@ export interface components {
|
|
|
45191
45633
|
* Tax
|
|
45192
45634
|
* Format: uuid
|
|
45193
45635
|
* @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
|
|
45636
|
+
* - 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
45637
|
*/
|
|
45196
45638
|
tax?: string;
|
|
45197
45639
|
/** Items */
|
|
@@ -45618,7 +46060,7 @@ export interface components {
|
|
|
45618
46060
|
/**
|
|
45619
46061
|
* Taxes
|
|
45620
46062
|
* @description - visible when supplier is resident
|
|
45621
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
46063
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
45622
46064
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals purchase
|
|
45623
46065
|
*/
|
|
45624
46066
|
taxes?: string[] | null;
|
|
@@ -45703,7 +46145,7 @@ export interface components {
|
|
|
45703
46145
|
* Format: uuid
|
|
45704
46146
|
* @description - tax id
|
|
45705
46147
|
* - visible when supplier is not resident
|
|
45706
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
46148
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
45707
46149
|
*/
|
|
45708
46150
|
tax?: string;
|
|
45709
46151
|
/**
|
|
@@ -47404,7 +47846,7 @@ export interface components {
|
|
|
47404
47846
|
* Format: uuid
|
|
47405
47847
|
* @description - tax id
|
|
47406
47848
|
* - visible when supplier is not resident
|
|
47407
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
47849
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
47408
47850
|
*/
|
|
47409
47851
|
tax?: string;
|
|
47410
47852
|
/**
|
|
@@ -47480,7 +47922,7 @@ export interface components {
|
|
|
47480
47922
|
/**
|
|
47481
47923
|
* Taxes
|
|
47482
47924
|
* @description - visible when supplier is resident
|
|
47483
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
47925
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
47484
47926
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals purchase
|
|
47485
47927
|
*/
|
|
47486
47928
|
taxes: string[];
|
|
@@ -47559,7 +48001,7 @@ export interface components {
|
|
|
47559
48001
|
/**
|
|
47560
48002
|
* Taxes
|
|
47561
48003
|
* @description - visible when supplier is resident
|
|
47562
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
48004
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
47563
48005
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals purchase
|
|
47564
48006
|
*/
|
|
47565
48007
|
taxes: string[];
|
|
@@ -47668,7 +48110,7 @@ export interface components {
|
|
|
47668
48110
|
* Format: uuid
|
|
47669
48111
|
* @description - tax id
|
|
47670
48112
|
* - visible when supplier is not resident
|
|
47671
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase
|
|
48113
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase and taxType not equals stampDuty
|
|
47672
48114
|
*/
|
|
47673
48115
|
tax?: string;
|
|
47674
48116
|
/**
|
|
@@ -52229,16 +52671,6 @@ export interface components {
|
|
|
52229
52671
|
* @enum {string}
|
|
52230
52672
|
*/
|
|
52231
52673
|
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
52674
|
/**
|
|
52243
52675
|
* SalesTierType
|
|
52244
52676
|
* @constant
|
|
@@ -53626,6 +54058,49 @@ export interface components {
|
|
|
53626
54058
|
* @default []
|
|
53627
54059
|
*/
|
|
53628
54060
|
taxes: string[];
|
|
54061
|
+
/**
|
|
54062
|
+
* Taxexemptions
|
|
54063
|
+
* @description Per-tax exemption validity/info for this item (hasValidExemption, exemptionPercent, applyExemption)
|
|
54064
|
+
* @default []
|
|
54065
|
+
*/
|
|
54066
|
+
taxExemptions: components["schemas"]["TaxExemptionInfoSchema"][];
|
|
54067
|
+
/**
|
|
54068
|
+
* Exemptionamount
|
|
54069
|
+
* @description Total tax amount exempted for this item
|
|
54070
|
+
*/
|
|
54071
|
+
exemptionAmount?: string | null;
|
|
54072
|
+
/**
|
|
54073
|
+
* Hasstampduty
|
|
54074
|
+
* @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.
|
|
54075
|
+
* @default false
|
|
54076
|
+
*/
|
|
54077
|
+
hasStampDuty: boolean;
|
|
54078
|
+
/**
|
|
54079
|
+
* Applystampduty
|
|
54080
|
+
* @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).
|
|
54081
|
+
* @default false
|
|
54082
|
+
*/
|
|
54083
|
+
applyStampDuty: boolean;
|
|
54084
|
+
/**
|
|
54085
|
+
* Stampdutychargebearer
|
|
54086
|
+
* @description Who bears the stamp duty charge (only 'customer' is currently supported); null when not applicable.
|
|
54087
|
+
*/
|
|
54088
|
+
stampDutyChargeBearer?: string | null;
|
|
54089
|
+
/**
|
|
54090
|
+
* Stampdutyamount
|
|
54091
|
+
* @description Stamp duty amount for this item in document/customer currency
|
|
54092
|
+
*/
|
|
54093
|
+
stampDutyAmount?: string | null;
|
|
54094
|
+
/**
|
|
54095
|
+
* Secondarystampdutyamount
|
|
54096
|
+
* @description Stamp duty amount for this item in secondary (USD) currency
|
|
54097
|
+
*/
|
|
54098
|
+
secondaryStampDutyAmount?: string | null;
|
|
54099
|
+
/**
|
|
54100
|
+
* Companystampdutyamount
|
|
54101
|
+
* @description Stamp duty amount for this item in company currency
|
|
54102
|
+
*/
|
|
54103
|
+
companyStampDutyAmount?: string | null;
|
|
53629
54104
|
/**
|
|
53630
54105
|
* Subtotal
|
|
53631
54106
|
* @description This field represents gross subtotal for the item
|
|
@@ -53769,9 +54244,61 @@ export interface components {
|
|
|
53769
54244
|
* @description Total line item discount amount in company currency
|
|
53770
54245
|
*/
|
|
53771
54246
|
companyLineDiscountAmount?: string | null;
|
|
54247
|
+
/**
|
|
54248
|
+
* Hasstampduty
|
|
54249
|
+
* @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.
|
|
54250
|
+
* @default false
|
|
54251
|
+
*/
|
|
54252
|
+
hasStampDuty: boolean;
|
|
54253
|
+
/**
|
|
54254
|
+
* Applystampduty
|
|
54255
|
+
* @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).
|
|
54256
|
+
* @default false
|
|
54257
|
+
*/
|
|
54258
|
+
applyStampDuty: boolean;
|
|
54259
|
+
/**
|
|
54260
|
+
* Stampdutychargebearer
|
|
54261
|
+
* @description Who bears the stamp duty charge (only 'customer' is currently supported); null when not applicable.
|
|
54262
|
+
*/
|
|
54263
|
+
stampDutyChargeBearer?: string | null;
|
|
54264
|
+
/**
|
|
54265
|
+
* Stampdutyamount
|
|
54266
|
+
* @description Aggregated stamp duty amount (sum of applied line items) in document/customer currency
|
|
54267
|
+
*/
|
|
54268
|
+
stampDutyAmount?: string | null;
|
|
54269
|
+
/**
|
|
54270
|
+
* Secondarystampdutyamount
|
|
54271
|
+
* @description Aggregated stamp duty amount in secondary (USD) currency
|
|
54272
|
+
*/
|
|
54273
|
+
secondaryStampDutyAmount?: string | null;
|
|
54274
|
+
/**
|
|
54275
|
+
* Companystampdutyamount
|
|
54276
|
+
* @description Aggregated stamp duty amount in company currency
|
|
54277
|
+
*/
|
|
54278
|
+
companyStampDutyAmount?: string | null;
|
|
53772
54279
|
/** Items */
|
|
53773
54280
|
items: components["schemas"]["SalesItemTotalCalculated"][];
|
|
53774
54281
|
};
|
|
54282
|
+
/** TaxExemptionInfoSchema */
|
|
54283
|
+
TaxExemptionInfoSchema: {
|
|
54284
|
+
/**
|
|
54285
|
+
* Tax
|
|
54286
|
+
* Format: uuid
|
|
54287
|
+
*/
|
|
54288
|
+
tax: string;
|
|
54289
|
+
/**
|
|
54290
|
+
* Hasvalidexemption
|
|
54291
|
+
* @default false
|
|
54292
|
+
*/
|
|
54293
|
+
hasValidExemption: boolean;
|
|
54294
|
+
/** Exemptionpercent */
|
|
54295
|
+
exemptionPercent?: number | null;
|
|
54296
|
+
/**
|
|
54297
|
+
* Applyexemption
|
|
54298
|
+
* @default false
|
|
54299
|
+
*/
|
|
54300
|
+
applyExemption: boolean;
|
|
54301
|
+
};
|
|
53775
54302
|
/** SalesItemTotal */
|
|
53776
54303
|
SalesItemTotal: {
|
|
53777
54304
|
/**
|
|
@@ -53804,7 +54331,7 @@ export interface components {
|
|
|
53804
54331
|
promotionsAndOffers?: string[];
|
|
53805
54332
|
/**
|
|
53806
54333
|
* Taxes
|
|
53807
|
-
* @description - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
54334
|
+
* @description - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
53808
54335
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals sales
|
|
53809
54336
|
* @default []
|
|
53810
54337
|
*/
|
|
@@ -53815,6 +54342,26 @@ export interface components {
|
|
|
53815
54342
|
* @default false
|
|
53816
54343
|
*/
|
|
53817
54344
|
includeTaxInUnitPrice: boolean;
|
|
54345
|
+
/**
|
|
54346
|
+
* Applyexemption
|
|
54347
|
+
* @description - List of objects, each specifying a tax id and whether to apply its exemption.
|
|
54348
|
+
* - If applyExemption is true for a tax, and a valid (active) TaxRule exists for that tax
|
|
54349
|
+
* matching this item/customer scope, the tax exemption percentage from that rule is
|
|
54350
|
+
* applied, reducing the tax amount calculated for that tax on this item.
|
|
54351
|
+
* @default []
|
|
54352
|
+
*/
|
|
54353
|
+
applyExemption: components["schemas"]["TaxExemptionApplySchema"][];
|
|
54354
|
+
/**
|
|
54355
|
+
* Applystampduty
|
|
54356
|
+
* @description - Stamp duty is not a regular tax: like a tax exemption, it is toggled per line item.
|
|
54357
|
+
* It only checks whether this line item/the document customer are within a valid
|
|
54358
|
+
* (active) stamp-duty TaxRule scope.
|
|
54359
|
+
* - If true AND stamp duty is applicable for this item (hasStampDuty in the response is
|
|
54360
|
+
* true for this item), the response returns this item's stamp duty amount, added to
|
|
54361
|
+
* this item's total and to the document's aggregated totals.
|
|
54362
|
+
* @default false
|
|
54363
|
+
*/
|
|
54364
|
+
applyStampDuty: boolean;
|
|
53818
54365
|
};
|
|
53819
54366
|
/** SalesTotalCalculationRequest */
|
|
53820
54367
|
SalesTotalCalculationRequest: {
|
|
@@ -53847,12 +54394,28 @@ export interface components {
|
|
|
53847
54394
|
* Tax
|
|
53848
54395
|
* Format: uuid
|
|
53849
54396
|
* @description - tax id
|
|
53850
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
54397
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
53851
54398
|
*/
|
|
53852
54399
|
tax?: string;
|
|
53853
54400
|
/** Items */
|
|
53854
54401
|
items: components["schemas"]["SalesItemTotal"][];
|
|
53855
54402
|
};
|
|
54403
|
+
/** TaxExemptionApplySchema */
|
|
54404
|
+
TaxExemptionApplySchema: {
|
|
54405
|
+
/**
|
|
54406
|
+
* Tax
|
|
54407
|
+
* Format: uuid
|
|
54408
|
+
* @description Tax id to apply/skip exemption for
|
|
54409
|
+
*/
|
|
54410
|
+
tax: string;
|
|
54411
|
+
/**
|
|
54412
|
+
* Applyexemption
|
|
54413
|
+
* @description - If true, and a valid (active) TaxRule exists for this tax matching
|
|
54414
|
+
* this item/customer scope, the tax exemption percentage from that rule is applied,
|
|
54415
|
+
* reducing the tax amount calculated for that tax on this item.
|
|
54416
|
+
*/
|
|
54417
|
+
applyExemption: boolean;
|
|
54418
|
+
};
|
|
53856
54419
|
/** CustomerBranchSharedSchema */
|
|
53857
54420
|
CustomerBranchSharedSchema: {
|
|
53858
54421
|
/** Id */
|
|
@@ -54319,7 +54882,7 @@ export interface components {
|
|
|
54319
54882
|
/**
|
|
54320
54883
|
* Taxes
|
|
54321
54884
|
* @description - visible when customer is resident
|
|
54322
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
54885
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
54323
54886
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals sales
|
|
54324
54887
|
* @default []
|
|
54325
54888
|
*/
|
|
@@ -54439,7 +55002,7 @@ export interface components {
|
|
|
54439
55002
|
* Format: uuid
|
|
54440
55003
|
* @description - tax id
|
|
54441
55004
|
* - visible when customer is not resident
|
|
54442
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
55005
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
54443
55006
|
*/
|
|
54444
55007
|
tax?: string;
|
|
54445
55008
|
/** Items */
|
|
@@ -56855,7 +57418,7 @@ export interface components {
|
|
|
56855
57418
|
/**
|
|
56856
57419
|
* Taxes
|
|
56857
57420
|
* @description - visible when customer is resident
|
|
56858
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
57421
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
56859
57422
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals sales
|
|
56860
57423
|
* @default []
|
|
56861
57424
|
*/
|
|
@@ -56993,7 +57556,7 @@ export interface components {
|
|
|
56993
57556
|
* Format: uuid
|
|
56994
57557
|
* @description - tax id
|
|
56995
57558
|
* - visible when customer is not resident
|
|
56996
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
57559
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
56997
57560
|
*/
|
|
56998
57561
|
tax?: string;
|
|
56999
57562
|
/**
|
|
@@ -59033,6 +59596,65 @@ export interface components {
|
|
|
59033
59596
|
* @default 0
|
|
59034
59597
|
*/
|
|
59035
59598
|
companyTaxAmount: string;
|
|
59599
|
+
/**
|
|
59600
|
+
* Exemptionamount
|
|
59601
|
+
* @description This field is a number representing the total tax amount exempted for the item.
|
|
59602
|
+
* @default 0
|
|
59603
|
+
*/
|
|
59604
|
+
exemptionAmount: string;
|
|
59605
|
+
/**
|
|
59606
|
+
* Secondaryexemptionamount
|
|
59607
|
+
* @description This field is a number representing the total tax amount exempted in USD.
|
|
59608
|
+
* @default 0
|
|
59609
|
+
*/
|
|
59610
|
+
secondaryExemptionAmount: string;
|
|
59611
|
+
/**
|
|
59612
|
+
* Companyexemptionamount
|
|
59613
|
+
* @description This field is a number representing the total tax amount exempted in the company's currency.
|
|
59614
|
+
* @default 0
|
|
59615
|
+
*/
|
|
59616
|
+
companyExemptionAmount: string;
|
|
59617
|
+
/**
|
|
59618
|
+
* Appliedexemptions
|
|
59619
|
+
* @description Per-tax exemption info that was applied when the item was last calculated/saved
|
|
59620
|
+
* @default []
|
|
59621
|
+
*/
|
|
59622
|
+
appliedExemptions: components["schemas"]["TaxExemptionInfoSchema"][] | null;
|
|
59623
|
+
/**
|
|
59624
|
+
* Hasstampduty
|
|
59625
|
+
* @description Whether stamp duty is applicable for this item's customer/item scope (based on active stamp-duty TaxRule matching)
|
|
59626
|
+
* @default false
|
|
59627
|
+
*/
|
|
59628
|
+
hasStampDuty: boolean;
|
|
59629
|
+
/**
|
|
59630
|
+
* Appliedstampduties
|
|
59631
|
+
* @description List of stamp duty tax ids that were applied to this item
|
|
59632
|
+
* @default []
|
|
59633
|
+
*/
|
|
59634
|
+
appliedStampDuties: components["schemas"]["TaxSharedSchema"][];
|
|
59635
|
+
/**
|
|
59636
|
+
* Stampdutychargebearer
|
|
59637
|
+
* @description Who bears the stamp duty charge (only 'customer' is currently supported); null when not applicable.
|
|
59638
|
+
*/
|
|
59639
|
+
stampDutyChargeBearer?: string | null;
|
|
59640
|
+
/**
|
|
59641
|
+
* Stampdutyamount
|
|
59642
|
+
* @description Stamp duty amount for this item in document/customer currency
|
|
59643
|
+
* @default 0
|
|
59644
|
+
*/
|
|
59645
|
+
stampDutyAmount: string;
|
|
59646
|
+
/**
|
|
59647
|
+
* Secondarystampdutyamount
|
|
59648
|
+
* @description Stamp duty amount for this item in secondary (USD) currency
|
|
59649
|
+
* @default 0
|
|
59650
|
+
*/
|
|
59651
|
+
secondaryStampDutyAmount: string;
|
|
59652
|
+
/**
|
|
59653
|
+
* Companystampdutyamount
|
|
59654
|
+
* @description Stamp duty amount for this item in company currency
|
|
59655
|
+
* @default 0
|
|
59656
|
+
*/
|
|
59657
|
+
companyStampDutyAmount: string;
|
|
59036
59658
|
/**
|
|
59037
59659
|
* Total
|
|
59038
59660
|
* @description This field is a number representing grand total for the item.
|
|
@@ -59471,7 +60093,7 @@ export interface components {
|
|
|
59471
60093
|
/**
|
|
59472
60094
|
* Taxes
|
|
59473
60095
|
* @description - visible when customer is resident
|
|
59474
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
60096
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
59475
60097
|
* - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals sales
|
|
59476
60098
|
* @default []
|
|
59477
60099
|
*/
|
|
@@ -59482,6 +60104,12 @@ export interface components {
|
|
|
59482
60104
|
* @default false
|
|
59483
60105
|
*/
|
|
59484
60106
|
includeTaxInUnitPrice: boolean;
|
|
60107
|
+
/**
|
|
60108
|
+
* Appliedexemptions
|
|
60109
|
+
* @description List of tax exemption ids to apply for this item
|
|
60110
|
+
* @default []
|
|
60111
|
+
*/
|
|
60112
|
+
appliedExemptions: string[];
|
|
59485
60113
|
/**
|
|
59486
60114
|
* Dimensionallocations
|
|
59487
60115
|
* @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
|
|
@@ -59492,6 +60120,12 @@ export interface components {
|
|
|
59492
60120
|
* `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
|
|
59493
60121
|
*/
|
|
59494
60122
|
dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
|
|
60123
|
+
/**
|
|
60124
|
+
* Appliedstampduties
|
|
60125
|
+
* @description List of stamp duty tax ids to apply for this item
|
|
60126
|
+
* @default []
|
|
60127
|
+
*/
|
|
60128
|
+
appliedStampDuties: string[];
|
|
59495
60129
|
};
|
|
59496
60130
|
/** CreateUpdateSalesInvoiceSchema */
|
|
59497
60131
|
CreateUpdateSalesInvoiceSchema: {
|
|
@@ -59690,7 +60324,7 @@ export interface components {
|
|
|
59690
60324
|
* Format: uuid
|
|
59691
60325
|
* @description - tax id
|
|
59692
60326
|
* - visible when customer is not resident
|
|
59693
|
-
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
|
|
60327
|
+
* - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales and taxType not equals stampDuty
|
|
59694
60328
|
*/
|
|
59695
60329
|
tax?: string;
|
|
59696
60330
|
/** @default net30Days */
|
|
@@ -87006,18 +87640,252 @@ export interface operations {
|
|
|
87006
87640
|
};
|
|
87007
87641
|
};
|
|
87008
87642
|
};
|
|
87009
|
-
erp_settings_accountingsetting_views_update_default_general_accounts: {
|
|
87643
|
+
erp_settings_accountingsetting_views_update_default_general_accounts: {
|
|
87644
|
+
parameters: {
|
|
87645
|
+
query?: never;
|
|
87646
|
+
header?: never;
|
|
87647
|
+
path?: never;
|
|
87648
|
+
cookie?: never;
|
|
87649
|
+
};
|
|
87650
|
+
requestBody: {
|
|
87651
|
+
content: {
|
|
87652
|
+
"application/json": components["schemas"]["DefaultGeneralAccountsSchema"];
|
|
87653
|
+
};
|
|
87654
|
+
};
|
|
87655
|
+
responses: {
|
|
87656
|
+
/** @description OK */
|
|
87657
|
+
200: {
|
|
87658
|
+
headers: {
|
|
87659
|
+
[name: string]: unknown;
|
|
87660
|
+
};
|
|
87661
|
+
content: {
|
|
87662
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87663
|
+
};
|
|
87664
|
+
};
|
|
87665
|
+
/** @description Bad Request */
|
|
87666
|
+
400: {
|
|
87667
|
+
headers: {
|
|
87668
|
+
[name: string]: unknown;
|
|
87669
|
+
};
|
|
87670
|
+
content: {
|
|
87671
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
87672
|
+
};
|
|
87673
|
+
};
|
|
87674
|
+
/** @description Forbidden */
|
|
87675
|
+
403: {
|
|
87676
|
+
headers: {
|
|
87677
|
+
[name: string]: unknown;
|
|
87678
|
+
};
|
|
87679
|
+
content: {
|
|
87680
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87681
|
+
};
|
|
87682
|
+
};
|
|
87683
|
+
/** @description Not Found */
|
|
87684
|
+
404: {
|
|
87685
|
+
headers: {
|
|
87686
|
+
[name: string]: unknown;
|
|
87687
|
+
};
|
|
87688
|
+
content: {
|
|
87689
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87690
|
+
};
|
|
87691
|
+
};
|
|
87692
|
+
/** @description Internal Server Error */
|
|
87693
|
+
500: {
|
|
87694
|
+
headers: {
|
|
87695
|
+
[name: string]: unknown;
|
|
87696
|
+
};
|
|
87697
|
+
content: {
|
|
87698
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87699
|
+
};
|
|
87700
|
+
};
|
|
87701
|
+
};
|
|
87702
|
+
};
|
|
87703
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_get_subsidiary_accounts_fields: {
|
|
87704
|
+
parameters: {
|
|
87705
|
+
query?: {
|
|
87706
|
+
/** @description feasible if item type is product and u need to filter by specific usage */
|
|
87707
|
+
itemUsage?: "goods" | "raw_material" | "works" | "service" | "wip" | "co_product" | "by_product" | "waste";
|
|
87708
|
+
itemType?: "product" | "service";
|
|
87709
|
+
};
|
|
87710
|
+
header?: never;
|
|
87711
|
+
path?: never;
|
|
87712
|
+
cookie?: never;
|
|
87713
|
+
};
|
|
87714
|
+
requestBody?: never;
|
|
87715
|
+
responses: {
|
|
87716
|
+
/** @description OK */
|
|
87717
|
+
200: {
|
|
87718
|
+
headers: {
|
|
87719
|
+
[name: string]: unknown;
|
|
87720
|
+
};
|
|
87721
|
+
content: {
|
|
87722
|
+
"application/json": {
|
|
87723
|
+
[key: string]: string[];
|
|
87724
|
+
};
|
|
87725
|
+
};
|
|
87726
|
+
};
|
|
87727
|
+
/** @description Bad Request */
|
|
87728
|
+
400: {
|
|
87729
|
+
headers: {
|
|
87730
|
+
[name: string]: unknown;
|
|
87731
|
+
};
|
|
87732
|
+
content: {
|
|
87733
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
87734
|
+
};
|
|
87735
|
+
};
|
|
87736
|
+
/** @description Forbidden */
|
|
87737
|
+
403: {
|
|
87738
|
+
headers: {
|
|
87739
|
+
[name: string]: unknown;
|
|
87740
|
+
};
|
|
87741
|
+
content: {
|
|
87742
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87743
|
+
};
|
|
87744
|
+
};
|
|
87745
|
+
/** @description Not Found */
|
|
87746
|
+
404: {
|
|
87747
|
+
headers: {
|
|
87748
|
+
[name: string]: unknown;
|
|
87749
|
+
};
|
|
87750
|
+
content: {
|
|
87751
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87752
|
+
};
|
|
87753
|
+
};
|
|
87754
|
+
/** @description Internal Server Error */
|
|
87755
|
+
500: {
|
|
87756
|
+
headers: {
|
|
87757
|
+
[name: string]: unknown;
|
|
87758
|
+
};
|
|
87759
|
+
content: {
|
|
87760
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87761
|
+
};
|
|
87762
|
+
};
|
|
87763
|
+
};
|
|
87764
|
+
};
|
|
87765
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_list_subsidiary_accounts: {
|
|
87766
|
+
parameters: {
|
|
87767
|
+
query: {
|
|
87768
|
+
fieldName?: string | null;
|
|
87769
|
+
type: "transactionSubsidiaryAccount" | "accountSettings";
|
|
87770
|
+
/** @description Page number */
|
|
87771
|
+
page?: number;
|
|
87772
|
+
/** @description Page size */
|
|
87773
|
+
pageSize?: number;
|
|
87774
|
+
};
|
|
87775
|
+
header?: never;
|
|
87776
|
+
path?: never;
|
|
87777
|
+
cookie?: never;
|
|
87778
|
+
};
|
|
87779
|
+
requestBody?: never;
|
|
87780
|
+
responses: {
|
|
87781
|
+
/** @description OK */
|
|
87782
|
+
200: {
|
|
87783
|
+
headers: {
|
|
87784
|
+
[name: string]: unknown;
|
|
87785
|
+
};
|
|
87786
|
+
content: {
|
|
87787
|
+
"application/json": components["schemas"]["ListChartOfAccount"];
|
|
87788
|
+
};
|
|
87789
|
+
};
|
|
87790
|
+
/** @description Bad Request */
|
|
87791
|
+
400: {
|
|
87792
|
+
headers: {
|
|
87793
|
+
[name: string]: unknown;
|
|
87794
|
+
};
|
|
87795
|
+
content: {
|
|
87796
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
87797
|
+
};
|
|
87798
|
+
};
|
|
87799
|
+
/** @description Not Found */
|
|
87800
|
+
404: {
|
|
87801
|
+
headers: {
|
|
87802
|
+
[name: string]: unknown;
|
|
87803
|
+
};
|
|
87804
|
+
content: {
|
|
87805
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87806
|
+
};
|
|
87807
|
+
};
|
|
87808
|
+
/** @description Internal Server Error */
|
|
87809
|
+
500: {
|
|
87810
|
+
headers: {
|
|
87811
|
+
[name: string]: unknown;
|
|
87812
|
+
};
|
|
87813
|
+
content: {
|
|
87814
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87815
|
+
};
|
|
87816
|
+
};
|
|
87817
|
+
};
|
|
87818
|
+
};
|
|
87819
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_create_transactional_subsidiary_accounts: {
|
|
87820
|
+
parameters: {
|
|
87821
|
+
query?: never;
|
|
87822
|
+
header?: never;
|
|
87823
|
+
path?: never;
|
|
87824
|
+
cookie?: never;
|
|
87825
|
+
};
|
|
87826
|
+
requestBody: {
|
|
87827
|
+
content: {
|
|
87828
|
+
"application/json": components["schemas"]["CreateTransactionalSubsidiaryAccountsSchema"];
|
|
87829
|
+
};
|
|
87830
|
+
};
|
|
87831
|
+
responses: {
|
|
87832
|
+
/** @description Created */
|
|
87833
|
+
201: {
|
|
87834
|
+
headers: {
|
|
87835
|
+
[name: string]: unknown;
|
|
87836
|
+
};
|
|
87837
|
+
content: {
|
|
87838
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87839
|
+
};
|
|
87840
|
+
};
|
|
87841
|
+
/** @description Bad Request */
|
|
87842
|
+
400: {
|
|
87843
|
+
headers: {
|
|
87844
|
+
[name: string]: unknown;
|
|
87845
|
+
};
|
|
87846
|
+
content: {
|
|
87847
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
87848
|
+
};
|
|
87849
|
+
};
|
|
87850
|
+
/** @description Forbidden */
|
|
87851
|
+
403: {
|
|
87852
|
+
headers: {
|
|
87853
|
+
[name: string]: unknown;
|
|
87854
|
+
};
|
|
87855
|
+
content: {
|
|
87856
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87857
|
+
};
|
|
87858
|
+
};
|
|
87859
|
+
/** @description Not Found */
|
|
87860
|
+
404: {
|
|
87861
|
+
headers: {
|
|
87862
|
+
[name: string]: unknown;
|
|
87863
|
+
};
|
|
87864
|
+
content: {
|
|
87865
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87866
|
+
};
|
|
87867
|
+
};
|
|
87868
|
+
/** @description Internal Server Error */
|
|
87869
|
+
500: {
|
|
87870
|
+
headers: {
|
|
87871
|
+
[name: string]: unknown;
|
|
87872
|
+
};
|
|
87873
|
+
content: {
|
|
87874
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87875
|
+
};
|
|
87876
|
+
};
|
|
87877
|
+
};
|
|
87878
|
+
};
|
|
87879
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_get_subsidiary_accounts: {
|
|
87010
87880
|
parameters: {
|
|
87011
87881
|
query?: never;
|
|
87012
87882
|
header?: never;
|
|
87013
|
-
path
|
|
87014
|
-
|
|
87015
|
-
};
|
|
87016
|
-
requestBody: {
|
|
87017
|
-
content: {
|
|
87018
|
-
"application/json": components["schemas"]["DefaultGeneralAccountsSchema"];
|
|
87883
|
+
path: {
|
|
87884
|
+
id: number;
|
|
87019
87885
|
};
|
|
87886
|
+
cookie?: never;
|
|
87020
87887
|
};
|
|
87888
|
+
requestBody?: never;
|
|
87021
87889
|
responses: {
|
|
87022
87890
|
/** @description OK */
|
|
87023
87891
|
200: {
|
|
@@ -87025,7 +87893,7 @@ export interface operations {
|
|
|
87025
87893
|
[name: string]: unknown;
|
|
87026
87894
|
};
|
|
87027
87895
|
content: {
|
|
87028
|
-
"application/json": components["schemas"]["
|
|
87896
|
+
"application/json": components["schemas"]["RetrieveTransactionalSubsidiaryAccountsSchema"];
|
|
87029
87897
|
};
|
|
87030
87898
|
};
|
|
87031
87899
|
/** @description Bad Request */
|
|
@@ -87066,18 +87934,76 @@ export interface operations {
|
|
|
87066
87934
|
};
|
|
87067
87935
|
};
|
|
87068
87936
|
};
|
|
87069
|
-
|
|
87937
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_delete_subsidiary_accounts: {
|
|
87070
87938
|
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
|
-
};
|
|
87939
|
+
query?: never;
|
|
87076
87940
|
header?: never;
|
|
87077
|
-
path
|
|
87941
|
+
path: {
|
|
87942
|
+
id: number;
|
|
87943
|
+
};
|
|
87078
87944
|
cookie?: never;
|
|
87079
87945
|
};
|
|
87080
87946
|
requestBody?: never;
|
|
87947
|
+
responses: {
|
|
87948
|
+
/** @description No Content */
|
|
87949
|
+
204: {
|
|
87950
|
+
headers: {
|
|
87951
|
+
[name: string]: unknown;
|
|
87952
|
+
};
|
|
87953
|
+
content?: never;
|
|
87954
|
+
};
|
|
87955
|
+
/** @description Bad Request */
|
|
87956
|
+
400: {
|
|
87957
|
+
headers: {
|
|
87958
|
+
[name: string]: unknown;
|
|
87959
|
+
};
|
|
87960
|
+
content: {
|
|
87961
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
87962
|
+
};
|
|
87963
|
+
};
|
|
87964
|
+
/** @description Forbidden */
|
|
87965
|
+
403: {
|
|
87966
|
+
headers: {
|
|
87967
|
+
[name: string]: unknown;
|
|
87968
|
+
};
|
|
87969
|
+
content: {
|
|
87970
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87971
|
+
};
|
|
87972
|
+
};
|
|
87973
|
+
/** @description Not Found */
|
|
87974
|
+
404: {
|
|
87975
|
+
headers: {
|
|
87976
|
+
[name: string]: unknown;
|
|
87977
|
+
};
|
|
87978
|
+
content: {
|
|
87979
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87980
|
+
};
|
|
87981
|
+
};
|
|
87982
|
+
/** @description Internal Server Error */
|
|
87983
|
+
500: {
|
|
87984
|
+
headers: {
|
|
87985
|
+
[name: string]: unknown;
|
|
87986
|
+
};
|
|
87987
|
+
content: {
|
|
87988
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87989
|
+
};
|
|
87990
|
+
};
|
|
87991
|
+
};
|
|
87992
|
+
};
|
|
87993
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_update_transactional_subsidiary_accounts: {
|
|
87994
|
+
parameters: {
|
|
87995
|
+
query?: never;
|
|
87996
|
+
header?: never;
|
|
87997
|
+
path: {
|
|
87998
|
+
id: number;
|
|
87999
|
+
};
|
|
88000
|
+
cookie?: never;
|
|
88001
|
+
};
|
|
88002
|
+
requestBody: {
|
|
88003
|
+
content: {
|
|
88004
|
+
"application/json": components["schemas"]["UpdateTransactionalSubsidiaryAccountsSchema"];
|
|
88005
|
+
};
|
|
88006
|
+
};
|
|
87081
88007
|
responses: {
|
|
87082
88008
|
/** @description OK */
|
|
87083
88009
|
200: {
|
|
@@ -87085,9 +88011,7 @@ export interface operations {
|
|
|
87085
88011
|
[name: string]: unknown;
|
|
87086
88012
|
};
|
|
87087
88013
|
content: {
|
|
87088
|
-
"application/json":
|
|
87089
|
-
[key: string]: string[];
|
|
87090
|
-
};
|
|
88014
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87091
88015
|
};
|
|
87092
88016
|
};
|
|
87093
88017
|
/** @description Bad Request */
|
|
@@ -87128,11 +88052,9 @@ export interface operations {
|
|
|
87128
88052
|
};
|
|
87129
88053
|
};
|
|
87130
88054
|
};
|
|
87131
|
-
|
|
88055
|
+
erp_settings_accountingsetting_subsidiary_accounts_views_list_transactional_subsidiary_accounts: {
|
|
87132
88056
|
parameters: {
|
|
87133
|
-
query
|
|
87134
|
-
fieldName?: string | null;
|
|
87135
|
-
type: "transactionSubsidiaryAccount" | "accountSettings";
|
|
88057
|
+
query?: {
|
|
87136
88058
|
/** @description Page number */
|
|
87137
88059
|
page?: number;
|
|
87138
88060
|
/** @description Page size */
|
|
@@ -87150,7 +88072,7 @@ export interface operations {
|
|
|
87150
88072
|
[name: string]: unknown;
|
|
87151
88073
|
};
|
|
87152
88074
|
content: {
|
|
87153
|
-
"application/json": components["schemas"]["
|
|
88075
|
+
"application/json": components["schemas"]["ListTransactionalSubsidiaryAccountsSchema"];
|
|
87154
88076
|
};
|
|
87155
88077
|
};
|
|
87156
88078
|
/** @description Bad Request */
|
|
@@ -87162,6 +88084,15 @@ export interface operations {
|
|
|
87162
88084
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
87163
88085
|
};
|
|
87164
88086
|
};
|
|
88087
|
+
/** @description Forbidden */
|
|
88088
|
+
403: {
|
|
88089
|
+
headers: {
|
|
88090
|
+
[name: string]: unknown;
|
|
88091
|
+
};
|
|
88092
|
+
content: {
|
|
88093
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
88094
|
+
};
|
|
88095
|
+
};
|
|
87165
88096
|
/** @description Not Found */
|
|
87166
88097
|
404: {
|
|
87167
88098
|
headers: {
|
|
@@ -87182,26 +88113,30 @@ export interface operations {
|
|
|
87182
88113
|
};
|
|
87183
88114
|
};
|
|
87184
88115
|
};
|
|
87185
|
-
|
|
88116
|
+
erp_settings_accountingsetting_tax_views_get_tax_accounts_in_dropdown: {
|
|
87186
88117
|
parameters: {
|
|
87187
|
-
query
|
|
88118
|
+
query: {
|
|
88119
|
+
isVat: boolean;
|
|
88120
|
+
/** @example sales */
|
|
88121
|
+
type: string;
|
|
88122
|
+
/** @description Page number */
|
|
88123
|
+
page?: number;
|
|
88124
|
+
/** @description Page size */
|
|
88125
|
+
pageSize?: number;
|
|
88126
|
+
};
|
|
87188
88127
|
header?: never;
|
|
87189
88128
|
path?: never;
|
|
87190
88129
|
cookie?: never;
|
|
87191
88130
|
};
|
|
87192
|
-
requestBody
|
|
87193
|
-
content: {
|
|
87194
|
-
"application/json": components["schemas"]["CreateTransactionalSubsidiaryAccountsSchema"];
|
|
87195
|
-
};
|
|
87196
|
-
};
|
|
88131
|
+
requestBody?: never;
|
|
87197
88132
|
responses: {
|
|
87198
|
-
/** @description
|
|
87199
|
-
|
|
88133
|
+
/** @description OK */
|
|
88134
|
+
200: {
|
|
87200
88135
|
headers: {
|
|
87201
88136
|
[name: string]: unknown;
|
|
87202
88137
|
};
|
|
87203
88138
|
content: {
|
|
87204
|
-
"application/json": components["schemas"]["
|
|
88139
|
+
"application/json": components["schemas"]["AccountPerBranchesInList"];
|
|
87205
88140
|
};
|
|
87206
88141
|
};
|
|
87207
88142
|
/** @description Bad Request */
|
|
@@ -87213,15 +88148,6 @@ export interface operations {
|
|
|
87213
88148
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
87214
88149
|
};
|
|
87215
88150
|
};
|
|
87216
|
-
/** @description Forbidden */
|
|
87217
|
-
403: {
|
|
87218
|
-
headers: {
|
|
87219
|
-
[name: string]: unknown;
|
|
87220
|
-
};
|
|
87221
|
-
content: {
|
|
87222
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
87223
|
-
};
|
|
87224
|
-
};
|
|
87225
88151
|
/** @description Not Found */
|
|
87226
88152
|
404: {
|
|
87227
88153
|
headers: {
|
|
@@ -87242,13 +88168,14 @@ export interface operations {
|
|
|
87242
88168
|
};
|
|
87243
88169
|
};
|
|
87244
88170
|
};
|
|
87245
|
-
|
|
88171
|
+
erp_settings_accountingsetting_tax_views_list_taxes: {
|
|
87246
88172
|
parameters: {
|
|
87247
|
-
query?:
|
|
87248
|
-
|
|
87249
|
-
|
|
87250
|
-
id: number;
|
|
88173
|
+
query?: {
|
|
88174
|
+
/** @description Search by tax name */
|
|
88175
|
+
search?: string | null;
|
|
87251
88176
|
};
|
|
88177
|
+
header?: never;
|
|
88178
|
+
path?: never;
|
|
87252
88179
|
cookie?: never;
|
|
87253
88180
|
};
|
|
87254
88181
|
requestBody?: never;
|
|
@@ -87259,7 +88186,7 @@ export interface operations {
|
|
|
87259
88186
|
[name: string]: unknown;
|
|
87260
88187
|
};
|
|
87261
88188
|
content: {
|
|
87262
|
-
"application/json": components["schemas"]["
|
|
88189
|
+
"application/json": components["schemas"]["ListTaxes"];
|
|
87263
88190
|
};
|
|
87264
88191
|
};
|
|
87265
88192
|
/** @description Bad Request */
|
|
@@ -87300,23 +88227,27 @@ export interface operations {
|
|
|
87300
88227
|
};
|
|
87301
88228
|
};
|
|
87302
88229
|
};
|
|
87303
|
-
|
|
88230
|
+
erp_settings_accountingsetting_tax_views_create_tax: {
|
|
87304
88231
|
parameters: {
|
|
87305
88232
|
query?: never;
|
|
87306
88233
|
header?: never;
|
|
87307
|
-
path
|
|
87308
|
-
id: number;
|
|
87309
|
-
};
|
|
88234
|
+
path?: never;
|
|
87310
88235
|
cookie?: never;
|
|
87311
88236
|
};
|
|
87312
|
-
requestBody
|
|
88237
|
+
requestBody: {
|
|
88238
|
+
content: {
|
|
88239
|
+
"application/json": components["schemas"]["CreateTax"];
|
|
88240
|
+
};
|
|
88241
|
+
};
|
|
87313
88242
|
responses: {
|
|
87314
|
-
/** @description
|
|
87315
|
-
|
|
88243
|
+
/** @description Created */
|
|
88244
|
+
201: {
|
|
87316
88245
|
headers: {
|
|
87317
88246
|
[name: string]: unknown;
|
|
87318
88247
|
};
|
|
87319
|
-
content
|
|
88248
|
+
content: {
|
|
88249
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
88250
|
+
};
|
|
87320
88251
|
};
|
|
87321
88252
|
/** @description Bad Request */
|
|
87322
88253
|
400: {
|
|
@@ -87356,20 +88287,16 @@ export interface operations {
|
|
|
87356
88287
|
};
|
|
87357
88288
|
};
|
|
87358
88289
|
};
|
|
87359
|
-
|
|
88290
|
+
erp_settings_accountingsetting_tax_views_get_tax: {
|
|
87360
88291
|
parameters: {
|
|
87361
88292
|
query?: never;
|
|
87362
88293
|
header?: never;
|
|
87363
88294
|
path: {
|
|
87364
|
-
id:
|
|
88295
|
+
id: string;
|
|
87365
88296
|
};
|
|
87366
88297
|
cookie?: never;
|
|
87367
88298
|
};
|
|
87368
|
-
requestBody
|
|
87369
|
-
content: {
|
|
87370
|
-
"application/json": components["schemas"]["UpdateTransactionalSubsidiaryAccountsSchema"];
|
|
87371
|
-
};
|
|
87372
|
-
};
|
|
88299
|
+
requestBody?: never;
|
|
87373
88300
|
responses: {
|
|
87374
88301
|
/** @description OK */
|
|
87375
88302
|
200: {
|
|
@@ -87377,7 +88304,7 @@ export interface operations {
|
|
|
87377
88304
|
[name: string]: unknown;
|
|
87378
88305
|
};
|
|
87379
88306
|
content: {
|
|
87380
|
-
"application/json": components["schemas"]["
|
|
88307
|
+
"application/json": components["schemas"]["RetrieveTax"];
|
|
87381
88308
|
};
|
|
87382
88309
|
};
|
|
87383
88310
|
/** @description Bad Request */
|
|
@@ -87418,28 +88345,23 @@ export interface operations {
|
|
|
87418
88345
|
};
|
|
87419
88346
|
};
|
|
87420
88347
|
};
|
|
87421
|
-
|
|
88348
|
+
erp_settings_accountingsetting_tax_views_delete_tax: {
|
|
87422
88349
|
parameters: {
|
|
87423
|
-
query?:
|
|
87424
|
-
/** @description Page number */
|
|
87425
|
-
page?: number;
|
|
87426
|
-
/** @description Page size */
|
|
87427
|
-
pageSize?: number;
|
|
87428
|
-
};
|
|
88350
|
+
query?: never;
|
|
87429
88351
|
header?: never;
|
|
87430
|
-
path
|
|
88352
|
+
path: {
|
|
88353
|
+
id: string;
|
|
88354
|
+
};
|
|
87431
88355
|
cookie?: never;
|
|
87432
88356
|
};
|
|
87433
88357
|
requestBody?: never;
|
|
87434
88358
|
responses: {
|
|
87435
|
-
/** @description
|
|
87436
|
-
|
|
88359
|
+
/** @description No Content */
|
|
88360
|
+
204: {
|
|
87437
88361
|
headers: {
|
|
87438
88362
|
[name: string]: unknown;
|
|
87439
88363
|
};
|
|
87440
|
-
content
|
|
87441
|
-
"application/json": components["schemas"]["ListTransactionalSubsidiaryAccountsSchema"];
|
|
87442
|
-
};
|
|
88364
|
+
content?: never;
|
|
87443
88365
|
};
|
|
87444
88366
|
/** @description Bad Request */
|
|
87445
88367
|
400: {
|
|
@@ -87479,22 +88401,20 @@ export interface operations {
|
|
|
87479
88401
|
};
|
|
87480
88402
|
};
|
|
87481
88403
|
};
|
|
87482
|
-
|
|
88404
|
+
erp_settings_accountingsetting_tax_views_update_tax: {
|
|
87483
88405
|
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
|
-
};
|
|
88406
|
+
query?: never;
|
|
87493
88407
|
header?: never;
|
|
87494
|
-
path
|
|
88408
|
+
path: {
|
|
88409
|
+
id: string;
|
|
88410
|
+
};
|
|
87495
88411
|
cookie?: never;
|
|
87496
88412
|
};
|
|
87497
|
-
requestBody
|
|
88413
|
+
requestBody: {
|
|
88414
|
+
content: {
|
|
88415
|
+
"application/json": components["schemas"]["UpdateTax"];
|
|
88416
|
+
};
|
|
88417
|
+
};
|
|
87498
88418
|
responses: {
|
|
87499
88419
|
/** @description OK */
|
|
87500
88420
|
200: {
|
|
@@ -87502,7 +88422,7 @@ export interface operations {
|
|
|
87502
88422
|
[name: string]: unknown;
|
|
87503
88423
|
};
|
|
87504
88424
|
content: {
|
|
87505
|
-
"application/json": components["schemas"]["
|
|
88425
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
87506
88426
|
};
|
|
87507
88427
|
};
|
|
87508
88428
|
/** @description Bad Request */
|
|
@@ -87514,6 +88434,15 @@ export interface operations {
|
|
|
87514
88434
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
87515
88435
|
};
|
|
87516
88436
|
};
|
|
88437
|
+
/** @description Forbidden */
|
|
88438
|
+
403: {
|
|
88439
|
+
headers: {
|
|
88440
|
+
[name: string]: unknown;
|
|
88441
|
+
};
|
|
88442
|
+
content: {
|
|
88443
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
88444
|
+
};
|
|
88445
|
+
};
|
|
87517
88446
|
/** @description Not Found */
|
|
87518
88447
|
404: {
|
|
87519
88448
|
headers: {
|
|
@@ -87534,7 +88463,7 @@ export interface operations {
|
|
|
87534
88463
|
};
|
|
87535
88464
|
};
|
|
87536
88465
|
};
|
|
87537
|
-
|
|
88466
|
+
erp_settings_accountingsetting_tax_rule_views_list_tax_rules: {
|
|
87538
88467
|
parameters: {
|
|
87539
88468
|
query?: {
|
|
87540
88469
|
/** @description Search by tax name */
|
|
@@ -87552,7 +88481,7 @@ export interface operations {
|
|
|
87552
88481
|
[name: string]: unknown;
|
|
87553
88482
|
};
|
|
87554
88483
|
content: {
|
|
87555
|
-
"application/json": components["schemas"]["
|
|
88484
|
+
"application/json": components["schemas"]["ListTaxRules"];
|
|
87556
88485
|
};
|
|
87557
88486
|
};
|
|
87558
88487
|
/** @description Bad Request */
|
|
@@ -87593,7 +88522,7 @@ export interface operations {
|
|
|
87593
88522
|
};
|
|
87594
88523
|
};
|
|
87595
88524
|
};
|
|
87596
|
-
|
|
88525
|
+
erp_settings_accountingsetting_tax_rule_views_create_tax_rule: {
|
|
87597
88526
|
parameters: {
|
|
87598
88527
|
query?: never;
|
|
87599
88528
|
header?: never;
|
|
@@ -87602,7 +88531,7 @@ export interface operations {
|
|
|
87602
88531
|
};
|
|
87603
88532
|
requestBody: {
|
|
87604
88533
|
content: {
|
|
87605
|
-
"application/json": components["schemas"]["
|
|
88534
|
+
"application/json": components["schemas"]["CreateTaxRule"];
|
|
87606
88535
|
};
|
|
87607
88536
|
};
|
|
87608
88537
|
responses: {
|
|
@@ -87653,7 +88582,7 @@ export interface operations {
|
|
|
87653
88582
|
};
|
|
87654
88583
|
};
|
|
87655
88584
|
};
|
|
87656
|
-
|
|
88585
|
+
erp_settings_accountingsetting_tax_rule_views_get_tax_rule: {
|
|
87657
88586
|
parameters: {
|
|
87658
88587
|
query?: never;
|
|
87659
88588
|
header?: never;
|
|
@@ -87670,7 +88599,7 @@ export interface operations {
|
|
|
87670
88599
|
[name: string]: unknown;
|
|
87671
88600
|
};
|
|
87672
88601
|
content: {
|
|
87673
|
-
"application/json": components["schemas"]["
|
|
88602
|
+
"application/json": components["schemas"]["RetrieveTaxRule"];
|
|
87674
88603
|
};
|
|
87675
88604
|
};
|
|
87676
88605
|
/** @description Bad Request */
|
|
@@ -87711,7 +88640,7 @@ export interface operations {
|
|
|
87711
88640
|
};
|
|
87712
88641
|
};
|
|
87713
88642
|
};
|
|
87714
|
-
|
|
88643
|
+
erp_settings_accountingsetting_tax_rule_views_delete_tax_rule: {
|
|
87715
88644
|
parameters: {
|
|
87716
88645
|
query?: never;
|
|
87717
88646
|
header?: never;
|
|
@@ -87767,7 +88696,7 @@ export interface operations {
|
|
|
87767
88696
|
};
|
|
87768
88697
|
};
|
|
87769
88698
|
};
|
|
87770
|
-
|
|
88699
|
+
erp_settings_accountingsetting_tax_rule_views_update_tax_rule: {
|
|
87771
88700
|
parameters: {
|
|
87772
88701
|
query?: never;
|
|
87773
88702
|
header?: never;
|
|
@@ -87778,7 +88707,7 @@ export interface operations {
|
|
|
87778
88707
|
};
|
|
87779
88708
|
requestBody: {
|
|
87780
88709
|
content: {
|
|
87781
|
-
"application/json": components["schemas"]["
|
|
88710
|
+
"application/json": components["schemas"]["UpdateTaxRule"];
|
|
87782
88711
|
};
|
|
87783
88712
|
};
|
|
87784
88713
|
responses: {
|