Moloni ON Logo WhiteGuidesAPI ReferenceExplorer
API Reference

InvoiceRead

object

Reads a Invoices

Return a Invoices with the specified ID.

Fields

NameTypeDescription
documentIdInt!Unique identifier of the document
fiscalZoneStringFiscal zone code for tax calculation purposes
documentTypeIdInt!Document type identifier (e.g., invoice, credit note, receipt)
documentTypeDocumentTypeRead!Document type details
documentSetDocumentSetReadDocument set to which this document belongs
companyCompanyRead!Company that owns this document
companyIdInt!Company identifier
documentSetNameString!Name of the document set
documentSetIdIntDocument set identifier
numberIntSequential document number within its document set. Assigned automatically on creation
dateDateTimeIssue date of the document. Must follow sequential numbering rules per AT regulations
geographicZoneIdIntGeographic zone identifier for regional tax rules
geographicZoneGeographicZoneReadGeographic zone details for regional tax rules
yearIntFiscal year of the document
totalValueFloat!Total monetary value of the document including taxes
documentTotalFloatCalculated total of the document based on line items
totalRelatedAppliedValueFloatTotal value applied from related documents
reconciledValueFloatValue already reconciled/settled against this document
remainingReconciledValueFloatRemaining value to be reconciled
reconciliationPercentageFloatPercentage of the document value that has been reconciled
currencyExchangeTotalValueFloatTotal value converted to the foreign currency
currencyExchangeCurrencyExchangeReadCurrency exchange rate identifier when document uses a foreign currency
currencyExchangeExchangeFloatExchange rate value applied when document uses a foreign currency
documentCalculationsModeIntCalculation mode used for the document (e.g., tax-inclusive or tax-exclusive)
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
pdfExportStringPath to the PDF file at mediaAPI: - `null`= PDF generation not requested - empty string = PDF pending generation
deletableBooleanWhether this document can be deleted
nullifiableBooleanWhether this document can be nullified
entityVatStringTax identification number (VAT) of the entity, copied at document creation
entityNameStringName of the entity (customer/supplier), copied at document creation
entityNumberStringInternal reference number of the entity, 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
countryCountryReadCountry identifier of the entity
lastOperationsLastOperationsReadLast operations performed on this document (created, closed, nullified)
emailsCountIntNumber of emails sent for this document
hashStringSAF-T hash signature for document integrity validation
hashControlStringHash control character used in the hash chain
yourReferenceStringCustomer's own reference for this document (e.g., purchase order number)
ourReferenceStringInternal reference for this document (e.g., contract number, project code)
lastModifiedDateTimeDate and time of the last modification
downloadsIntNumber of times the document PDF has been downloaded
terminalIdInt
createdAtDateTime!Timestamp when the document was created
updatedAtDateTime!Timestamp when the document was last updated
importStatusImportStatusImport status for migrated documents
createdLogInfo
updatedLogInfo
grossValueFloatGross value of the document before taxes and discounts (calculated)
globalDiscountFloatGlobal discount percentage applied to the entire document
globalDiscountValueFloatMonetary value of the global discount applied to the document (calculated)
commercialDiscountValueFloatMonetary value of the commercial discount applied to the document (calculated)
totalDiscountValueFloatTotal discount monetary value across all discount types (calculated)
taxesValueFloatTotal tax amount applied to the document (calculated from product lines)
expirationDateDateDue date for the document, typically derived from the maturity date
maturityDateMaturityDateReadMaturity date preset identifier, used to calculate the expiration date
maturityDateDaysIntNumber of days for the maturity period (resolved from maturityDateId)
maturityDateNameStringName of the maturity date preset (resolved from maturityDateId)
timezoneTimezoneReadTimezone identifier for the document issue date
customerCustomerReadCustomer to whom this document is issued
alternateAddressAlternateAddressReadAlternate delivery/billing address for the entity
salespersonSalespersonReadSalesperson assigned to this document for commission tracking
salespersonCommissionFloatCommission percentage for the salesperson on this document
relatedIn[RelatedDocumentRead]Documents originated from this document (e.g., receipts created from this invoice)
relatedWith[RelatedDocumentRead]Source documents that originated this document (e.g., invoice referenced by a credit note)
notesRelatedDocsStringNotes regarding related documents
products[DocumentProductRead!]Line items (products/services) included in this document
notesStringFree-text observations or notes for this document
retentionsValueFloatWithholding tax value applied to this document
deliveryMethodDeliveryMethodReadDelivery/shipping method identifier
deliveryMethodNameStringDelivery/shipping method name (resolved from deliveryMethodId)
vehicleVehicleReadVehicle 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
deliveryLoadCountryCountryReadLoading 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
deliveryUnloadCountryCountryReadUnloading/delivery country for goods transport
economicActivityClassificationCodeIdIntEconomic activity classification code (CAE) identifier, per AT SAF-T requirements
economicActivityClassificationCodeEconomicActivityClassificationCodeRead
economicActivityClassificationCodeCodeStringEconomic activity classification code value (resolved from ID)
economicActivityClassificationCodeNameStringEconomic activity classification code description (resolved from ID)
taxes[DocumentTaxRead!]!
documentATDocumentATRead

Implements

© 2026 Moloni ON

Tax Authority Certificate No. 3075