Skip to main content

Retrieve Invoice

GET 

/accounting/invoices/:id

Retrieve an Invoice with the given id.

Request

Path Parameters

    id stringrequired

    The ID of the invoice.

Query Parameters

    credentialId stringrequired

    The ID of the credential.

Header Parameters

    Authorization stringrequired

    Default value: bearer YOUR_API_KEY

Responses

200

Schema

    invoice

    object

    remoteId string
    customerId
    invoiceNumber string
    issueDate integer

    Default value: 0

    dueDate integer

    Default value: 0

    paidOnDate
    memo
    companyId
    currency string
    exchangeRate
    totalDiscount string
    subTotal string
    invoiceStatus
    totalTaxAmount
    totalAmount number

    Default value: 0

    balance number

    Default value: 0

    trackingCategories array

    lineItems

    object[]

  • Array [

  • id
    remoteId
    description string
    unitPrice
    quantity
    totalAmount number

    Default value: 0

    currency string
    exchangeRate
    accountingItemId
    accountId
    trackingCategoryId
    trackingCategoryIds array
    companyId
  • ]

  • purchaseOrders array
    id string
    remoteCreatedAt string
    remoteUpdatedAt string
    remoteDeleted boolean

    Default value: true

    createdAt string
    updatedAt string
Loading...