新增扣税

This commit is contained in:
2025-06-22 16:02:09 +08:00
parent 541b88bbf8
commit 8b728e28c5
18 changed files with 1206 additions and 28 deletions

View File

@@ -233,6 +233,9 @@ service main {
@handler ActivateAgentMembership
post /membership/activate (AgentActivateMembershipReq) returns (AgentActivateMembershipResp)
@handler GetAgentWithdrawalTaxExemption
get /withdrawal/tax/exemption (GetWithdrawalTaxExemptionReq) returns (GetWithdrawalTaxExemptionResp)
}
type (
@@ -332,6 +335,14 @@ type (
AgentActivateMembershipResp {
Id string `json:"id"`
}
GetWithdrawalTaxExemptionReq {
}
GetWithdrawalTaxExemptionResp {
TotalExemptionAmount float64 `json:"total_exemption_amount"`
UsedExemptionAmount float64 `json:"used_exemption_amount"`
RemainingExemptionAmount float64 `json:"remaining_exemption_amount"`
TaxRate float64 `json:"tax_rate"`
}
)
@server (