| name | create_product |
| tier | 1 |
| task | T03 |
| description | This skill should be used when the task asks to "create a product", "opprett eit produkt", "erstellen Sie das Produkt", "créez le produit", "crie o produto", "crear un producto", or involves creating a product entity in Tripletex. |
Create Product
Create a product in Tripletex. One API call.
Execution Steps
- Create product —
POST /product
POST /product
{
"name": "Cloud-Speicher",
"number": "9235",
"priceExcludingVatCurrency": 28800.0,
"vatType": {"id": 3}
}
Required fields:
name (string) — product name from the prompt
Common optional fields:
number (string) — product number if given in the prompt
priceExcludingVatCurrency (number) — price excl. VAT
vatType (object with id) — see VAT types below
VAT Types
Common VAT type IDs in Tripletex:
{"id": 3} — standard rate 25% (Norwegian MVA)
{"id": 6} — zero/exempt rate 0%
If the prompt mentions "25%" or "standardsats" or "standard rate", use {"id": 3}.
If the prompt mentions "0%" or "fritatt" or "exempt", use {"id": 6}.
If no VAT is mentioned, omit the field (Tripletex uses a default).
Nynorsk Example
Task: "Opprett produktet 'Skylagring' med produktnummer 4521. Prisen er 15000 NOK utan MVA, med standardsats på 25 %."
Steps:
POST /product with name "Skylagring", number "4521", priceExcludingVatCurrency 15000.0, vatType {"id": 3}
Result: 1 API call, 0 errors.
Quirks
- Price in the prompt is usually "excl. VAT" / "ohne MwSt." / "sem IVA" / "utan MVA" — use
priceExcludingVatCurrency.
- Product number is a string, not an integer.