view --main create_multi_line_invoice-skill-dlya-sozdaniya-schetov-s-nds.md
create_multi_line_invoice: Скилл для создания счетов с НДС
//
Этот навык следует использовать, когда задача требует создать счет с несколькими позициями товаров, особенно с разными ставками НДС (25%, 15%, 0%). Ключевые фразы включают "mit drei Produktzeilen", "with three product lines", "med tre produktlinjer", "avec trois lignes de produit", "con tres líneas de producto", "Rechnung mit Produktzeilen" или любой счет, в котором упоминаются несколько товаров с разными ставками НДС/MwSt/MVA.
readonly
--- lines
---
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.**
Инициализация мануала...
package.json
$ install --global
skills.sh
npx skills add https://github.com/JardarIversen/ainm-2026/tree/main/ai-accounting-agent/src/skills/create_multi_line_invoice
$ download --local
man
[HINT] Скачивает всю директорию скилла с GitHub: SKILL.md и все связанные файлы