README.md 6.38 KB
Newer Older
Dmitrii Poddubnyi's avatar
initial  
Dmitrii Poddubnyi committed
1
2
3
4
5
6
7
8
9
# EasyQuickImport — Import transactions, invoices and bills into QuickBooks Desktop from Excel or CSV

[![Build Status](https://gitlab.dev.trackmage.com/karser/easyquickimport/badges/master/pipeline.svg)](https://gitlab.dev.trackmage.com/karser/easyquickimport/pipelines)
[![Total Downloads](https://poser.pugx.org/karser/easy-quick-import/downloads)](https://packagist.org/packages/karser/easy-quick-import)

EasyQuickImport is a tool that helps you import invoices, bills, transactions,
customers and vendors into QuickBooks Desktop in multiple currencies in bulk.

### Features
Dmitrii Poddubnyi's avatar
Dmitrii Poddubnyi committed
10
11
12
13
- **Import of Journal Entries transactions, Single-line Invoices and bills**. Import creates customers, and vendors automatically.
- **Supported formats: csv, xlsx, xls**
- **Multicurrency support**. The base currency can be USD, EUR or anything else. The currency of all your accounts is detected automatically
  (after you import the Chart of accounts).
Dmitrii Poddubnyi's avatar
initial  
Dmitrii Poddubnyi committed
14
- **Cross Currency Transactions**. Transfer between accounts of different currencies goes through the Undeposited
Dmitrii Poddubnyi's avatar
Dmitrii Poddubnyi committed
15
  funds account. EasyQuickImport doesn't affect the Undeposited funds balance because it uses the accurate historical exchange rate.
Dmitrii Poddubnyi's avatar
initial  
Dmitrii Poddubnyi committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
- **Historical exchange rate**. EasyQuickImport automatically obtains the exchange rate from European Central Bank
  on a given date for any currency for each transaction. You can use [other exchange rate sources](https://github.com/florianv/exchanger) as well.
- **Multi-tenancy**: if you have multiple company files on the same computer, you can add them all to EasyQuickImport.


## Getting started:

Either install [self-hosted](#how-to-install-easyquickimport) or [sign up](https://app.easyquickimport.com/register) for a free cloud account.

### Connect EasyQuickImport to QuickBooks Desktop

**In EasyQuickImport**:

Add a company file in Users, define username, password and specify the home currency.
It's recommended to specify the company file location if you are going to use multiple company files on the same computer.
Once it's done download the QWC file.

**In Quickbooks** click `File / Update Web Services`

Then Add an Application, in the file dialog select the downloaded QWC.
Then click Yes, then select "When company file is open" and click continue.
When it's done don't forget to specify the password that you defined in EasyQuickImport.

[![Connect EasyQuickImport to QuickBooks Desktop](https://user-images.githubusercontent.com/1675033/117167904-5a9d6780-add0-11eb-901d-8228443be18c.png)](https://www.youtube.com/watch?v=6kVJrthCQr0)

### How to import invoices from Excel into QuickBooks Desktop

[![Import invoices from Excel into QuickBooks Desktop](https://user-images.githubusercontent.com/1675033/117167991-7274eb80-add0-11eb-99ef-e6f27e72e509.png)](https://www.youtube.com/watch?v=ZKe002JUIww)

### How to import transactions from Excel into QuickBooks Desktop

[![How to import transactions from Excel into QuickBooks Desktop](https://user-images.githubusercontent.com/1675033/117168077-83bdf800-add0-11eb-8ad9-9d8668164752.png)](https://www.youtube.com/watch?v=-hmhxs72W1E)

### How to import bills and vendors from Excel into QuickBooks Desktop

[![How to import bills and vendors from Excel into QuickBooks Desktop](https://user-images.githubusercontent.com/1675033/117168137-90dae700-add0-11eb-826d-b09c1cbd1b71.png)](https://www.youtube.com/watch?v=vcSeREomzuE)

### How to import multicurrency transactions from Excel into QuickBooks Desktop

[![How to import multicurrency transactions from Excel into QuickBooks Desktop](https://user-images.githubusercontent.com/1675033/117168217-a223f380-add0-11eb-8033-def86fc9c824.png)](https://www.youtube.com/watch?v=NvMpb3wVIXc)


## How to install EasyQuickImport

Dmitrii Poddubnyi's avatar
Dmitrii Poddubnyi committed
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
### Docker setup

Here is docker-compose example with [traefik v1.7](https://doc.traefik.io/traefik/v1.7/)

1. Create `docker-compose.yml` with the following content:
```yaml
version: '3.3'

services:
    php:
        image: registry.dev.trackmage.com/karser/easyquickimport/app_php
        environment:
            APP_ENV: 'prod'
            DATABASE_URL: 'mysql://eqi:pass123@mysql:3306/easyquickimport?serverVersion=mariadb-10.2.22'
            MAILER_DSN: 'smtp://localhost'
            # MAILER_DSN: 'ses://ACCESS_KEY:SECRET_KEY@default?region=eu-west-1'
            # MAILER_DSN: 'ses+smtp://ACCESS_KEY:SECRET_KEY@default?region=eu-west-1'
            DOMAIN: 'your-domain.com'
        depends_on:
            - mysql
        networks:
            - backend

    nginx:
        image: registry.dev.trackmage.com/karser/easyquickimport/app_nginx
        depends_on:
            - php
        networks:
            - backend
            - webproxy
        labels:
            - "traefik.backend=easyquickimport-nginx"
            - "traefik.docker.network=webproxy"
            - "traefik.frontend.rule=Host:your-domain.com"
            - "traefik.enable=true"
            - "traefik.port=80"

    mysql:
        image: leafney/alpine-mariadb:10.2.22
        environment:
            MYSQL_ROOT_PWD: 'pass123'
            MYSQL_USER: 'eqi'
            MYSQL_USER_PWD: 'pass123'
            MYSQL_USER_DB: 'easyquickimport'
        volumes:
            - ./db_data/:/var/lib/mysql
        networks:
            - backend

networks:
    backend:
    webproxy:
        external: true
```
2. Tweak the environment variables and run
```
docker-compose up -d
```
3. Check the logs and make sure migrations executed
```
docker-compose logs -f
```
4. Create a user
```
docker-compose exec php bin/console app:create-user user@example.com --password pass123
The user has been created with id 1
```
5. Done! Now open `https://your-domain.com` and log in with the user you just created.


### Development setup

Dmitrii Poddubnyi's avatar
initial  
Dmitrii Poddubnyi committed
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
1. Clone the repo
```
git clone https://github.com/karser/EasyQuickImport.git
```
2. Install packages with composer
```
composer install
```
3. Copy `.env` to `.env.local` and configure DATABASE_URL and DOMAIN
4. Recreate the database
```
bin/console doctrine:schema:drop --full-database --force \
&& bin/console doctrine:migrations:migrate -n
#fixtures
bin/console doctrine:fixtures:load
```
5. Create the user
```
bin/console app:create-user user@example.com --password pass123
```
6. Run the server
```
cd ./public
php -S 127.0.0.1:9090
```

### Tests
```
bin/phpunit
```

### phpstan
```
vendor/bin/phpstan analyse -c phpstan.neon
vendor/bin/phpstan analyse -c phpstan-tests.neon
```

### Lookup historical currency rate
``` 
bin/console app:currency:get USD --date 2020-03-05 --base HKD
```