Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

delivery_notes_create

Create a draft delivery note to document physical goods or service deliveries, include deputy proof-of-delivery details, and prepare it for later conversion to an invoice.

Instructions

Create a new delivery note in draft status. Delivery notes document physical delivery of goods or services and can later be converted to invoices. Include deputy information for proof of delivery. A default delivery_note series is auto-assigned if neither seriesId nor documentSeriesId is provided.

Input Schema

NameRequiredDescriptionDefault
linesYesArray of line items (minimum 1 required)
notesNoPublic notes about the delivery
dueDateYesDue date for invoicing (YYYY-MM-DD)
clientIdYesUUID of the client
currencyYesCurrency code (e.g., RON, EUR, USD)
issuerIdNoUUID of the issuer user
mentionsNoAdditional mentions or instructions
seriesIdNoUUID of the delivery note series (uses default series if not provided)
companyIdNoCompany UUID (overrides configured default)
issueDateYesDate of issue (YYYY-MM-DD)
deputyAutoNoVehicle registration number used for delivery
deputyNameNoName of person who received the delivery
issuerNameNoName of person issuing the delivery note
salesAgentNoSales agent name
exchangeRateNoExchange rate to base currency (default: 1.0 for RON)
internalNoteNoInternal note (not visible to client)
deliveryLocationNoFull address where goods were delivered
documentSeriesIdNoUUID of the document series to use (alternative to seriesId; uses default delivery_note series if neither is provided)
projectReferenceNoRelated project or order reference
deputyIdentityCardNoID card number of the deputy
etransportTrailer1NoFirst trailer registration number
etransportTrailer2NoSecond trailer registration number
etransportEndCountyNoEnd county code (1-52). Required for e-Transport (BR-211)
etransportEndNumberNoEnd street number
etransportEndStreetNoEnd street name (2-100 chars)
etransportEndLocalityNoEnd locality name (2-100 chars)
etransportStartCountyNoStart county code (1-52 per ANAF nomenclature, e.g., 4=Bacau, 40=Bucuresti). Required for e-Transport (BR-210)
etransportStartNumberNoStart street number
etransportStartStreetNoStart street name (2-100 chars per BR-215)
etransportEndOtherInfoNoEnd additional address info
etransportPostIncidentNoPost-incident declaration (after the transport was completed)
etransportEndPostalCodeNoEnd postal code
etransportOperationTypeNoOperation type code: 10 (intra-community acquisition), 12 (intra-community delivery), 20 (transaction in national territory between two different entities with goods moving domestically), 30 (domestic transport document TTN), 40 (import), 50 (export), 60 (goods not released for circulation)
etransportStartLocalityNoStart locality name (2-100 chars per BR-214)
etransportTransportDateNoTransport start date (YYYY-MM-DD)
etransportVehicleNumberNoVehicle registration number (e.g., "BC01ABC"). Schematron BR-031: 3-20 uppercase alphanumeric chars
etransportStartOtherInfoNoStart additional address info
etransportStartPostalCodeNoStart postal code
etransportTransporterCodeNoTransporter CUI/CIF (numeric only, e.g., "31385365"). Must match ANAF format per BR-002
etransportTransporterNameNoTransporter legal name (e.g., "UNIVERSAL EQUIPMENT PROJECTS SRL")
etransportTransporterCountryNoTransporter country code (ISO 3166-1 alpha-2, e.g., "RO"). For TTN (opType 30) must be "RO" per BR-005

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world behavior. The description adds meaningful context beyond them: the record is created in draft status (not issued), a default delivery_note series is auto-assigned when no series is given, and it can later be converted to an invoice. It omits e-Transport-related obligations despite ~15 such params, keeping it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and status, then progressively adding context. No filler, though the series-default sentence partially duplicates schema text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 41-parameter tool with substantial e-Transport/ANAF compliance fields and no output schema, the description is thin: it never mentions e-Transport requirements or the minimum-one-line rule, relying entirely on the schema. Adequate alongside full schema coverage, but not complete for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description's series-default sentence largely restates what seriesId/documentSeriesId already say, and its deputy mention only points at a subset of the 41 parameters; it adds little semantic detail not already in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a new delivery note in draft status') and adds conceptual orientation (documents physical delivery, convertible to invoices). It does not explicitly differentiate itself from creation-capable siblings such as delivery_notes_from_proforma or delivery_notes_convert, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied ('Include deputy information for proof of delivery', default series fallback) but there is no explicit when-to-use versus alternatives guidance, such as when to create a delivery note from scratch instead of via delivery_notes_from_proforma.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools