Invoice

(OBJECT)

Final invoice - serves as an accounting document

link GraphQL Schema definition

  • type Invoice {
  • # invoice internal ID
  • id: ID!
  • # invoicing company
  • supplier: InvoicingCompanyData!
  • # customer
  • customer: Customer!
  • # invoice address
  • invoice_address: AddressData!
  • # buy date
  • buy_date: Date!
  • # due date
  • due_date: DateTime
  • # pay date - the date of payment of the full amount or the last surcharge
  • pay_date: DateTime
  • # list of payments
  • payments: [Receipt]
  • # invoice date
  • created: DateTime!
  • # the invoice is paid or sum of received relevant payments is higher than the
  • # invoiced amount
  • paid: Boolean!
  • # regular payment identification - omit starting zeroes
  • # Variable symbol
  • var_symb: Int
  • # preinvoice number
  • preinvoice_num: Int
  • # preinvoice
  • preinvoice: Preinvoice
  • # invoice number
  • invoice_num: String!
  • # invoice items
  • items: [OrderItem]!
  • # invoice price elements e.g. shipping fee, payment fee, discount, etc.
  • price_elements: [OrderPriceElement]!
  • # summary price
  • sum: Price!
  • # detailed taxing
  • vat_summary: [Taxation!]
  • # original order
  • order: Order!
  • # url link for pdf document - downloading this document via API does not mark it
  • # as printed in the e-shop
  • download_pdf: Url!
  • }

link Require by