Moloni ON Logo WhiteGuidesAPI ReferenceExplorer
API Reference

MigratedEstimateUpdate

input

Updates a MigratedEstimate.

Updates the selected MigratedEstimate with the inserted data.

Fields

NameTypeDescription
documentIdInt!
fiscalZoneString
documentCalculationsModeInt
numberIntSequential document number within its document set. Assigned automatically on creation
documentSetIdIntDocument set to which this document belongs
entityVatStringTax identification number (VAT) of the entity, copied at document creation
entityNumberStringInternal reference number of the entity, copied at document creation
entityNameStringName of the entity (customer/supplier), copied at document creation
entityAddressStringAddress of the entity, copied at document creation
entityZipCodeStringPostal code of the entity, copied at document creation
entityCityStringCity of the entity, copied at document creation
entityCountryNameStringCountry name of the entity, copied at document creation
countryIdIntCountry identifier of the entity
globalDiscountFloatGlobal discount percentage applied to the entire document
financialDiscountFloatFinancial discount percentage applied for early payment
dateDateTimeIssue date of the document. Must follow sequential numbering rules per AT regulations
expirationDateDateDue date for the document, typically derived from the maturity date
maturityDateIdIntMaturity date preset identifier, used to calculate the expiration date
maturityDateNameStringName of the maturity date preset (resolved from maturityDateId)
timezoneIdIntTimezone identifier for the document issue date
customerIdIntCustomer to whom this document is issued
alternateAddressIdIntAlternate delivery/billing address for the entity
salespersonIdIntSalesperson assigned to this document for commission tracking
salespersonCommissionFloatCommission percentage for the salesperson on this document
relatedIn[RelatedDocumentInput]Documents originated from this document (e.g., receipts created from this invoice)
relatedWith[RelatedDocumentInput]Source documents that originated this document (e.g., invoice referenced by a credit note)
notesRelatedDocsStringNotes regarding related documents
products[DocumentProductInput]Line items (products/services) included in this document
currencyExchangeIdIntCurrency exchange rate identifier when document uses a foreign currency
notesStringFree-text observations or notes for this document
statusIntDocument status: 0 = draft, 1 = closed/finalized
suspendedBooleanWhether the document is suspended (temporarily on hold)
nullifiedBooleanWhether the document has been voided/cancelled. Nullified documents remain for audit but have no fiscal effect
retentionsValueFloatWithholding tax value applied to this document
yourReferenceStringCustomer's own reference for this document (e.g., purchase order number)
ourReferenceStringInternal reference for this document (e.g., contract number, project code)
currencyExchangeExchangeFloatExchange rate value applied when document uses a foreign currency
deliveryMethodIdIntDelivery/shipping method identifier
deliveryMethodNameStringDelivery/shipping method name (resolved from deliveryMethodId)
vehicleIdIntVehicle identifier used for goods transportation
deliveryVehicleNameStringName/description of the transportation vehicle (resolved from vehicleId)
deliveryVehicleLicensePlateStringLicense plate of the transportation vehicle (resolved from vehicleId)
deliveryLoadDateDateTimeDate and time when goods are loaded for transport. Required for AT transport documents
deliveryLoadAddressStringLoading address for goods transport. Required by AT for transport documents in Portugal
deliveryLoadCityStringLoading city for goods transport
deliveryLoadZipCodeStringLoading postal code for goods transport
deliveryLoadCountryIdIntLoading country for goods transport
deliveryUnloadAddressStringUnloading/delivery address for goods transport. Required by AT for transport documents in Portugal
deliveryUnloadCityStringUnloading/delivery city for goods transport
deliveryUnloadZipCodeStringUnloading/delivery postal code for goods transport
deliveryUnloadCountryIdIntUnloading/delivery country for goods transport
importStatusImportStatusImport status for migrated documents (indicates data migration state)
paymentGateways[DocumentPaymentGatewayAutomaticInput!]Payment gateways materialized when the document is closed. Accepted for input compatibility with MigratedEstimateInsert; the gateway rows are persisted on draft creation and materialized on close, so this field is not applied on update.

© 2026 Moloni ON

Tax Authority Certificate No. 3075