DocumentRead: interfaces | Moloni ON API
Moloni ONGuidesAPI ReferenceExplorer
API Reference

DocumentRead

interface

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 this document belongs to
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
dateDateTimeIssue date of the document
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 details
currencyExchangeExchangeFloatExchange rate applied to the document
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
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 details 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
ourReferenceStringInternal reference for this document
lastModifiedDateTimeDate and time of the last modification
downloadsIntNumber of times the document PDF has been downloaded
createdAtDateTime!Timestamp when the document was created
updatedAtDateTime!Timestamp when the document was last updated
importStatusImportStatusImport status for migrated documents
createdLogInfo
updatedLogInfo

Implements