Moloni ON Logo WhiteGuidesAPI ReferenceExplorer
API Reference

DocumentTypeRead

object

Reads a DocumentType.

Returns a DocumentType with the specified ID.

Fields

NameTypeDescription
documentTypeIdInt!
groupString
entityTypeString
hasSalespersonBoolean!

Whether a document of this type carries a salesperson at all.

Independent of whether it generates a commission: an estimate carries a salesperson and bills nothing (billingMultiplier 0), a receipt carries none. The answer lives in the type's field list, so it cannot be derived from the stored columns.

salespersonChangeableBoolean!

Whether the salesperson on a document of this type can be changed after it is issued.

Narrower than hasSalesperson: a payment note carries a salesperson too, but that one is the person being paid rather than the person who earned it, and the note's lines settle commissions that belong to them — so it is the one type that carries a salesperson and cannot be moved to another.

saftDocCodeString
apiCodeString!
apiCodePluralString!
totalPhraseWhenOpenString
totalPhraseWhenClosedString
reconciliationPercentagePhraseString
reconciledValuePhraseString
notesPhraseString
canHaveOutOfSeqDateBoolean
salesOperatorBoolean
costsOperatorBoolean
isSelfPaidBoolean
visibleInt
cashflowMultiplierInt
balanceMultiplierInt
billingMultiplierInt
purchaseBillingMultiplierInt
vatMultiplierInt
stockMultiplierInt
reconcilesBalancesBoolean
minCopiesInt
generatesHashBoolean
closedEditableBoolean
closedDeletableBoolean
closedRevocableBoolean
closedDraftableBoolean
unreconcilableBoolean
settingsString
useInPosBoolean
translations[DocumentTypeTranslationRead]
titleString

Represents a shorthand for translations[options.defaultLanguageId].title

titlePluralString

Represents a shorthand for translations[options.defaultLanguageId].titlePlural

titleLanguageIdInt

Represents a shorthand for translations[options.defaultLanguageId].languageId

canConvertTo[DocumentTypeRead!]
canBeConvertedFrom[DocumentTypeRead!]
deletableBoolean
Deprecated fields (1)
NameTypeDescription
canHaveFinancialDiscountBooleanThis is not in use. Use the fields to figure out if this docType has financial discount

© 2026 Moloni ON

Tax Authority Certificate No. 3075