KASHFLOW API
automated accounting
HOME  |  MANUAL  |  SOFTWARE & SCRIPTS  |  EXAMPLE CODE  |  FIND A DEVELOPER  |  SUPPORT  |  CONTACT
MANUAL CONTENTS


Introduction

Methods and Arguments

  Overview

  Customers
    GetCustomer
    GetCustomerById
    GetCustomerByEmail
    GetCustomers
    GetCustomersModifiedSince
    InsertCustomer
    UpdateCustomer
    DeleteCustomer
    GetCustomerSources
    GetCustomerVATNumber
    SetCustomerVATNumber
    GetCustomerCurrency
    SetCustomerCurrency

  Quotes
    DeleteQuote
    DeleteQuoteByID
    DeleteQuoteLine
    DeleteQuoteLineWithQuoteID
    GetQuoteByNumber
    GetQuoteByID
    GetQuotes
    GetQuotesForCustomer
    InsertQuote
    InsertQuoteLine
    isStillQuote
    UpdateQuote
    UpdateQuoteHeader
    ConvertQuoteToInvoice

  Invoices
    GetInvoice
    GetInvoiceByID
    GetInvoicesByDateRange
    GetInvoicesForCustomer
    GetInvoices_Overdue
    GetInvoices_Recent
    GetInvoices_Unpaid
    InsertInvoice
    InsertInvoiceLine
    InsertInvoiceLineWithInvoiceNumber
    UpdateInvoice
    UpdateInvoiceHeader
    DeleteInvoice
    DeleteInvoiceByID
    DeleteInvoiceLine
    DeleteInvoiceLineWithInvoiceID
    EmailInvoice
    PrintInvoice
    GetPaypalLink

  Invoice Payments
    GetInvoicePayment
    GetInvPayMethods
    InsertInvoicePayment
    DeleteInvoicePayment

  Suppliers
    GetSupplier
    GetSuppliers
    GetSupplierById
    InsertSupplier
    UpdateSupplier
    GetSupplierVATNumber
    SetSupplierVATNumber
    GetSupplierCurrency
    SetSupplierCurrency


  Purchases
    GetReceipt
    GetReceipts
    GetReceiptsForSupplier
    InsertReceipt
    UpdateReceipt
    UpdateReceiptHeader
    DeleteReceipt
    DeleteReceiptByID
    InsertReceiptLine
    InsertReceiptLineFromNumber
    DeleteReceiptLine
    DeleteReceiptLineWithReceiptID
    AttachFileToReceipt
    GetReceiptAttachments
    DeleteReceiptAttachment

  Purchase Payments
    GetReceiptPayment
    GetRecPayMethods
    InsertReceiptPayment
    DeleteReceiptPayment

  Bank
    CreateBankAccount
    GetBankAccounts
    GetBankTXTypes
    GetBankBalance
    GetBankTransactions
    InsertBankTransaction
    UpdateBankTransaction
    DeleteBankTransaction

  Journals
    InsertJournal
    GetJournal
    GetJournals
    DeleteJournal
    DeleteJournalByID
    UpdateJournal
    UpdateJournalHeader

  Reports
    GetAgedDebtors
    GetBalanceSheet
    GetDigitaCSVFile
    GetIncomeByCustomer
    GetMonthlyProfitAndLoss
    GetNominalLedger
    GetProfitAndLoss
    GetTrialBalance
    GetVATReport

  Supplementary Functions
    AutoAuthIP
    createAccount
    GetAccountOverview
    GetBankOverview
    GetCurrencies
    GetRemoteLoginURL
    GetProducts
    GetProjects
    GetNominalCodes
    GetNominalCodesExtended
    InsertNominalCode
    isUserVATRegistered
    SetCustomerCurrency
    SetSupplierCurrency
    SetCustomerVATNumber
    SetSupplierVATNumber
    VCFToCustomerObjects
    

Classes

  AccountOverview
  AgedDebtorsCreditors
  BalanceSheet
  BankAccount
  BankOverview
  BankTransaction
  BankTXType
  BasicDataset
  Currencies
  Customer
  Invoice
  InvoiceLine
  JournalEntry
  JournalLine
  MonthlyPL
  NominalCode
  NominalCodeExtended
  Payment
  PaymentMethod
  Product
  ProfitAndLoss
  ReceiptAttachment
  Supplier
  TransactionInformation
  VATReport


Manual - Classes - Invoice


For Sales Invoices:
(see below for Purchase Invoices (Receipts)

Note that properties relating to payments and totals are read-only.

The Net Amount and Vat Amount are calculated based on the Lines.

The 'Paid' status is set by adding an invoice payments.

Member Data Type Content
InvoiceDBID
(Read Only)
Integer System-wide unique number for this invoice (used internally only)
InvoiceNumber Integer Unique invoice Reference Number
InvoiceDate DateTime Invoice Date
DueDate DateTime Payment Due Date
SuppressTotal Integer 1 to suppress the quote/estimate total
ProjectID Integer The project ID for this invoice. See GetProjects
CurrencyCode String The currency code to be used for the invoice e.g. USD, GBP, ZAR
ExchangeRate Decimal The exchange rate for the currency used.
Paid
(Read Only)
Integer 1 for Paid, 0 for Unpaid
CustomerID Integer CustomerID of Customer
CustomerReference String Customer Reference
EstimateCategory String The name of the estimate category
NetAmount
(Read Only)
Decimal The total net amount of the invoice
VatAmount
(Read Only)
Decimal The total VAT amount of the invoice
AmountPaid
(Read Only)
Decimal The sum of all payments made to this invoice


Collections Data Type Content
Lines InvoiceLine Collection. Click here for full details.





For Purchase Invoices (Receipts):
(see above for Sales Invoices)

Note that properties relating to payments and totals are read-only.

The Net Amount and Vat Amount are calculated based on the Lines.

Member Data Type Content
InvoiceDBID
(Read Only)
Integer System-wide unique number for this receipt (used internally only)
InvoiceNumber
(Read Only)
Integer Unique Reference Number for this Receipt
InvoiceDate DateTime Receipt Date
DueDate DateTime Payment Due Date
Paid
(Read Only)
Integer 1 for Paid, 0 for Unpaid
CustomerID Integer SupplierID of Supplier
CustomerReference String Supplier Reference
NetAmount Decimal The total net amount of the receipt
VatAmount Decimal The total VAT amount of the receipt
AmountPaid Decimal The sum of all payments made to this receipt


Collections Data Type Content
Lines InvoiceLine Collection. Click here for full details.





HOME  |  MANUAL  |  SOFTWARE & SCRIPTS  |  FIND A DEVELOPER  |  SUPPORT  |  CONTACT