REST API
SOAP API
FAQ
Changelog
Terms & Conditions
Help Center
REST API
SOAP API
FAQ
Changelog
Terms & Conditions
Help Center
  • Common Datatypes
  • AccountService Datatypes
  • AttachmentService Datatypes
  • AuthenticateService Datatypes
  • BudgetService Datatypes
  • ClientService Datatypes
  • CompanyService Datatypes
  • FileService Datatypes
  • InvoiceService Datatypes
  • PaymentService Datatypes
  • PersonService Datatypes
  • ProductService Datatypes
  • ProjectService Datatypes
  • SalesOppService DataTypes
  • TemplateService DataTypes
  • TimeService Datatypes
  • TransactionService DataTypes

AccountService Datatypes

Back to AccountService

BundleList

PropertyTypeDescription
BundlesBundle[]
SaveOptionIntCan be either 1 or 0. Setting 1 saves the bundle as a journal which can then be reviewed and edited on the Finago Office web site. Setting 0 saves the bundle directly to the ledger. Default value is 1.
DirectLedgerBoolThis can be ignored in almost all cases. If set to false use customer ledger. If set to true use account that is set directly. Default value is false.
DefaultCustomerIdIntDefault CustomerId that is used if CustomerId is not set on one or more entries.
AllowDifferenceBoolAllow difference in credit/debit balance. This is only applicable when saving journal data (see SaveOption) below. Default value is false.
IgnoreWarningsString[]A list of warnings that may be ignored

IgnoreWarnings

NameDescription
vatisnotinbalanceIgnores warnings about missing VAT balance. Can be applicable in cases where VAT codes are set on Entries but corresponding VAT entries are not specified
vatismissingfoundationIgnores warning about Vouchers that have a vat amount that do not have a corresponding foundation entry
invoicealreadyexistsIgnores warning about invoice references that already exist in the ledger
customermismatchbankaccountIgnores warnings about mismatching back account on Customer. By default the SaveBundleList method only accepts the default bank account of a customer

Bundle

PropertyTypeDescription
YearIdIntThe YearId is set to the current year of the bundle. e.g. 2017.
VouchersVoucher[]
SortIntCan be defined for either Bundle or Voucher. This is an entry type. The No property from GetTransactionTypes is used.
NameStringThe name of the bundle. Not applicable when SaveOption = 0
BundleDirectAccountingBooleanIf set to false it automatically calculates VAT. If set to true it does not calculate VAT. This is only applicable when saving draft journal data (see SaveOption).

Voucher

PropertyTypeDescription
TransactionNoIntThis the transaction number of the voucher. Get the next available number by sending a request to GetEntryId. The GetEntryId method takes a Date property which must be some date within the given fiscal year of the voucher. It also takes a SortNo property, here provide an EntrySeriesId property value, which can be optained by sending a request to GetTypeList.
EntriesEntry[]
SortIntCan be defined for either Bundle or Voucher. This is an entry type. The No property from GetTransactionTypes is used.
DifferenceOptionsDifferenceOptions

Entry

PropertyTypeDescription
SequenceIdDecimalCan be set to define the order of entries when using SaveOption 1.
CustomerIdInt32Use CompanyId from GetCompanies
AccountNoInt32Use AccountNo from GetAccountList.
DateDateTime
DueDateDateTime
AmountDecimalUse e.g. 123 for debit and -123 for credit
CurrencyIdStringUse e.g. NOK, USD. Get a list of client’s currencies from GetCurrencyList
CurrencyRateDecimalcurrent Rate of the currency.
CurrencyUnitInt16set the Unit of the currency. Default is 1.
DepartmentIdInt32Get a list of departments from GetDepartmentList
ProjectIdSee for example GetProjectList
InvoiceReferenceNoThe Invoice number.
InvoiceOcrThe OCR/KID number.
TaxNoThe VAT type, see GetTaxCodeList
PeriodDateDateTimeThis usually follows the current month. Will be set automatically if omitted.
CommentA comment that appears on the entry line
StampNoAn Id that acts as a link to any inbound invoices/documents that are sent to Finago Office
BankAccountNoBank Account number
LinkIdGUIDSpecify to link internally in the bundle
LinksLinkId: this is used for internal linking in the bundle, i.e. reference the LinkId specified in another entry in the bundle that is beeing submitted.
LineIdThis is for linking to existing entries. Get the LineId from the TransactionService GetTransactions

EntryItem

PropertyTypeDescription
LineIdGUIDA single LineID. Can be fetched from GetTransactions
DueDateDateTimeThe new Due Date

LinkEntryItem

PropertyTypeDescription
LineIdsGUID[]An array of LineIds. Can be fetched from GetTransactions
LinkIdintThe LinkId that links the LineIds. Can either be an existing LinkId or newly created through CreateLink

AccountData

PropertyTypeDescription
AccountIdInt
AccountNoShort
AccountNameString
AccountTaxInt
TaxNoInt

AccountDataErrors

PropertyTypeDescription
ErrorEnumOK, AccountDontExist, NameDontMatch

TypeData

PropertyTypeDescription
TypeIdInt
TypeNoInt
TitleString
EntrySeriesIDInt

TaxMappingList

PropertyTypeDescription
GroupIdGuid
NameString
DescriptionString
IsTemplateBoolean
ElementListTaxMappingElements[]

TaxMappingElements

PropertyTypeDescription
SymbolString
TaxNoInt

TaxCodeElement

PropertyTypeDescription
TaxIdInt
TaxNoString
TaxNameString
TaxRateDecimal
AccountNoShort

SaveBundleListResult

PropertyTypeDescription
TypeEnumOk, DuplicateData, DataAlreadySaved, NotAuthenticated, SystemError, Exception, NotSaved
DescriptionString

GetEntryIdResult

PropertyTypeDescription
DateDateTime
SortNoInt
EntryNoInt

AccountList

The accountList model only consists of an array of AccountData which is described below.

PropertyTypeDescription
AccountDataInt
AccountNoShort
AccountNameString
AccountTaxInt
TaxNoInt

ArgEntryId

PropertyTypeDescription
DateDateTime
SortNoInt
EntryNoInt

Back to AccountService

Last Updated: 1/7/26, 2:26 PM
Prev
Common Datatypes
Next
AttachmentService Datatypes