OBJECT

Invoice

An invoice

link GraphQL Schema definition

  • type Invoice {
  • # Code comptabilité analytique
  • accountingAnalytics: String
  • # ID of the invoice this one is an advance to, only present if this invoice is an
  • # advance
  • advanceFromId: ID
  • # City of the invoice addressee (the entity that is linked to the invoice - it can
  • # be a company, a trainee or a funding agency)
  • city: String
  • # City code of the invoice addressee (the entity that is linked to the invoice -
  • # it can be a company, a trainee or a funding agency)
  • cityCode: String
  • # Country code (max 2 char) of the invoice addressee (the entity that is linked to
  • # the invoice - it can be a company, a trainee or a funding agency)
  • countryCode: String
  • customer: Customer
  • # Date de facture
  • date: String
  • # URL to download the invoice file if it has been generated
  • fileUrl: String
  • # Mention libre
  • freeText: String
  • id: ID
  • # Creation date and time - format: YYYY-MM-DDThh:mm:sss
  • insertedAt: NaiveDateTime
  • invoicePayments: [InvoicePayment]
  • isPaymentLimitEndMonth: Boolean
  • items: [InvoiceItem]
  • # Invoice is locked and can't be modified
  • locked: Boolean
  • # Numéro de facture
  • number: Int
  • numberStr: String
  • # Order form number. Must be less than 50 characters.
  • orderForm: String
  • paymentLimitDays: Int
  • # Préfixe de facture
  • prefix: String
  • recipient: InvoiceRecipient
  • # Référence de facture
  • reference: String
  • # Road address of the invoice addressee (the entity that is linked to the invoice
  • # - it can be a company, a trainee or a funding agency)
  • roadAddress: String
  • trainingSession: TrainingSession
  • # Last update date and time - format: YYYY-MM-DDThh:mm:sss
  • updatedAt: NaiveDateTime
  • # DEPRECATED - Use `vat` from `items` instead
  • vat: Float @deprecated( reason: "Use `vat` from `items` instead" )
  • }