QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

AccountType Property

The type of account.

Syntax

ANSI (Cross Platform)
int GetAccountType();
int SetAccountType(int iAccountType); Unicode (Windows) INT GetAccountType();
INT SetAccountType(INT iAccountType);

Possible Values

AT_UNSPECIFIED(0), 
AT_ACCOUNTS_PAYABLE(1),
AT_ACCOUNTS_RECEIVABLE(2),
AT_BANK(3),
AT_COST_OF_GOODS_SOLD(4),
AT_CREDIT_CARD(5),
AT_EQUITY(6),
AT_EXPENSE(7),
AT_FIXED_ASSET(8),
AT_INCOME(9),
AT_LONG_TERM_LIABILITY(10),
AT_OTHER_ASSET(11),
AT_OTHER_CURRENT_ASSET(12),
AT_OTHER_CURRENT_LIABILITY(13),
AT_OTHER_EXPENSE(14),
AT_OTHER_INCOME(15),
AT_NON_POSTING(16)
@property (nonatomic,readwrite,assign,getter=accountType,setter=setAccountType:) int accountType;
- (int)accountType;
- (void)setAccountType:(int)newAccountType;

Possible Values

AT_UNSPECIFIED(0), 
AT_ACCOUNTS_PAYABLE(1),
AT_ACCOUNTS_RECEIVABLE(2),
AT_BANK(3),
AT_COST_OF_GOODS_SOLD(4),
AT_CREDIT_CARD(5),
AT_EQUITY(6),
AT_EXPENSE(7),
AT_FIXED_ASSET(8),
AT_INCOME(9),
AT_LONG_TERM_LIABILITY(10),
AT_OTHER_ASSET(11),
AT_OTHER_CURRENT_ASSET(12),
AT_OTHER_CURRENT_LIABILITY(13),
AT_OTHER_EXPENSE(14),
AT_OTHER_INCOME(15),
AT_NON_POSTING(16)
#define PID_ACCOUNT_ACCOUNTTYPE 3

INQB_EXTERNAL void* INQB_CALL InQB_Account_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_Account_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

The type of account. You must set this property (to something other than atUnspecified) before adding an account to QuickBooks.

Note that you may not create accounts of type atNonPosting through the SDK.

The following values are permitted:

atUnspecified0
atAccountsPayable1
atAccountsReceivable2
atBank3
atCostOfGoodsSold4
atCreditCard5
atEquity6
atExpense7
atFixedAsset8
atIncome9
atLongTermLiability10
atOtherAsset11
atOtherCurrentAsset12
atOtherCurrentLiability13
atOtherExpense14
atOtherIncome15
atNonPosting16

Data Type

Integer

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 C++ Edition - Version 20.0 [Build 7941]