Skip to main content
POST
/
coa
/
api
/
vendor
Create Vendor
curl --request POST \
  --url https://api.meetcampfire.com/coa/api/vendor \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "contacts": [
    {
      "name": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "jsmith@example.com",
      "phone_number": "<string>",
      "mobile_number": "<string>"
    }
  ],
  "vendor_type": "vendor",
  "dba": "<string>",
  "company_name": "<string>",
  "website": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "jsmith@example.com",
  "phone_number": "<string>",
  "mobile_number": "<string>",
  "address_street_1": "<string>",
  "address_street_2": "<string>",
  "city": "<string>",
  "state": "<string>",
  "zip_code": "<string>",
  "country": "<string>",
  "billing_address_street_1": "<string>",
  "billing_address_street_2": "<string>",
  "billing_city": "<string>",
  "billing_state": "<string>",
  "billing_zip_code": "<string>",
  "billing_country": "<string>",
  "shipping_addressee": "<string>",
  "billing_addressee": "<string>",
  "notes": "<string>",
  "business_id_ssn": "<string>",
  "is_1099": true,
  "vat_number": "<string>",
  "business_type": "<string>",
  "business_category": "<string>",
  "entity_use_code": "<string>",
  "withholding_tax_id": "<string>",
  "stripe_customer_id": "<string>",
  "use_stripe_auto_bill": true,
  "bill_vendor_id": "<string>",
  "external_id": "<string>",
  "invoice_message": "<string>",
  "abbreviation": "<string>",
  "anrok_customer_id": "<string>",
  "invoice_labels": null,
  "invoice_language": "<string>",
  "lineage_array": [
    "<string>"
  ],
  "parent": 123,
  "stripe_connection": 123,
  "default_expense_category": 123,
  "vendor_custom_field_1": 123,
  "payment_term": 123
}
'
import requests

url = "https://api.meetcampfire.com/coa/api/vendor"

payload = {
    "name": "<string>",
    "contacts": [
        {
            "name": "<string>",
            "first_name": "<string>",
            "last_name": "<string>",
            "email": "jsmith@example.com",
            "phone_number": "<string>",
            "mobile_number": "<string>"
        }
    ],
    "vendor_type": "vendor",
    "dba": "<string>",
    "company_name": "<string>",
    "website": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "jsmith@example.com",
    "phone_number": "<string>",
    "mobile_number": "<string>",
    "address_street_1": "<string>",
    "address_street_2": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zip_code": "<string>",
    "country": "<string>",
    "billing_address_street_1": "<string>",
    "billing_address_street_2": "<string>",
    "billing_city": "<string>",
    "billing_state": "<string>",
    "billing_zip_code": "<string>",
    "billing_country": "<string>",
    "shipping_addressee": "<string>",
    "billing_addressee": "<string>",
    "notes": "<string>",
    "business_id_ssn": "<string>",
    "is_1099": True,
    "vat_number": "<string>",
    "business_type": "<string>",
    "business_category": "<string>",
    "entity_use_code": "<string>",
    "withholding_tax_id": "<string>",
    "stripe_customer_id": "<string>",
    "use_stripe_auto_bill": True,
    "bill_vendor_id": "<string>",
    "external_id": "<string>",
    "invoice_message": "<string>",
    "abbreviation": "<string>",
    "anrok_customer_id": "<string>",
    "invoice_labels": None,
    "invoice_language": "<string>",
    "lineage_array": ["<string>"],
    "parent": 123,
    "stripe_connection": 123,
    "default_expense_category": 123,
    "vendor_custom_field_1": 123,
    "payment_term": 123
}
headers = {
    "Authorization": "<api-key>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
  method: 'POST',
  headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
  body: JSON.stringify({
    name: '<string>',
    contacts: [
      {
        name: '<string>',
        first_name: '<string>',
        last_name: '<string>',
        email: 'jsmith@example.com',
        phone_number: '<string>',
        mobile_number: '<string>'
      }
    ],
    vendor_type: 'vendor',
    dba: '<string>',
    company_name: '<string>',
    website: '<string>',
    first_name: '<string>',
    last_name: '<string>',
    email: 'jsmith@example.com',
    phone_number: '<string>',
    mobile_number: '<string>',
    address_street_1: '<string>',
    address_street_2: '<string>',
    city: '<string>',
    state: '<string>',
    zip_code: '<string>',
    country: '<string>',
    billing_address_street_1: '<string>',
    billing_address_street_2: '<string>',
    billing_city: '<string>',
    billing_state: '<string>',
    billing_zip_code: '<string>',
    billing_country: '<string>',
    shipping_addressee: '<string>',
    billing_addressee: '<string>',
    notes: '<string>',
    business_id_ssn: '<string>',
    is_1099: true,
    vat_number: '<string>',
    business_type: '<string>',
    business_category: '<string>',
    entity_use_code: '<string>',
    withholding_tax_id: '<string>',
    stripe_customer_id: '<string>',
    use_stripe_auto_bill: true,
    bill_vendor_id: '<string>',
    external_id: '<string>',
    invoice_message: '<string>',
    abbreviation: '<string>',
    anrok_customer_id: '<string>',
    invoice_labels: null,
    invoice_language: '<string>',
    lineage_array: ['<string>'],
    parent: 123,
    stripe_connection: 123,
    default_expense_category: 123,
    vendor_custom_field_1: 123,
    payment_term: 123
  })
};

