delivery_notes_update
Update existing delivery notes in draft or issued status by replacing all line items with a new array, adjusting dates, currency, and e-Transport details as needed.
Instructions
Update an existing delivery note. Delivery notes in draft or issued status can be updated. Replaces all line items with the provided array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the delivery note to update | |
| lines | Yes | Array of line items (replaces all existing lines) | |
| notes | No | Public notes about the delivery | |
| dueDate | Yes | Due date for invoicing (YYYY-MM-DD) | |
| clientId | Yes | UUID of the client | |
| currency | Yes | Currency code (e.g., RON, EUR, USD) | |
| issuerId | No | UUID of the issuer user | |
| mentions | No | Additional mentions or instructions | |
| seriesId | No | UUID of the delivery note series | |
| companyId | No | Company UUID (overrides configured default) | |
| issueDate | Yes | Date of issue (YYYY-MM-DD) | |
| deputyAuto | No | Vehicle registration number | |
| deputyName | No | Name of person who received the delivery | |
| issuerName | No | Name of person issuing the delivery note | |
| salesAgent | No | Sales agent name | |
| exchangeRate | No | Exchange rate to base currency | |
| internalNote | No | Internal note (not visible to client) | |
| deliveryLocation | No | Full address where goods were delivered | |
| documentSeriesId | No | UUID of the document series to use (alternative to seriesId) | |
| projectReference | No | Related project or order reference | |
| deputyIdentityCard | No | ID card number of the deputy | |
| etransportTrailer1 | No | First trailer registration number | |
| etransportTrailer2 | No | Second trailer registration number | |
| etransportEndCounty | No | End county code (1-52) | |
| etransportEndNumber | No | End street number | |
| etransportEndStreet | No | End street name | |
| etransportEndLocality | No | End locality name | |
| etransportStartCounty | No | Start county code (1-52) | |
| etransportStartNumber | No | Start street number | |
| etransportStartStreet | No | Start street name | |
| etransportEndOtherInfo | No | End additional address info | |
| etransportPostIncident | No | Post-incident declaration | |
| etransportEndPostalCode | No | End postal code | |
| etransportOperationType | No | Operation type code: 10, 12, 20, 30 (TTN), 40, 50, 60 | |
| etransportStartLocality | No | Start locality name | |
| etransportTransportDate | No | Transport start date (YYYY-MM-DD) | |
| etransportVehicleNumber | No | Vehicle registration number (3-20 uppercase alphanumeric) | |
| etransportStartOtherInfo | No | Start additional address info | |
| etransportStartPostalCode | No | Start postal code | |
| etransportTransporterCode | No | Transporter CUI/CIF (numeric only) | |
| etransportTransporterName | No | Transporter legal name | |
| etransportTransporterCountry | No | Transporter country code (e.g., "RO") |