Skip to content
← Back to Index

Invoice

Type

Definition

filtrera
let Invoice: {
  capturedTotal: number
  createdAt: instant
  invoiceAddress: {
    addressLine1: text
    addressLine2: text
    attention: text
    careOf: text
    city: text
    countryCode: text
    email: text
    name: text
    phone: text
    postalCode: text
    state: text
  }
  invoiceId: uuid
  invoiceLines: [{
    description: nothing|text
    discounts: [{
      amount: number
      description: nothing|text
      discountId: uuid
      invoiceLineDiscountId: uuid
    }]
    invoiceLineId: uuid
    invoiceLineNumber: number
    net: number
    originalInvoiceLineId: nothing|uuid
    productNumber: nothing|text
    quantity: nothing|number
    referenceId: uuid
    referenceType: 'none'|'orderLine'|'return'|'delivery'
    tax: number
    total: number
  }]
  invoiceNetTotal: number
  invoiceNumber: text
  invoiceTaxTotal: number
  invoiceTotal: number
  isCancelled: boolean
}

Availability

DiscountRuleReactor

© 2024 Hantera AB. All rights reserved.