| name | create_customer |
| tier | 1 |
| task | T02 |
| description | This skill should be used when the task asks to "create a customer", "register a customer", "opprett ein kunde", "opprett en kunde", "registrer en kunde", "créer un client", "criar um cliente", "Kunde erstellen", "crear un cliente", or involves creating a customer entity in Tripletex. |
Create Customer
Create a customer in Tripletex. One API call.
Execution Steps
- Create customer —
POST /customer
POST /customer
{
"name": "Polaris AS",
"organizationNumber": "869095443",
"email": "post@polaris.no",
"isCustomer": true,
"postalAddress": {
"addressLine1": "Nygata 7",
"postalCode": "4611",
"city": "Kristiansand"
}
}
Required fields:
name (string)
isCustomer (boolean) — always true
Include if mentioned in prompt:
organizationNumber (string)
email (string)
phoneNumber (string)
postalAddress — with addressLine1, postalCode, city
Nynorsk Example
Task: "Opprett kunden Vestland AS med organisasjonsnummer 891234567. Adressa er Strandgata 3, 5003 Bergen. E-post: post@vestland.no."
Steps:
POST /customer with name, org nr, email, isCustomer true, postalAddress
Result: 1 API call, 0 errors.
Quirks
isCustomer: true is required.
- Organization numbers are strings, not integers.
- Only include
postalAddress if the prompt mentions an address.