Skip to main content
Avalara Help Center

Is there a unique identifier in the resultcode of an API call?

Overview

For our system we need to store the equivalent of the tax detail (with the rate and location), but we are not sure how to make sure we don't have duplicates. 

Environment

Avalara Avatax

Resolution

  • If you are trying to store the entire result code the DocCode will always be unique, and thus could be used as your unique identifier
  • If you are trying to ONLY store the tax detail section of the result code and you are not recording the entire result code there is no unique identifier.