with respect to above question please see below
The address you are passing in type-1
As you are entering the city,state postal code and country in the Address 4 and Address 5 you are getting this The first version gives the error: “The "address" field has an invalid value "". QuickBooks error message: The parameter is incorrect.” error.
That address 4 and 5 is reserved for street address.
In the mappings we have separate fields to map for city,state postal code and country,you can map ,provide value there.
The second error you are getting because in QuickBooks the Address is already entered in
To resolve this moving forward you can enter city,state postal code and country map separately and it will sync.