Available queries

Associated queryReturns multiple results
Invoice
Invoices✔️

Available fields

LabelTypeNotesNull
account_managerAccount managerThe account manager associated to this document✔️
amount_paiddecimal(12,2)The amount paid in this document
bill_toAddressThe billing address✔️
changedDateThe date of the invoice's last modification
createdDateThe date of the invoice's creation
created_from_estimateEstimateThe estimate this document was created from✔️
created_from_typeintegerThe type of document this Invoice was created from✔️
created_from_sales_orderSales orderThe sales order this document was created from✔️
created_from_shipping_orderShipping orderThe shipping order this document was created from✔️
created_from_subscriptionSubscriptionThe subscription this document was created from✔️
currencyCurrencyThe currency used in this document✔️
customerCustomerThe customer this document is addressed to✔️
delivery_typestringThe type of delivery used in this document
depositboolean
discountdecimal(10,2)The discount applied in this document✔️
due_dateDateNoHourThe due date of this document✔️
exchange_ratedecimal(12,6)The exchange rate for this document's currency✔️
external_referencestringThe external reference of this document✔️
for_the_attention_ofstringThe person this document is addressed to✔️
global_discountdecimal(12,2)The global discount applied to the document✔️
idintegerThe id of the document
internal_notesstringNotes about this document that only you will see✔️
invoice_statusstringThe status of this document ("paid", "unpaid", "partially_paid", "draft", "cancelled")
labelstringThe order number of this specific invoice. Automatically generated
line_itemsLine itemsThe line items of the document
locationLocationThe location used in the document✔️
notesstringNotes about this document that you AND the customer will see✔️
paymentsPaymentsThe payments associated to this document✔️
payment_informationPayment informationInformations about the payments on this document✔️
price_levelPrice levelThe price level used in this document
product_returns_createdProduct returnsThe product returns created from this document✔️
seasonSeasonThe season used int this document✔️
shipping_costdecimal(10,2)The shipping cost✔️
shipping_taxesTaxesThe shipping taxes used in this document✔️
ship_toAddressThe shipping address✔️
subtotaldecimal(12,2)The subtotal of this document
taxesTaxesThe taxes used in this document✔️
tax_typeObjectThe type of taxes in this document✔️
terms_and_conditionsstringThe terms and condition of this document✔️
totaldecimal(12,2)The total of this document
total_taxesTotal taxesThe total taxes of this document
total_unitsdecimal(17,7)The total units of this order
userUserThe user who created this order

Example of a query

query{
  Invoices{
    edges{
      node{
        account_manager{
          id
        }
        amount_paid
        bill_to{
          country
        }
        changed
        created
        created_from_estimate{
          id
        }
        created_from_type
        created_from_sales_order{
          id
        }
        created_from_shipping_order{
          id
        }
        created_from_subscription{
          id
        }
        currency{
          iso
        }
        customer{
          id
        }
        delivery_type
        deposit
        discount
        due_date
        exchange_rate
        external_reference
        for_the_attention_of
        global_discount
        id
        internal_notes
        invoice_status
        label
        line_items{
          edges{
            node{
              id
            }
          }
        }
        location{
          id
        }
        notes
        payments{
          edges{
            node{
              id
            }
          }
        }
        payment_information{
          id
        }
        price_level{
          id
        }
        product_returns_created{
          edges{
            node{
              id
            }
          }
        }
        season{
          label
        }
        shipping_cost
        shipping_taxes{
          edges{
            node{
              id
            }
          }
        }
        ship_to{
          country
        }
        subtotal
        taxes{
          edges{
            node{
              id
            }
          }
        }
        tax_type
        terms_and_conditions
        total
        total_taxes{
          edges{
            node{
              id
            }
          }
        }
        total_units
        user{
          display_name
        }
      }
    }
  }
}