Files
venabo-gql-templates/Belege.gql
Dennes Schäffler 9a9e0aed87 initial commit
2025-11-11 09:00:50 +01:00

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
}
}
}