1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00
invoiceninja/app/Http/Controllers/OpenAPI/BankTransaction.php

21 lines
1.6 KiB
PHP
Raw Normal View History

2022-08-11 08:26:47 +02:00
<?php
/**
* @OA\Schema(
* schema="BankTransaction",
* type="object",
* @OA\Property(property="id", type="string", example="AS3df3A", description="The bank integration hashed id"),
* @OA\Property(property="company_id", type="string", example="AS3df3A", description="The company hashed id"),
* @OA\Property(property="user_id", type="string", example="AS3df3A", description="The user hashed id"),
* @OA\Property(property="transaction_id", type="integer", example=343434, description="The id of the transaction rule"),
2022-08-11 08:26:47 +02:00
* @OA\Property(property="amount", type="number", example=10.00, description="The transaction amount"),
2022-09-22 07:54:58 +02:00
* @OA\Property(property="currency_id", type="string", example="1", description="The currency ID of the currency"),
2022-08-11 08:26:47 +02:00
* @OA\Property(property="account_type", type="string", example="creditCard", description="The account type"),
* @OA\Property(property="description", type="string", example="Potato purchases for kevin", description="The description of the transaction"),
* @OA\Property(property="category_id", type="integer", example=1, description="The category id"),
* @OA\Property(property="category_type", type="string", example="Expenses", description="The category description"),
2022-08-12 05:41:55 +02:00
* @OA\Property(property="base_type", type="string", example="CREDIT", description="Either CREDIT or DEBIT"),
2022-08-11 08:26:47 +02:00
* @OA\Property(property="date", type="string", example="2022-09-01", description="The date of the transaction"),
* @OA\Property(property="bank_account_id", type="integer", example="1", description="The ID number of the bank account"),
* )
*/