DocumentTypeRead
Reads a DocumentType.
Returns a DocumentType with the specified ID.
Fields
| Name | Type | Description |
|---|---|---|
documentTypeId | Int! | |
group | String | |
entityType | String | |
hasSalesperson | Boolean! | 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 ( |
salespersonChangeable | Boolean! | Whether the salesperson on a document of this type can be changed after it is issued. Narrower than |
saftDocCode | String | |
apiCode | String! | |
apiCodePlural | String! | |
totalPhraseWhenOpen | String | |
totalPhraseWhenClosed | String | |
reconciliationPercentagePhrase | String | |
reconciledValuePhrase | String | |
notesPhrase | String | |
canHaveOutOfSeqDate | Boolean | |
salesOperator | Boolean | |
costsOperator | Boolean | |
isSelfPaid | Boolean | |
visible | Int | |
cashflowMultiplier | Int | |
balanceMultiplier | Int | |
billingMultiplier | Int | |
purchaseBillingMultiplier | Int | |
vatMultiplier | Int | |
stockMultiplier | Int | |
reconcilesBalances | Boolean | |
minCopies | Int | |
generatesHash | Boolean | |
closedEditable | Boolean | |
closedDeletable | Boolean | |
closedRevocable | Boolean | |
closedDraftable | Boolean | |
unreconcilable | Boolean | |
settings | String | |
useInPos | Boolean | |
translations | [DocumentTypeTranslationRead] | |
title | String | Represents a shorthand for translations[options.defaultLanguageId].title |
titlePlural | String | Represents a shorthand for translations[options.defaultLanguageId].titlePlural |
titleLanguageId | Int | Represents a shorthand for translations[options.defaultLanguageId].languageId |
canConvertTo | [DocumentTypeRead!] | |
canBeConvertedFrom | [DocumentTypeRead!] | |
deletable | Boolean |
Deprecated fields (1)
| Name | Type | Description |
|---|---|---|
canHaveFinancialDiscount | Boolean | This is not in use. Use the fields to figure out if this docType has financial discount |