Install
openclaw skills install morning-green-invoiceUse to authenticate with Morning (GreenInvoice) and create/manage clients, items, and accounting documents (invoice/receipt/quote/order/credit).
openclaw skills install morning-green-invoiceUse this skill when you need to interact with Morning / GreenInvoice to:
Collect only what’s required for the action:
apiKeyIdapiKeySecretnametaxId, email, phone, address, city, countrynamepricedescription, currencydocumentType (Invoice / Receipt / Quote / Order / CreditInvoice / DebitInvoice)clientId (or enough info to create the client)lines[] (each line: description or itemId, quantity, unitPrice)currency, language, description, discountUse the morning tool with an action field.
getTokencreateClientcreateItemcreateDocumentfindClient, findItem, getDocument, listDocumentsapiKeySecret or JWTs back to the user.clientId / itemId when available.quantity > 0unitPrice >= 0"ILS" unless the user specifies otherwise."Hebrew" unless the user specifies otherwise.{
"action": "getToken",
"apiKeyId": "YOUR_API_KEY_ID",
"apiKeySecret": "YOUR_API_KEY_SECRET"
}
{
"action": "createClient",
"jwt": "JWT_FROM_getToken",
"client": {
"name": "Acme Ltd",
"taxId": "515555555",
"email": "billing@acme.com",
"phone": "+972-50-000-0000",
"address": "1 Rothschild Blvd",
"city": "Tel Aviv",
"country": "Israel"
}
}
{
"action": "createItem",
"jwt": "JWT_FROM_getToken",
"item": {
"name": "Consulting hour",
"description": "Senior engineering consulting",
"price": 500,
"currency": "ILS"
}
}
{
"action": "createDocument",
"jwt": "JWT_FROM_getToken",
"document": {
"documentType": "Invoice",
"language": "English",
"currency": "ILS",
"clientId": "CLIENT_ID",
"description": "Invoice for January services",
"lines": [
{
"description": "Consulting hour",
"quantity": 10,
"unitPrice": 500
}
]
}
}
{
"action": "createDocument",
"jwt": "JWT_FROM_getToken",
"document": {
"documentType": "Receipt",
"language": "Hebrew",
"currency": "ILS",
"clientId": "CLIENT_ID",
"lines": [
{
"itemId": "ITEM_ID",
"quantity": 1,
"unitPrice": 1200
}
]
}
}
getToken again and retry the request once.Return minimally:
clientId, itemId, documentId)