Skip to main content

create-multi-line-invoice

This skill should be used when the task asks to create an invoice with MULTIPLE product lines, especially with different VAT rates (25%, 15%, 0%). Trigger phrases include "mit drei Produktzeilen", "with three product lines", "med tre produktlinjer", "avec trois lignes de produit", "con tres líneas de producto", "Rechnung mit Produktzeilen", or any invoice mentioning multiple products with different VAT/MwSt/MVA rates.

Aller à l'installation

Informations de source

Dépôt
JardarIversen/ainm-2026
Dernière activité de la source
21 mars 2026 à 11:30
Langue détectée de SKILL.md
anglais
Étoiles
18
Forks
14

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
create_multi_line_invoice
tier
2
task
T09
description
This skill should be used when the task asks to create an invoice with MULTIPLE product lines, especially with different VAT rates (25%, 15%, 0%). Trigger phrases include "mit drei Produktzeilen", "with three product lines", "med tre produktlinjer", "avec trois lignes de produit", "con tres líneas de producto", "Rechnung mit Produktzeilen", or any invoice mentioning multiple products with different VAT/MwSt/MVA rates.
# Create Multi-Line Invoice ## Call 1: GET /customer + GET /product + GET /ledger/account (3 parallel GETs) ``` GET /customer?organizationNumber=<org_nr>&fields=id,name&count=10 GET /product?fields=id,name,number,priceExcludingVatCurrency&count=50 GET /ledger/account?number=1920&fields=id,number,bankAccountNumber,isBankAccount ``` Match products by `number` field from the prompt. ## Call 2: PUT /ledger/account (set bank if empty) ```json PUT /ledger/account/<id> {"id": <id>, "name": "Bankinnskudd", "number": 1920, "bankAccountNumber": "86011117947", "isBankAccount": true} ``` ## Call 3: POST /invoice (inline order with product refs) ```json POST /invoice { "invoiceDate": "2026-03-21", "invoiceDueDate": "2026-04-04", "orders": [{ "customer": {"id": <customer_id>}, "orderDate": "2026-03-21", "deliveryDate": "2026-03-21", "orderLines": [ {"product": {"id": <product1_id>}, "count": 1}, {"product": {"id": <product2_id>}, "count": 1}, {"product": {"id": <product3_id>}, "count": 1} ] }] } ``` **5 calls, 0 errors.**
Voir sur GitHub