# Vendor record integration

Source: https://developer.avalara.com/avatax-for-ap/jtu1868838760731/

# Vendor record integration

Understand the requirements for setting up vendor records in Avalara systems.

This section describes the requirements for setting up your vendors.

Requirement

Use case

Endpoints/Models

Type

[Vendor codes](/avatax-for-ap/wgs8434313380044/)

Merchants/users must be able to input a case-sensitive and unique vendor identifier field (typically the database key in the vendor master) that maps to the `customerCode` field in Avalara.

N/A

Required

[Entity use codes](/avatax-for-ap/vwx7722395864470/ "Learn about entity use codes, their purpose, and how to use them in AvaTax transactions.")

Merchants/users must be able to input a group of codes that indicate the type of exemption. These can be standard codes and custom codes.

It’s best to manage this value in your application’s customer record and pass it to AvaTax as `entityUseCode` at either the document or line level, whichever is applicable.

[ListEntityUseCodes](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListEntityUseCodes/)

[CreateTransactionModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/CreateTransactionModel/)

Required