Moloni ON Logo WhiteGuidesAPI ReferenceExplorer
API Reference

MigratedSimplifiedInvoiceInsert

input

Creates a new MigratedSimplifiedInvoices

Fields

NameTypeDescription
fiscalZoneString
documentCalculationsModeInt
sourceDocumentSource

Origin of the document (where it was created from). Defaults to api when omitted.

numberInt!

Sequential document number within its document set. Assigned automatically on creation

documentSetIdInt!

Document set to which this document belongs

entityVatString

Tax identification number (VAT) of the entity, copied at document creation

entityNumberString

Internal reference number of the entity, copied at document creation

entityNameString

Name of the entity (customer/supplier), copied at document creation

entityAddressString

Address of the entity, copied at document creation

entityZipCodeString

Postal code of the entity, copied at document creation

entityCityString

City of the entity, copied at document creation

entityCountryNameString

Country name of the entity, copied at document creation

countryIdInt

Country identifier of the entity

globalDiscountFloat

Global 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

maturityDateIdInt

Maturity date preset identifier, used to calculate the expiration date

maturityDateNameString

Name of the maturity date preset (resolved from maturityDateId)

timezoneIdInt

Timezone identifier for the document issue date

customerIdInt!

Customer to whom this document is issued

alternateAddressIdInt

Alternate delivery/billing address for the entity

salespersonIdInt

Salesperson assigned to this document for commission tracking

salespersonCommissionFloat

Commission percentage for the salesperson on this document

economicActivityClassificationCodeIdInt

Economic 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)

notesRelatedDocsString

Notes regarding related documents

products[DocumentProductInput!]!

Line items (products/services) included in this document

currencyExchangeIdInt

Currency exchange rate identifier when document uses a foreign currency

notesString

Free-text observations or notes for this document

statusInt

Document status: 0 = draft, 1 = closed/finalized

suspendedBoolean

Whether the document is suspended (temporarily on hold)

nullifiedBoolean

Whether the document has been voided/cancelled. Nullified documents remain for audit but have no fiscal effect

retentionsValueFloat

Withholding tax value applied to this document

payments[DocumentPaymentMethodInput]

Payment methods and amounts used to settle this document

financialDiscountFloat

Financial discount percentage applied for early payment

fileUpload

Attached file (e.g., scanned supplier invoice). Stored as a file path in reads. Sent as a multipart request, see the file upload guide

fileOriginalString

Original file name of the uploaded attachment. Send it alongside file, see the file upload guide

yourReferenceString

Customer's own reference for this document (e.g., purchase order number)

ourReferenceString

Internal reference for this document (e.g., contract number, project code)

currencyExchangeExchangeFloat

Exchange rate value applied when document uses a foreign currency

importStatusImportStatus

Import status for migrated documents (indicates data migration state)

paymentGateways[DocumentPaymentGatewayAutomaticInput!]

Payment gateways to automatically create after document is closed (canGeneratePayment must be true for this document type). Failures are reported via notification and do not affect document creation.

Deprecated fields (11)
NameTypeDescription
deliveryMethodIdInt

Delivery/shipping method identifier

This document should not have transportation data
vehicleIdInt

Vehicle identifier used for goods transportation

This document should not have transportation data
deliveryLoadDateDateTime

Date and time when goods are loaded for transport. Required for AT transport documents

This document should not have transportation data
deliveryLoadAddressString

Loading address for goods transport. Required by AT for transport documents in Portugal

This document should not have transportation data
deliveryLoadCityString

Loading city for goods transport

This document should not have transportation data
deliveryLoadZipCodeString

Loading postal code for goods transport

This document should not have transportation data
deliveryLoadCountryIdInt

Loading country for goods transport

This document should not have transportation data
deliveryUnloadAddressString

Unloading/delivery address for goods transport. Required by AT for transport documents in Portugal

This document should not have transportation data
deliveryUnloadCityString

Unloading/delivery city for goods transport

This document should not have transportation data
deliveryUnloadZipCodeString

Unloading/delivery postal code for goods transport

This document should not have transportation data
deliveryUnloadCountryIdInt

Unloading/delivery country for goods transport

This document should not have transportation data

© 2026 Moloni ON

Tax Authority Certificate No. 3075