Invoice

(OBJECT)

Final invoice - serves as an accounting document

link GraphQL Schema definition

  • type Invoice {
  • # Invoice internal ID
  • id: ID!
  • # Invocing company
  • supplier: InvoicingCompany!
  • # 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
  • 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