POST
/
company_customers
{
  "id": 123,
  "name": "<string>",
  "url": "<string>",
  "billing_iban": "<string>",
  "payment_conditions": "upon_receipt",
  "phone": "<string>",
  "recipient": "<string>",
  "reference": "<string>",
  "notes": "<string>",
  "ledger_account": {
    "id": 123,
    "url": "<string>"
  },
  "emails": [
    "<string>"
  ],
  "billing_address": {
    "address": "<string>",
    "postal_code": "<string>",
    "city": "<string>",
    "country_alpha2": "ZZ"
  },
  "delivery_address": {
    "address": "<string>",
    "postal_code": "<string>",
    "city": "<string>",
    "country_alpha2": "ZZ"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "vat_number": "<string>",
  "reg_no": "<string>",
  "external_reference": "<string>"
}

Body

application/json

Body

name
string
required
phone
string
billing_address
object | null
delivery_address
object | null
payment_conditions
enum<string>
Available options:
upon_receipt,
custom,
7_days,
15_days,
30_days,
30_days_end_of_month,
45_days_end_of_month,
45_days,
60_days
billing_iban
string | null
recipient
string
reference
string | null
notes
string | null
emails
string[]
ledger_account
object
vat_number
string
reg_no
string

Response

201

id
number
required
name
string
required
billing_iban
string | null
required
payment_conditions
enum<string>
required
Available options:
upon_receipt,
custom,
7_days,
15_days,
30_days,
30_days_end_of_month,
45_days_end_of_month,
45_days,
60_days
phone
string
required
recipient
string
required
reference
string | null
required
notes
string | null
required
emails
string[]
required
vat_number
string
required
reg_no
string
required
url
string | null
ledger_account
object | null
billing_address
object | null
delivery_address
object | null
created_at
string<date-time> | null
updated_at
string<date-time> | null
external_reference
string