initial commit
This commit is contained in:
49
Belege.gql
Normal file
49
Belege.gql
Normal file
@@ -0,0 +1,49 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user