Skip to content
← Back to Index

Invoice

Type

Definition

filtrera
let Invoice: {
  capturedTotal: number
  createdAt: instant
  invoiceId: uuid
  invoiceLines: [{
    description: nothing|text
    discounts: [{
      amount: number
      description: nothing|text
      invoiceLineDiscountId: uuid
      referenceId: uuid
      referenceType: 'staticDiscount'|'promotion'
    }]
    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
  invoiceRecipient: {
    addressLine1: text
    addressLine2: text
    attention: text
    careOf: text
    city: text
    countryCode: text
    email: text
    name: text
    phone: text
    postalCode: text
    state: text
    taxCountryCode: nothing|text
    taxId: nothing|text
    taxIdType: nothing|text
  }
  invoiceTaxTotal: number
  invoiceTotal: number
  isCancelled: boolean
}

Availability

PromotionRuleReactor

© 2024 Hantera AB. All rights reserved.