From 6b358ccad7851dcc47f17e36d1105ebf18ecec14 Mon Sep 17 00:00:00 2001 From: Marcelo Monaco Date: Wed, 11 Mar 2020 10:46:48 -0300 Subject: [PATCH] Fix AddStateTax return --- statetax.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statetax.go b/statetax.go index 04ae365..ef7b3ef 100644 --- a/statetax.go +++ b/statetax.go @@ -6,7 +6,7 @@ import ( "time" ) -func (c *Client) AddStateTax(companyId string, stateTax *StateTax) (response CompaniesResponse, err error) { +func (c *Client) AddStateTax(companyId string, stateTax *StateTax) (response StateTaxResponse, err error) { err = c.Post(fmt.Sprintf("companies/%s/statetaxes", companyId), Params{"stateTax": stateTax}, nil, &response) return }