Skip to main content

Cost

Cost

type Cost {
accountId: Int!
amount: Int
articleId: Int @deprecated
billingDate: ISO8601Date
canceled: Boolean!
costType: CostType!
costTypeId: Int!
createdAt: ISO8601DateTime!
description: String
id: Int!
paid: Boolean!
resourceId: Int!
resourceType: String!
secondAmount: Int
secondDescription: String
supplierIdentifier: String
thirdAmount: Int
thirdDescription: String
updatedAt: ISO8601DateTime!
}

Fields​

Cost.accountId ● Int! non-null scalar​

Account ID

Cost.amount ● Int scalar​

Amount

Cost.articleId ● Int deprecated scalar​

DEPRECATED

Use resource_type + resource_id instead of article_id

Article ID

Cost.billingDate ● ISO8601Date scalar​

Billing date

Cost.canceled ● Boolean! non-null scalar​

Canceled

Cost.costType ● CostType! non-null object​

Cost type

Cost.costTypeId ● Int! non-null scalar​

Cost type ID

Cost.createdAt ● ISO8601DateTime! non-null scalar​

Created at

Cost.description ● String scalar​

Description

Cost.id ● Int! non-null scalar​

ID

Paid

Cost.resourceId ● Int! non-null scalar​

Resource ID

Cost.resourceType ● String! non-null scalar​

Resource type

Cost.secondAmount ● Int scalar​

Second amount

Cost.secondDescription ● String scalar​

Second description

Cost.supplierIdentifier ● String scalar​

Supplier identifier

Cost.thirdAmount ● Int scalar​

Third amount

Cost.thirdDescription ● String scalar​

Third description

Cost.updatedAt ● ISO8601DateTime! non-null scalar​

Updated at

Member Of​

CostConnection object ● CostEdge object