Our integration is throwing this error and I am no...
# general
l
Our integration is throwing this error and I am not sure what permission is missing: You do not have permissions to set a value for element vatregnum due to one of the following reasons: 1. The field is read only. 2. An associated feature is disabled. 3. The field is available either when a record is created or updated, but not in both cases.
s
Customer or supplier record?
e
@Luis Using the REST API? Last year we struggled with that field, not exposed in the API at the time I think.
r
FYI if that field isn't currently exposed, it's unlikely that they will expose it. I got the note from support a couple months back that the Vat Reg Number field is part of "legacy tax" and they're only adding support for SuiteTax stuff.
Also, try doing manually in the UI what your integration is doing. I have a vague recollection from years ago that there used to be two different tax fields, one for US-based customers and one for non-US-based customers. I think Vat Reg Num is the one for non-US. Depending on the customer, it would only show one field or the other. So if the field isn't visible/available because it's a US customer, that could be why you're getting that error. Note that this might have been changed like 5 years ago and I just haven't noticed...lol. But just throwing out shots in the dark.