PocketSmith
pocketsmithPocketSmith is a personal finance platform for tracking accounts and transactions, managing budgets, and forecasting financial outcomes.
Acciones disponibles (14)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create CategoryPOCKETSMITH_CREATE_CATEGORYAcciónCreate one category for a PocketSmith user with optional hierarchy and budgeting behavior.
POCKETSMITH_CREATE_CATEGORYAcciónCreate one category for a PocketSmith user with optional hierarchy and budgeting behavior.
Parámetros de entrada
colorstringCSS hexadecimal color in #RRGGBB format.
titlestringObligatorioCategory title.
is_billbooleanWhether this is a bill category.
roll_upbooleanWhether budget figures should roll up into the parent category.
user_idintegerObligatorioPocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.
is_transferbooleanWhether this is a transfer category.
refund_behaviorstringenumHow PocketSmith should treat refunds in this category.
debits_are_deductionscredits_are_refundsparent_category_idintegerExisting category ID that should become this category's parent.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create TransactionPOCKETSMITH_CREATE_TRANSACTIONAcciónCreate one transaction in a specified transaction account and return the created financial record.
POCKETSMITH_CREATE_TRANSACTIONAcciónCreate one transaction in a specified transaction account and return the created financial record.
Parámetros de entrada
datestringObligatoriodateDate the transaction occurred in YYYY-MM-DD format.
memostringMemo for the transaction.
notestringDetailed note for the transaction.
payeestringObligatorioPayee or merchant for the transaction.
amountnumberObligatorioSigned amount: positive for a credit and negative for a debit.
labelsstring[]Labels to assign to the transaction.
category_idintegerCategory ID to assign to the transaction.
is_transferbooleanWhether this transaction represents a transfer.
needs_reviewbooleanWhether the transaction should be marked for review.
cheque_numberstringCheque number associated with the transaction.
transaction_account_idintegerObligatorioTransaction-account ID returned by POCKETSMITH_LIST_TRANSACTION_ACCOUNTS.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get BudgetPOCKETSMITH_GET_BUDGETAcciónReturn a PocketSmith user's current category-level actual and forecast budget analysis. During probing, this read coincided with forecast cache access/update timestamps changing to the call timestamp and the forecast start date also changing; PocketSmith may therefore refresh derived forecast-cache metadata while serving it, although the probe did not establish that every call does so.
POCKETSMITH_GET_BUDGETAcciónReturn a PocketSmith user's current category-level actual and forecast budget analysis. During probing, this read coincided with forecast cache access/update timestamps changing to the call timestamp and the forecast start date also changing; PocketSmith may therefore refresh derived forecast-cache metadata while serving it, although the probe did not establish that every call does so.
Parámetros de entrada
roll_upbooleanWhether parent-category actual and forecast totals should include child categories. Child categories still appear separately.
user_idintegerObligatorioPocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Budget SummaryPOCKETSMITH_GET_BUDGET_SUMMARYAcciónAnalyze the user's combined income and expense budget over a required date range and period interval.
POCKETSMITH_GET_BUDGET_SUMMARYAcciónAnalyze the user's combined income and expense budget over a required date range and period interval.
Parámetros de entrada
periodstringObligatorioenumUnit used to group the analysis; event works only when gathered budget events align.
weeksmonthsyearseventuser_idintegerObligatorioPocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.
end_datestringObligatoriodateEnd of the analysis range in YYYY-MM-DD format; PocketSmith may expand it to complete periods.
intervalintegerObligatorioNumber of period units in each analysis bucket, such as 2 weeks for fortnightly results.
start_datestringObligatoriodateStart of the analysis range in YYYY-MM-DD format; PocketSmith may expand it to complete periods.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current UserPOCKETSMITH_GET_CURRENT_USERAcciónReturn the PocketSmith user authorized by the connected developer key, including the user ID needed by user-scoped tools.
POCKETSMITH_GET_CURRENT_USERAcciónReturn the PocketSmith user authorized by the connected developer key, including the user ID needed by user-scoped tools.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get TransactionPOCKETSMITH_GET_TRANSACTIONAcciónReturn one PocketSmith transaction by ID with its amount, date, payee, category, labels, and review state.
POCKETSMITH_GET_TRANSACTIONAcciónReturn one PocketSmith transaction by ID with its amount, date, payee, category, labels, and review state.
Parámetros de entrada
transaction_idintegerObligatorioID of the transaction to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List AccountsPOCKETSMITH_LIST_ACCOUNTSAcciónReturn all financial accounts belonging to a PocketSmith user, including account, primary transaction-account, and scenario IDs.
POCKETSMITH_LIST_ACCOUNTSAcciónReturn all financial accounts belonging to a PocketSmith user, including account, primary transaction-account, and scenario IDs.
Parámetros de entrada
user_idintegerObligatorioPocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CategoriesPOCKETSMITH_LIST_CATEGORIESAcciónReturn all categories belonging to a PocketSmith user, including hierarchy and budgeting flags.
POCKETSMITH_LIST_CATEGORIESAcciónReturn all categories belonging to a PocketSmith user, including hierarchy and budgeting flags.
Parámetros de entrada
user_idintegerObligatorioPocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Transaction AccountsPOCKETSMITH_LIST_TRANSACTION_ACCOUNTSAcciónReturn the transaction accounts belonging to a PocketSmith user, including IDs and balances needed to create and query transactions.
POCKETSMITH_LIST_TRANSACTION_ACCOUNTSAcciónReturn the transaction accounts belonging to a PocketSmith user, including IDs and balances needed to create and query transactions.
Parámetros de entrada
user_idintegerObligatorioPocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TransactionsPOCKETSMITH_LIST_TRANSACTIONSAcciónReturn one page of a user's transactions with optional date, state, type, and keyword filters, plus a cursor for the next page.
POCKETSMITH_LIST_TRANSACTIONSAcciónReturn one page of a user's transactions with optional date, state, type, and keyword filters, plus a cursor for the next page.
Parámetros de entrada
searchstringKeyword matched against amount, account, payee, category, note, labels, and date.
user_idintegerObligatorioPocketSmith user ID returned by POCKETSMITH_GET_CURRENT_USER.
end_datestringdateLatest transaction date, inclusive. Supply together with start_date.
per_pageintegerMaximum transactions in this page (10-1000).
start_datestringdateEarliest transaction date, inclusive. Supply together with end_date.
next_cursorstringOpaque continuation cursor returned by the previous call; omit for the first page.
needs_reviewbooleanWhen true, return only transactions marked for review.
uncategorizedbooleanWhen true, return only uncategorized transactions.
updated_sincestringdate-timeReturn only transactions updated since this ISO 8601 timestamp.
transaction_typestringenumReturn only debit or credit transactions.
debitcredit
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update AccountPOCKETSMITH_UPDATE_ACCOUNTAcciónUpdate selected metadata on one financial account without deleting it or changing transaction-account balances.
POCKETSMITH_UPDATE_ACCOUNTAcciónUpdate selected metadata on one financial account without deleting it or changing transaction-account balances.
Parámetros de entrada
titlestringNew account title.
account_idintegerObligatorioID of the financial account to update, returned by POCKETSMITH_LIST_ACCOUNTS.
account_typestringenumNew PocketSmith account type.
bankcreditscashloansmortgagestocksvehiclepropertyinsuranceother_assetother_liabilityis_net_worthbooleanWhether PocketSmith should include the account in net worth.
currency_codestringNew PocketSmith currency code, such as USD or NZD.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update CategoryPOCKETSMITH_UPDATE_CATEGORYAcciónUpdate selected hierarchy, display, and budgeting fields on one category without deleting it.
POCKETSMITH_UPDATE_CATEGORYAcciónUpdate selected hierarchy, display, and budgeting fields on one category without deleting it.
Parámetros de entrada
colorstringNew CSS hexadecimal color in #RRGGBB format.
titlestringNew category title.
is_billbooleanWhether this is a bill category.
roll_upbooleanWhether budget figures roll up into the parent category.
category_idintegerObligatorioID of the category to update.
is_transferbooleanWhether this is a transfer category.
refund_behaviorstringenumNew refund treatment for this category.
debits_are_deductionscredits_are_refundsparent_category_idintegerNew parent category ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update TransactionPOCKETSMITH_UPDATE_TRANSACTIONAcciónUpdate selected fields on one existing transaction without deleting or splitting it.
POCKETSMITH_UPDATE_TRANSACTIONAcciónUpdate selected fields on one existing transaction without deleting or splitting it.
Parámetros de entrada
datestringdateNew transaction date in YYYY-MM-DD format.
memostringNew transaction memo.
notestringNew detailed transaction note.
payeestringNew payee or merchant.
amountnumberNew signed amount: positive for a credit and negative for a debit.
labelsstring[]Replacement labels. Supply an empty list to remove all labels.
category_idintegerNew category ID for the transaction.
is_transferbooleanWhether this transaction represents a transfer.
needs_reviewbooleanWhether the transaction needs review.
cheque_numberstringNew cheque number.
clear_categorybooleanSet true to remove the transaction's current category.
transaction_idintegerObligatorioID of the transaction to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update TransactionsPOCKETSMITH_UPDATE_TRANSACTIONSAcciónUpdate 1-20 distinct transactions sequentially. The operation is not atomic: successful updates are not rolled back, each item has an explicit outcome, and processing stops after an authentication, permission, rate-limit, server, unexpected-response, or ambiguous transport failure.
POCKETSMITH_UPDATE_TRANSACTIONSAcciónUpdate 1-20 distinct transactions sequentially. The operation is not atomic: successful updates are not rolled back, each item has an explicit outcome, and processing stops after an authentication, permission, rate-limit, server, unexpected-response, or ambiguous transport failure.
Parámetros de entrada
updatesobject[]ObligatorioOrdered updates for 1-20 distinct transactions. Each item is sent as a separate sequential PocketSmith request.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not