invoiceMerge

Graphql fields and variables for the invoiceMerge mutation

Merge two or more invoices

Scope required: billing:write

mutation invoiceMerge ($invoiceIds: [ID!]!) {
  invoiceMerge (invoiceIds: $invoiceIds) {
      errors
      invoice {
        accountId
        amount
        amountDue
        amountPaid
        baseCurrencyId
        baseCurrencyTotal
        couponApplied
        createdAt
        credits
        currencyId
        description
        dueAt
        hasPaymentMethod
        id
        isLegacy
        issuedAt
        kind
        netPaymentDays
        notes
        number
        paidAt
        payableId
        poNumber
        portalUrl
        quoteId
        smallUnitAmountDue
        subtotal
        taxAmount
        taxRate
        updatedAt
        url
        uuid
      }
  }
}

Arguments

{
  "invoiceIds": [
    "456123"
  ]
}
Name
Type
Description

invoiceIds

List (ID)

Response

Name
Type
Description

errors

List (String)

invoice

Last updated

Was this helpful?