fetch('https://api.meetcampfire.com/coa/api/vendor', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.meetcampfire.com/coa/api/vendor",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'name' => '<string>',
    'contacts' => [
        [
                'name' => '<string>',
                'first_name' => '<string>',
                'last_name' => '<string>',
                'email' => 'jsmith@example.com',
                'phone_number' => '<string>',
                'mobile_number' => '<string>'
        ]
    ],
    'vendor_type' => 'vendor',
    'dba' => '<string>',
    'company_name' => '<string>',
    'website' => '<string>',
    'first_name' => '<string>',
    'last_name' => '<string>',
    'email' => 'jsmith@example.com',
    'phone_number' => '<string>',
    'mobile_number' => '<string>',
    'address_street_1' => '<string>',
    'address_street_2' => '<string>',
    'city' => '<string>',
    'state' => '<string>',
    'zip_code' => '<string>',
    'country' => '<string>',
    'billing_address_street_1' => '<string>',
    'billing_address_street_2' => '<string>',
    'billing_city' => '<string>',
    'billing_state' => '<string>',
    'billing_zip_code' => '<string>',
    'billing_country' => '<string>',
    'shipping_addressee' => '<string>',
    'billing_addressee' => '<string>',
    'notes' => '<string>',
    'business_id_ssn' => '<string>',
    'is_1099' => true,
    'vat_number' => '<string>',
    'business_type' => '<string>',
    'business_category' => '<string>',
    'entity_use_code' => '<string>',
    'withholding_tax_id' => '<string>',
    'stripe_customer_id' => '<string>',
    'use_stripe_auto_bill' => true,
    'bill_vendor_id' => '<string>',
    'external_id' => '<string>',
    'invoice_message' => '<string>',
    'abbreviation' => '<string>',
    'anrok_customer_id' => '<string>',
    'invoice_labels' => null,
    'invoice_language' => '<string>',
    'lineage_array' => [
        '<string>'
    ],
    'parent' => 123,
    'stripe_connection' => 123,
    'default_expense_category' => 123,
    'vendor_custom_field_1' => 123,
    'payment_term' => 123
  ]),
  CURLOPT_HTTPHEADER => [
    "Authorization: <api-key>",
    "Content-Type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.meetcampfire.com/coa/api/vendor"

	payload := strings.NewReader("{\n  \"name\": \"<string>\",\n  \"contacts\": [\n    {\n      \"name\": \"<string>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"email\": \"jsmith@example.com\",\n      \"phone_number\": \"<string>\",\n      \"mobile_number\": \"<string>\"\n    }\n  ],\n  \"vendor_type\": \"vendor\",\n  \"dba\": \"<string>\",\n  \"company_name\": \"<string>\",\n  \"website\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"email\": \"jsmith@example.com\",\n  \"phone_number\": \"<string>\",\n  \"mobile_number\": \"<string>\",\n  \"address_street_1\": \"<string>\",\n  \"address_street_2\": \"<string>\",\n  \"city\": \"<string>\",\n  \"state\": \"<string>\",\n  \"zip_code\": \"<string>\",\n  \"country\": \"<string>\",\n  \"billing_address_street_1\": \"<string>\",\n  \"billing_address_street_2\": \"<string>\",\n  \"billing_city\": \"<string>\",\n  \"billing_state\": \"<string>\",\n  \"billing_zip_code\": \"<string>\",\n  \"billing_country\": \"<string>\",\n  \"shipping_addressee\": \"<string>\",\n  \"billing_addressee\": \"<string>\",\n  \"notes\": \"<string>\",\n  \"business_id_ssn\": \"<string>\",\n  \"is_1099\": true,\n  \"vat_number\": \"<string>\",\n  \"business_type\": \"<string>\",\n  \"business_category\": \"<string>\",\n  \"entity_use_code\": \"<string>\",\n  \"withholding_tax_id\": \"<string>\",\n  \"stripe_customer_id\": \"<string>\",\n  \"use_stripe_auto_bill\": true,\n  \"bill_vendor_id\": \"<string>\",\n  \"external_id\": \"<string>\",\n  \"invoice_message\": \"<string>\",\n  \"abbreviation\": \"<string>\",\n  \"anrok_customer_id\": \"<string>\",\n  \"invoice_labels\": null,\n  \"invoice_language\": \"<string>\",\n  \"lineage_array\": [\n    \"<string>\"\n  ],\n  \"parent\": 123,\n  \"stripe_connection\": 123,\n  \"default_expense_category\": 123,\n  \"vendor_custom_field_1\": 123,\n  \"payment_term\": 123\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "<api-key>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.meetcampfire.com/coa/api/vendor")
  .header("Authorization", "<api-key>")
  .header("Content-Type", "application/json")
  .body("{\n  \"name\": \"<string>\",\n  \"contacts\": [\n    {\n      \"name\": \"<string>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"email\": \"jsmith@example.com\",\n      \"phone_number\": \"<string>\",\n      \"mobile_number\": \"<string>\"\n    }\n  ],\n  \"vendor_type\": \"vendor\",\n  \"dba\": \"<string>\",\n  \"company_name\": \"<string>\",\n  \"website\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"email\": \"jsmith@example.com\",\n  \"phone_number\": \"<string>\",\n  \"mobile_number\": \"<string>\",\n  \"address_street_1\": \"<string>\",\n  \"address_street_2\": \"<string>\",\n  \"city\": \"<string>\",\n  \"state\": \"<string>\",\n  \"zip_code\": \"<string>\",\n  \"country\": \"<string>\",\n  \"billing_address_street_1\": \"<string>\",\n  \"billing_address_street_2\": \"<string>\",\n  \"billing_city\": \"<string>\",\n  \"billing_state\": \"<string>\",\n  \"billing_zip_code\": \"<string>\",\n  \"billing_country\": \"<string>\",\n  \"shipping_addressee\": \"<string>\",\n  \"billing_addressee\": \"<string>\",\n  \"notes\": \"<string>\",\n  \"business_id_ssn\": \"<string>\",\n  \"is_1099\": true,\n  \"vat_number\": \"<string>\",\n  \"business_type\": \"<string>\",\n  \"business_category\": \"<string>\",\n  \"entity_use_code\": \"<string>\",\n  \"withholding_tax_id\": \"<string>\",\n  \"stripe_customer_id\": \"<string>\",\n  \"use_stripe_auto_bill\": true,\n  \"bill_vendor_id\": \"<string>\",\n  \"external_id\": \"<string>\",\n  \"invoice_message\": \"<string>\",\n  \"abbreviation\": \"<string>\",\n  \"anrok_customer_id\": \"<string>\",\n  \"invoice_labels\": null,\n  \"invoice_language\": \"<string>\",\n  \"lineage_array\": [\n    \"<string>\"\n  ],\n  \"parent\": 123,\n  \"stripe_connection\": 123,\n  \"default_expense_category\": 123,\n  \"vendor_custom_field_1\": 123,\n  \"payment_term\": 123\n}")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.meetcampfire.com/coa/api/vendor")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"name\": \"<string>\",\n  \"contacts\": [\n    {\n      \"name\": \"<string>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"email\": \"jsmith@example.com\",\n      \"phone_number\": \"<string>\",\n      \"mobile_number\": \"<string>\"\n    }\n  ],\n  \"vendor_type\": \"vendor\",\n  \"dba\": \"<string>\",\n  \"company_name\": \"<string>\",\n  \"website\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"email\": \"jsmith@example.com\",\n  \"phone_number\": \"<string>\",\n  \"mobile_number\": \"<string>\",\n  \"address_street_1\": \"<string>\",\n  \"address_street_2\": \"<string>\",\n  \"city\": \"<string>\",\n  \"state\": \"<string>\",\n  \"zip_code\": \"<string>\",\n  \"country\": \"<string>\",\n  \"billing_address_street_1\": \"<string>\",\n  \"billing_address_street_2\": \"<string>\",\n  \"billing_city\": \"<string>\",\n  \"billing_state\": \"<string>\",\n  \"billing_zip_code\": \"<string>\",\n  \"billing_country\": \"<string>\",\n  \"shipping_addressee\": \"<string>\",\n  \"billing_addressee\": \"<string>\",\n  \"notes\": \"<string>\",\n  \"business_id_ssn\": \"<string>\",\n  \"is_1099\": true,\n  \"vat_number\": \"<string>\",\n  \"business_type\": \"<string>\",\n  \"business_category\": \"<string>\",\n  \"entity_use_code\": \"<string>\",\n  \"withholding_tax_id\": \"<string>\",\n  \"stripe_customer_id\": \"<string>\",\n  \"use_stripe_auto_bill\": true,\n  \"bill_vendor_id\": \"<string>\",\n  \"external_id\": \"<string>\",\n  \"invoice_message\": \"<string>\",\n  \"abbreviation\": \"<string>\",\n  \"anrok_customer_id\": \"<string>\",\n  \"invoice_labels\": null,\n  \"invoice_language\": \"<string>\",\n  \"lineage_array\": [\n    \"<string>\"\n  ],\n  \"parent\": 123,\n  \"stripe_connection\": 123,\n  \"default_expense_category\": 123,\n  \"vendor_custom_field_1\": 123,\n  \"payment_term\": 123\n}"

response = http.request(request)
puts response.read_body
{
  "id": 123,
  "parent_name": "<string>",
  "stripe_connection_name": "<string>",
  "stripe_connection_entity": 123,
  "stripe_connection_portal_url": "<string>",
  "stripe_connection_portal_enabled": true,
  "stripe_connection_invoicing_enabled": true,
  "vendor_custom_field_1_name": "<string>",
  "payment_term_name_display": "<string>",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "is_deleted": false,
  "deleted_at": "2023-11-07T05:31:56Z",
  "search_vector": "<string>",
  "search_text": "<string>",
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "customer": 123,
  "contacts": [
    {
      "id": 123,
      "last_modified_at": "2023-11-07T05:31:56Z",
      "is_deleted": false,
      "deleted_at": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "jsmith@example.com",
      "phone_number": "<string>",
      "mobile_number": "<string>"
    }
  ],
  "vendor_type": "vendor",
  "dba": "<string>",
  "company_name": "<string>",
  "website": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "jsmith@example.com",
  "phone_number": "<string>",
  "mobile_number": "<string>",
  "address_street_1": "<string>",
  "address_street_2": "<string>",
  "city": "<string>",
  "state": "<string>",
  "zip_code": "<string>",
  "country": "<string>",
  "billing_address_street_1": "<string>",
  "billing_address_street_2": "<string>",
  "billing_city": "<string>",
  "billing_state": "<string>",
  "billing_zip_code": "<string>",
  "billing_country": "<string>",
  "shipping_addressee": "<string>",
  "billing_addressee": "<string>",
  "notes": "<string>",
  "business_id_ssn": "<string>",
  "is_1099": true,
  "vat_number": "<string>",
  "business_type": "<string>",
  "business_category": "<string>",
  "entity_use_code": "<string>",
  "withholding_tax_id": "<string>",
  "stripe_customer_id": "<string>",
  "use_stripe_auto_bill": true,
  "bill_vendor_id": "<string>",
  "external_id": "<string>",
  "invoice_message": "<string>",
  "abbreviation": "<string>",
  "anrok_customer_id": "<string>",
  "invoice_labels": null,
  "invoice_language": "<string>",
  "lineage_array": [
    "<string>"
  ],
  "parent": 123,
  "stripe_connection": 123,
  "default_expense_category": 123,
  "vendor_custom_field_1": 123,
  "payment_term": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

name
string | null
required
Maximum string length: 250
contacts
object[]
vendor_type
default:vendor
  • vendor - Vendor
  • customer - Customer
  • employee - Employee
Available options:
vendor,
customer,
employee
dba
string | null
Maximum string length: 250
company_name
string | null
Maximum string length: 250
website
string | null
Maximum string length: 250
first_name
string | null
Maximum string length: 250
last_name
string | null
Maximum string length: 250
email
string<email> | null
Maximum string length: 250
phone_number
string | null
Maximum string length: 250
mobile_number
string | null
Maximum string length: 250
address_street_1
string | null
Maximum string length: 250
address_street_2
string | null
Maximum string length: 250
city
string | null
Maximum string length: 250
state
string | null
Maximum string length: 250
zip_code
string | null
Maximum string length: 250
country
string | null
Maximum string length: 250
billing_address_street_1
string | null
Maximum string length: 250
billing_address_street_2
string | null
Maximum string length: 250
billing_city
string | null
Maximum string length: 250
billing_state
string | null
Maximum string length: 250
billing_zip_code
string | null
Maximum string length: 250
billing_country
string | null
Maximum string length: 250
shipping_addressee
string | null
Maximum string length: 255
billing_addressee
string | null
Maximum string length: 255
notes
string | null
Maximum string length: 250
business_id_ssn
string | null
Maximum string length: 250
is_1099
boolean
vat_number
string | null
Maximum string length: 250
business_type
string | null

Business type classification (e.g., Korean NTS 업태)

Maximum string length: 250
business_category
string | null

Business category classification (e.g., Korean NTS 종목)

Maximum string length: 250
entity_use_code
string | null

Avalara entity/use code for tax exemptions (e.g., A - Federal Government, B - State/Local Govt)

Maximum string length: 25
withholding_tax_id
string | null

Vendor's tax-authority ID for withholding (PAN for India, TZ for Israel). Dedicated field since these have format/checksum rules distinct from business_id_ssn.

Maximum string length: 250
stripe_customer_id
string | null
Maximum string length: 250
use_stripe_auto_bill
boolean | null
bill_vendor_id
string | null
Maximum string length: 250
external_id
string | null
Maximum string length: 250
source
  • BILL - Bill
  • BREX - Brex
  • HUBSPOT - Hubspot
  • MANUAL - Manual
  • PAYROLL - Payroll
  • SALESFORCE - Salesforce
Available options:
BILL,
BREX,
HUBSPOT,
MANUAL,
PAYROLL,
SALESFORCE
invoice_message
string | null
abbreviation
string | null
Maximum string length: 250
status
enum<string>
  • ACTIVE - Active
  • INACTIVE - Inactive
Available options:
ACTIVE,
INACTIVE
anrok_customer_id
string | null
Maximum string length: 250
terms
  • custom - Custom
  • net_5 - Net 5
  • net_7 - Net 7
  • net_10 - Net 10
  • net_15 - Net 15
  • net_20 - Net 20
  • net_30 - Net 30
  • net_40 - Net 40
  • net_45 - Net 45
  • net_60 - Net 60
  • net_90 - Net 90
  • net_105 - Net 105
  • net_120 - Net 120
  • due_on_receipt - Due on Receipt
Available options:
custom,
net_5,
net_7,
net_10,
net_15,
net_20,
net_30,
net_40,
net_45,
net_60,
net_90,
net_105,
net_120,
due_on_receipt
invoice_labels
unknown
invoice_language
string | null
Maximum string length: 10
lineage_array
string[] | null

Pre-computed lineage array from root to this vendor

Maximum string length: 50
parent
integer | null
stripe_connection
integer | null
default_expense_category
integer | null
vendor_custom_field_1
integer | null
payment_term
integer | null

Payment term for this vendor

Response

201 - application/json
id
integer
required
read-only
parent_name
string
required
read-only
stripe_connection_name
string | null
required
read-only
stripe_connection_entity
integer | null
required
read-only
stripe_connection_portal_url
string | null
required
read-only
stripe_connection_portal_enabled
boolean | null
required
read-only
stripe_connection_invoicing_enabled
boolean | null
required
read-only
vendor_custom_field_1_name
string
required
read-only
payment_term_name_display
string
required
read-only
last_modified_at
string<date-time>
required
read-only
is_deleted
boolean
default:false
required
read-only
deleted_at
string<date-time> | null
required
read-only
search_vector
string | null
required
read-only
search_text
string | null
required
read-only
name
string | null
required
Maximum string length: 250
created_at
string<date-time>
required
read-only
customer
integer
required
read-only
contacts
object[]
vendor_type
default:vendor
  • vendor - Vendor
  • customer - Customer
  • employee - Employee
Available options:
vendor,
customer,
employee
dba
string | null
Maximum string length: 250
company_name
string | null
Maximum string length: 250
website
string | null
Maximum string length: 250
first_name
string | null
Maximum string length: 250
last_name
string | null
Maximum string length: 250
email
string<email> | null
Maximum string length: 250
phone_number
string | null
Maximum string length: 250
mobile_number
string | null
Maximum string length: 250
address_street_1
string | null
Maximum string length: 250
address_street_2
string | null
Maximum string length: 250
city
string | null
Maximum string length: 250
state
string | null
Maximum string length: 250
zip_code
string | null
Maximum string length: 250
country
string | null
Maximum string length: 250
billing_address_street_1
string | null
Maximum string length: 250
billing_address_street_2
string | null
Maximum string length: 250
billing_city
string | null
Maximum string length: 250
billing_state
string | null
Maximum string length: 250
billing_zip_code
string | null
Maximum string length: 250
billing_country
string | null
Maximum string length: 250
shipping_addressee
string | null
Maximum string length: 255
billing_addressee
string | null
Maximum string length: 255
notes
string | null
Maximum string length: 250
business_id_ssn
string | null
Maximum string length: 250
is_1099
boolean
vat_number
string | null
Maximum string length: 250
business_type
string | null

Business type classification (e.g., Korean NTS 업태)

Maximum string length: 250
business_category
string | null

Business category classification (e.g., Korean NTS 종목)

Maximum string length: 250
entity_use_code
string | null

Avalara entity/use code for tax exemptions (e.g., A - Federal Government, B - State/Local Govt)

Maximum string length: 25
withholding_tax_id
string | null

Vendor's tax-authority ID for withholding (PAN for India, TZ for Israel). Dedicated field since these have format/checksum rules distinct from business_id_ssn.

Maximum string length: 250
stripe_customer_id
string | null
Maximum string length: 250
use_stripe_auto_bill
boolean | null
bill_vendor_id
string | null
Maximum string length: 250
external_id
string | null
Maximum string length: 250
source
  • BILL - Bill
  • BREX - Brex
  • HUBSPOT - Hubspot
  • MANUAL - Manual
  • PAYROLL - Payroll
  • SALESFORCE - Salesforce
Available options:
BILL,
BREX,
HUBSPOT,
MANUAL,
PAYROLL,
SALESFORCE
invoice_message
string | null
abbreviation
string | null
Maximum string length: 250
status
enum<string>
  • ACTIVE - Active
  • INACTIVE - Inactive
Available options:
ACTIVE,
INACTIVE
anrok_customer_id
string | null
Maximum string length: 250
terms
  • custom - Custom
  • net_5 - Net 5
  • net_7 - Net 7
  • net_10 - Net 10
  • net_15 - Net 15
  • net_20 - Net 20
  • net_30 - Net 30
  • net_40 - Net 40
  • net_45 - Net 45
  • net_60 - Net 60
  • net_90 - Net 90
  • net_105 - Net 105
  • net_120 - Net 120
  • due_on_receipt - Due on Receipt
Available options:
custom,
net_5,
net_7,
net_10,
net_15,
net_20,
net_30,
net_40,
net_45,
net_60,
net_90,
net_105,
net_120,
due_on_receipt
invoice_labels
unknown
invoice_language
string | null
Maximum string length: 10
lineage_array
string[] | null

Pre-computed lineage array from root to this vendor

Maximum string length: 50
parent
integer | null
stripe_connection
integer | null
default_expense_category
integer | null
vendor_custom_field_1
integer | null
payment_term
integer | null

Payment term for this vendor