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.

Ir para a instalação

Informações da origem

Repositório
JardarIversen/ainm-2026
Última atividade na origem
21 de março de 2026 às 11:30
Idioma detectado do SKILL.md
inglês
Estrelas
18
Forks
14

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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.**
Ver no GitHub