Moloni ON Logo WhiteGuidesAPI ReferenceExplorer
API Reference

MigratedSimplifiedInvoiceInsert

input

Creates a new MigratedSimplifiedInvoices

Fields

NameTypeDescription
fiscalZoneString
documentCalculationsModeInt
numberInt!Sequential document number within its document set. Assigned automatically on creation
documentSetIdInt!Document set to which this document belongs
countryIdIntCountry identifier of the entity
globalDiscountFloatGlobal discount percentage applied to the entire document
dateDateTime!Issue date of the document. Must follow sequential numbering rules per AT regulations
expirationDateDate!Due date for the document, typically derived from the maturity date
maturityDateIdIntMaturity date preset identifier, used to calculate the expiration date
timezoneIdIntTimezone identifier for the document issue date
customerIdInt!Customer 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
economicActivityClassificationCodeIdIntEconomic activity classification code (CAE) identifier, per AT SAF-T requirements
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
payments[DocumentPaymentMethodInput]Payment methods and amounts used to settle this document
financialDiscountFloatFinancial discount percentage applied for early payment
fileUploadAttached file (e.g., scanned supplier invoice). Stored as a file path in reads
fileOriginalStringOriginal file name of the uploaded attachment
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
importStatusImportStatusImport status for migrated documents (indicates data migration state)
Deprecated fields (11)
NameTypeDescription
deliveryMethodIdIntDelivery/shipping method identifierThis document should not have transportation data
vehicleIdIntVehicle identifier used for goods transportationThis document should not have transportation data
deliveryLoadDateDateTimeDate and time when goods are loaded for transport. Required for AT transport documentsThis document should not have transportation data
deliveryLoadAddressStringLoading address for goods transport. Required by AT for transport documents in PortugalThis document should not have transportation data
deliveryLoadCityStringLoading city for goods transportThis document should not have transportation data
deliveryLoadZipCodeStringLoading postal code for goods transportThis document should not have transportation data
deliveryLoadCountryIdIntLoading country for goods transportThis document should not have transportation data
deliveryUnloadAddressStringUnloading/delivery address for goods transport. Required by AT for transport documents in PortugalThis document should not have transportation data
deliveryUnloadCityStringUnloading/delivery city for goods transportThis document should not have transportation data
deliveryUnloadZipCodeStringUnloading/delivery postal code for goods transportThis document should not have transportation data
deliveryUnloadCountryIdIntUnloading/delivery country for goods transportThis document should not have transportation data

© 2026 Moloni ON

Tax Authority Certificate No. 3075