AvaTax

Version v2
APConfigSetting
Accounts
Addresses
AvaFileForms
Batches
CertExpressInvites
Certificates
Clerk
CommunicationCertificates
Companies
Compliance
Contacts
CostCenter
Customers
DataSources
Definitions
DistanceThresholds
DomainControlVerification
ECommerceToken
EcmEventNotifications
EcoNexusThreshold
FirmClientLinkages
FormTypeMapping
FundingRequests
GLAccount
Items
ItemsReverseSync
Jobs
JurisdictionOverrides
Locations
MultiDocument
Nexus
Notices
Notifications
Provisioning
Registrar
Reports
Settings
Subscriptions
TaxCodes
TaxContent
TaxRules
Transactions
Upcs
UserDefinedFields
Users
Utilities
VendorCertificates
Vendors

VendorCertificateModel

Represents a certificate document for vendors. This model inherits all properties from CertificateModel and adds vendor-specific functionality.

Parameters
documentTypeIdOptional
integer

The unique ID number of the document type for this vendor certificate.

documentTypeNameOptional
string

The name of the document type for this vendor certificate.

documentTypeDescriptionOptional
string

The description of the document type for this vendor certificate.

documentTypeOutgoingOptional
boolean

Indicates whether this document type is for outgoing documents.

idOptional
integer

The unique ID number of this certificate.

companyIdOptional
integer

The unique ID number of the AvaTax company that recorded this certificate.

signedDateRequired
string

The date when this certificate was signed.

expirationDateOptional
string

Expiration date when this certificate will no longer be valid.

filenameOptional
string

File name for the image of this certificate.

When creating a certificate, if you do not upload a PDF or JPG image, you must specify the filename of the certificate as it is tracked in your repository.

To create a certificate, you must provide one of the following fields: either a filename, a pdf file, or an array of JPG pages. The API will return an error if you omit these fields or if you attempt to put values in more than one of them.

documentExistsOptional
boolean

This value is true if there exists scanned PDF copy of this certificate or the PDF version of the form that the customer filled via the CertCapture wizard on S3 bucket.

validOptional
boolean

True if this certificate is marked as valid. A valid certificate can be considered for exemption purposes. When a certificate is marked invalid, it will no longer be considered when calculating exemption for a customer.

verifiedOptional
boolean

This value is true if the certificate has gone through the certificate validation process. For more information on the certificate validation process, please see the Avalara Help Center.

exemptPercentageOptional
number

If this certificate provides exemption from transactional taxes, what percentage of the transaction is considered exempt?

For a fully exempt certificate, this percentage should be 100.

isSingleCertificateOptional
boolean

This value is true if this certificate is a single (or standalone) certificate. This value is set during the audit stage of the certificate validation process.

exemptionNumberOptional
string

Indicates the tax number passed in for the certificate.

validatedExemptionReasonOptional
ExemptionReasonModel

The exemption reason that CertCapture audit/internal logic identifies for created certificate.

exemptionReasonRequired
ExemptionReasonModel

The exemption reason associated with this certificate. For example, the reason code for exemption for purposes of resale is RESALE.

For a list of exemption reasons, call ListCertificateExemptReasons.

statusOptional
string

The status of the certificate. Possible values for status COMPLETE,PENDING,PENDING-FUTURE,PENDING-MULTI,PENDING-SINGLE,REVOKED

ecmStatusOptional
string

The status of the certificate as displayed on https://exemptions.avalara.com. The values in CertificateEcmStatus include all the possible status values.

Enum: None, Expired, Invalid, Valid, PendingFuture
createdDateOptional
string

The date/time when this record was created.

modifiedDateOptional
string

The date/time when this record was last modified.

taxNumberTypeOptional
string

The tax number type for the certificate. For example, FEIN, Social Security Number, or Employer Identification Number.

businessNumberTypeOptional
string

Description of business for the certificate. For example, Retail trade, Professional services, or Construction.

pageCountOptional
integer

The number of pages contained within this certificate.

customersOptional
array

A list of customers to which this certificate applies. You can fetch this data by specifying $include=customers when calling a certificate fetch API.

poNumbersOptional
array

A list of purchase order numbers that are valid for use with this certificate.

If this certificate is applicable for all purchase order numbers, this field will be empty.

You can fetch this data by specifying $include=po_numbers when calling a certificate fetch API.

exposureZoneRequired
ExposureZoneModel

The exposure zone where this certificate is valid.

exposureZoneNameOptional
string

The name of the exposure zone where this certificate is valid. This is a computed property for filtering purposes.

jurisdictionsOptional
array

A list of jurisdictions associated with this certificate, indicating the tax authority regions where the certificate applies. A certificate can have one or more jurisdictions.

You can fetch this data by specifying $include=jurisdictions when calling a certificate fetch API.

attributesOptional
array

A list of certificate attributes that apply to this certificate.

You can fetch this data by specifying $include=attributes when calling a certificate fetch API.

historiesOptional
array

A list of update histories for this certificate.

You can fetch this data by specifying $include=histories when calling a certificate fetch API.

jobsOptional
array

The jobs (and their phases / tasks) associated with this certificate.

On POST / PUT: supply the id of each existing job — and optionally nested phase / task ids — to link them to this certificate. All other fields on each entry (name, jobNumber, isExplicit, etc.) are server-computed and ignored on input.

On GET: populated when $include=jobs is specified. Use $include=jobs.phases to also expand the phases within each job, and $include=jobs.tasks to expand the tasks within each phase (which implies jobs and jobs.phases).

logsOptional
array

A list of logs for this certificate.

You can fetch this data by specifying $include=logs when calling a certificate fetch API.

invalidReasonsOptional
array

For a certificate with an invalid status, this lists the reasons why the certificate is invalid.

You can fetch this data by specifying $include=invalid_reasons when calling a certificate fetch API.

customFieldsOptional
array

A list of custom defined fields for this certificate.

You can fetch this data by specifying $include=custom_fields when calling a certificate fetch API.

ecmsIdOptional
integer

The unique ID number of current AvaTax Exemption Certificate that refers this certificate.

ecmsStatusOptional
string

The status of current AvaTax Exemption Certificate that refers to this certificate.

pdfOptional
string

This field is available for input only. To retrieve the image after creation, use the DownloadCertificateImage API.

When creating a certificate, you may optionally provide a PDF image in Base64 URLEncoded format. PDFs are automatically parsed into individual page JPG images and can be retrieved back later as either the original PDF or the individual pages.

To create a certificate, you must provide one of the following fields: either a filename, a pdf file, or an array of JPG pages. The API will return an error if you omit these fields or if you attempt to put values in more than one of them.

pagesOptional
array

This field is available for input only. To retrieve the image after creation, use the DownloadCertificateImage API.

When creating a certificate, you may optionally provide a list of JPG images, one per page, in Base64 URLEncoded format. These JPG images are automatically combined into a single downloadable PDF and can be retrieved back later as either the original JPG images or the combined PDF.

To create a certificate, you must provide one of the following fields: either a filename, a pdf file, or an array of JPG pages. The API will return an error if you omit these fields or if you attempt to put values in more than one of them.