49 lines
1.2 KiB
GraphQL
49 lines
1.2 KiB
GraphQL
query {
|
|
getDocuments(input: {
|
|
take: 10,
|
|
documentDefinitionIdentifier: ["OF", "SO", "DL", "INV"]
|
|
}) {
|
|
items {
|
|
id: id
|
|
number: identifier
|
|
address_reference: debitorCreditorIdentifier
|
|
documentPostalAddress {
|
|
name: recipient
|
|
description: addition
|
|
city: city
|
|
country: countryIso
|
|
street: street
|
|
zip: postalCode
|
|
},
|
|
external_order: theirReference
|
|
contact_person: theirSignature
|
|
own_reference: ourSignature
|
|
address_id: addressId
|
|
status
|
|
creatorEmployee {
|
|
created_by_name: lastName
|
|
}
|
|
currency: currency
|
|
customFields {
|
|
custom_field_1: text1
|
|
custom_field_2: text2
|
|
}
|
|
date: date,
|
|
deliveryPostalAddress {
|
|
delivery_city: city
|
|
delivery_name: recipient
|
|
}
|
|
discount: discountPercentage
|
|
extra_text: notes
|
|
payment_condition: paymentReference
|
|
payment_target: paymentTargetDays
|
|
price: total
|
|
total_price: totalWithTax
|
|
profit: revenue
|
|
tax: totalTax
|
|
created_at: createdAt
|
|
receipt_type_id: documentDefinitionIdentifier
|
|
weight: grossWeight
|
|
}
|
|
}
|
|
} |