siigo_create_customer
Add new customers to the Siigo accounting system by providing required information including identification, contact details, and address data for Colombian business operations.
Instructions
Create a new customer
Input Schema
Name | Required | Description | Default |
---|---|---|---|
customer | Yes | Customer data |
Input Schema (JSON Schema)
{
"properties": {
"customer": {
"description": "Customer data",
"properties": {
"address": {
"properties": {
"address": {
"type": "string"
},
"city": {
"properties": {
"city_code": {
"type": "string"
},
"country_code": {
"type": "string"
},
"state_code": {
"type": "string"
}
},
"required": [
"country_code",
"state_code",
"city_code"
],
"type": "object"
}
},
"required": [
"address",
"city"
],
"type": "object"
},
"contacts": {
"items": {
"type": "object"
},
"type": "array"
},
"id_type": {
"description": "ID type code",
"type": "string"
},
"identification": {
"description": "Customer identification",
"type": "string"
},
"name": {
"description": "Customer names",
"items": {
"type": "string"
},
"type": "array"
},
"person_type": {
"enum": [
"Person",
"Company"
],
"type": "string"
},
"phones": {
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"person_type",
"id_type",
"identification",
"name",
"address",
"phones",
"contacts"
],
"type": "object"
}
},
"required": [
"customer"
],
"type": "object"
}