UNPKG

@nikhil-patil/ngx-firefly-iii-api-client

Version:
174 lines (173 loc) 5.99 kB
/** * Firefly III API v2.1.0 * This is the documentation of the Firefly III API. You can find accompanying documentation on the website of Firefly III itself (see below). Please report any bugs or issues. You may use the \"Authorize\" button to try the API below. This file was last generated on 2024-05-19T04:33:01+00:00 Please keep in mind that the demo site does not accept requests from curl, colly, wget, etc. You must use a browser or a tool like Postman to make requests. Too many script kiddies out there, sorry about that. * * The version of the OpenAPI document: 2.1.0 * Contact: james@firefly-iii.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { TransactionTypeProperty } from './transactionTypeProperty'; export interface TransactionSplitUpdate { /** * Transaction journal ID of current transaction (split). */ transaction_journal_id?: string; type?: TransactionTypeProperty; /** * Date of the transaction */ date?: string; /** * Amount of the transaction. */ amount?: string; /** * Description of the transaction. */ description?: string; /** * Order of this entry in the list of transactions. */ order?: number | null; /** * Currency ID. Default is the source account\'s currency, or the user\'s default currency. Can be used instead of currency_code. */ currency_id?: string | null; /** * Currency code. Default is the source account\'s currency, or the user\'s default currency. Can be used instead of currency_id. */ currency_code?: string | null; readonly currency_symbol?: string; readonly currency_name?: string; /** * Number of decimals used in this currency. */ readonly currency_decimal_places?: number; /** * The amount in a foreign currency. */ foreign_amount?: string | null; /** * Currency ID of the foreign currency. Default is null. Is required when you submit a foreign amount. */ foreign_currency_id?: string | null; /** * Currency code of the foreign currency. Default is NULL. Can be used instead of the foreign_currency_id, but this or the ID is required when submitting a foreign amount. */ foreign_currency_code?: string | null; readonly foreign_currency_symbol?: string | null; /** * Number of decimals in the currency */ readonly foreign_currency_decimal_places?: number | null; /** * The budget ID for this transaction. */ budget_id?: string | null; /** * The name of the budget to be used. If the budget name is unknown, the ID will be used or the value will be ignored. */ readonly budget_name?: string | null; /** * The category ID for this transaction. */ category_id?: string | null; /** * The name of the category to be used. If the category is unknown, it will be created. If the ID and the name point to different categories, the ID overrules the name. */ category_name?: string | null; /** * ID of the source account. For a withdrawal or a transfer, this must always be an asset account. For deposits, this must be a revenue account. */ source_id?: string | null; /** * Name of the source account. For a withdrawal or a transfer, this must always be an asset account. For deposits, this must be a revenue account. Can be used instead of the source_id. If the transaction is a deposit, the source_name can be filled in freely: the account will be created based on the name. */ source_name?: string | null; source_iban?: string | null; /** * ID of the destination account. For a deposit or a transfer, this must always be an asset account. For withdrawals this must be an expense account. */ destination_id?: string | null; /** * Name of the destination account. You can submit the name instead of the ID. For everything except transfers, the account will be auto-generated if unknown, so submitting a name is enough. */ destination_name?: string | null; destination_iban?: string | null; /** * If the transaction has been reconciled already. When you set this, the amount can no longer be edited by the user. */ reconciled?: boolean; /** * Optional. Use either this or the bill_name */ bill_id?: string | null; /** * Optional. Use either this or the bill_id */ bill_name?: string | null; /** * Array of tags. */ tags?: Array<string> | null; notes?: string | null; /** * Reference to internal reference of other systems. */ internal_reference?: string | null; /** * Reference to external ID in other systems. */ external_id?: string | null; /** * External, custom URL for this transaction. */ external_url?: string | null; /** * Internal ID of bunq transaction. */ bunq_payment_id?: string | null; /** * SEPA Clearing Code */ sepa_cc?: string | null; /** * SEPA Opposing Account Identifier */ sepa_ct_op?: string | null; /** * SEPA end-to-end Identifier */ sepa_ct_id?: string | null; /** * SEPA mandate identifier */ sepa_db?: string | null; /** * SEPA Country */ sepa_country?: string | null; /** * SEPA External Purpose indicator */ sepa_ep?: string | null; /** * SEPA Creditor Identifier */ sepa_ci?: string | null; /** * SEPA Batch ID */ sepa_batch_id?: string | null; interest_date?: string | null; book_date?: string | null; process_date?: string | null; due_date?: string | null; payment_date?: string | null; invoice_date?: string | null; } export declare namespace TransactionSplitUpdate { }