Skip to main content

Fee

No description

type Fee {
id: Int
reference: String!
name: String!
type: FeeType!
quantity: Int!
unitPrice: MonetaryValue!
totalPrice: MonetaryValue!
}

Fields

id ● Int

Id of the fee, can be nil

reference ● String!

Reference of the fee.

name ● String!

Short name/description of the fee

type ● FeeType!

Valid type of the fee

quantity ● Int!

Quantity of the fee item. If the item is a fee, the quantity is always 1.

unitPrice ● MonetaryValue!

Unit price of the fee item, excluding tax.

totalPrice ● MonetaryValue!

Total price of the fee.

Example

{
"type": "DELIVERY",
"unitPrice": {
"currency": {
"code": "USD",
"rate": 11.355,
"prefix": "$"
},
"tax": {}
}
}