timber-node1
v0.2.0
Published
Simplifying accounting and tax filing for businesses
Downloads
14
Readme
��
�
�#� �T�i�m�b�e�r� �S�D�K�
�
�
�
�O�f�f�i�c�i�a�l� �N�o�d�e�.�j�s� �S�D�K� �f�o�r� �i�n�t�e�g�r�a�t�i�n�g� �w�i�t�h� �t�h�e� �T�i�m�b�e�r� �a�c�c�o�u�n�t�i�n�g� �b�a�c�k�e�n�d� �A�P�I�.�
�
�
�
�E�a�s�i�l�y� �i�n�t�e�r�a�c�t� �w�i�t�h� �T�i�m�b�e�r� s� �c�o�r�e� �f�e�a�t�u�r�e�s� �l�i�k�e� �m�a�n�a�g�i�n�g� �e�x�p�e�n�s�e�s�,� �i�n�v�o�i�c�e�s�,� �v�e�n�d�o�r�s�,� �c�u�s�t�o�m�e�r�s�,� �p�a�y�r�o�l�l�,� �a�n�d� �m�o�r�e� �u�s�i�n�g� �a� �u�n�i�f�i�e�d� �S�D�K�.�
�
�
�
�#�#� �I�n�s�t�a�l�l�a�t�i�o�n�
�
�
�
����b�a�s�h�
�
�n�p�m� �i�n�s�t�a�l�l� �t�i�m�b�e�r�-�n�o�d�e�
�
�����
�
�
�
�O�r� �i�n�s�t�a�l�l� �d�i�r�e�c�t�l�y� �f�r�o�m� �t�h�e� �G�i�t�H�u�b� �r�e�p�o�:�
�
�
�
����b�a�s�h�
�
�n�p�m� �i�n�s�t�a�l�l� �g�i�t�+�h�t�t�p�s�:�/�/�g�i�t�h�u�b�.�c�o�m�/�T�i�m�b�e�r�-�U�A�E�/�t�i�m�b�e�r�-�b�e�-�s�d�k�-�s�.�g�i�t�
�
����
�
�
�
�#�#� �G�e�t�t�i�n�g� �S�t�a�r�t�e�d�
�
�
�
����t�s�
�
�i�m�p�o�r�t� �{� �c�r�e�a�t�e�C�l�i�e�n�t� �}� �f�r�o�m� �'�t�i�m�b�e�r�-�n�o�d�e�'�;�
�
�
�
�c�o�n�s�t� �c�l�i�e�n�t� �=� �c�r�e�a�t�e�C�l�i�e�n�t�(�'�y�o�u�r�-�a�p�i�-�k�e�y�'�,� �{�
�
� � �b�a�s�e�U�R�L�:� �'�h�t�t�p�s�:�/�/�a�p�i�.�t�i�m�b�e�r�.�m�e�'� �/�/� �o�p�t�i�o�n�a�l�
�
�}�)�;�
�
�
�
�/�/� �E�x�a�m�p�l�e�:� �L�i�s�t� �e�x�p�e�n�s�e�s�
�
�c�o�n�s�t� �e�x�p�e�n�s�e�s� �=� �a�w�a�i�t� �c�l�i�e�n�t�.�e�x�p�e�n�s�e�.�l�i�s�t�(�{� �p�a�g�e�:� �1�,� �l�i�m�i�t�:� �1�0� �}�)�;�
�
�c�o�n�s�o�l�e�.�l�o�g�(�e�x�p�e�n�s�e�s�.�d�a�t�a�)�;�
�
����
�
�
�
�#�#� �A�u�t�h�e�n�t�i�c�a�t�i�o�n�
�
�
�
�T�i�m�b�e�r� �u�s�e�s� �A�P�I� �K�e�y�-�b�a�s�e�d� �a�u�t�h�e�n�t�i�c�a�t�i�o�n�.� �G�e�n�e�r�a�t�e� �t�h�i�s� �a�p�i� �k�e�y� �f�r�o�m� �y�o�u�r� �T�i�m�b�e�r� �p�r�o�f�i�l�e� �s�e�t�t�i�n�g�s�.�
�
�
�
����t�s�
�
�c�o�n�s�t� �c�l�i�e�n�t� �=� �c�r�e�a�t�e�C�l�i�e�n�t�(�'�y�o�u�r�-�a�p�i�-�k�e�y�'�)�;�
�
����
�
�
�
�Y�o�u� �c�a�n� �a�l�s�o� �l�o�a�d� �y�o�u�r� �A�P�I� �k�e�y� �f�r�o�m� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s� �u�s�i�n�g� ��d�o�t�e�n�v��.�
�
�
�
�#�#� �S�D�K� �S�t�r�u�c�t�u�r�e�
�
�
�
�T�h�e� �S�D�K� �c�l�i�e�n�t� �e�x�p�o�s�e�s� �t�h�e� �f�o�l�l�o�w�i�n�g� �s�e�r�v�i�c�e�s�:�
�
�
�
����t�s�
�
�c�l�i�e�n�t�.�e�x�p�e�n�s�e�
�
�c�l�i�e�n�t�.�e�x�p�e�n�s�e�C�a�t�e�g�o�r�y�
�
�c�l�i�e�n�t�.�r�a�w�E�x�p�e�n�s�e�
�
�c�l�i�e�n�t�.�i�n�v�o�i�c�e�
�
�c�l�i�e�n�t�.�i�n�v�o�i�c�e�P�a�y�m�e�n�t�
�
�c�l�i�e�n�t�.�v�e�n�d�o�r�P�a�y�m�e�n�t�
�
�c�l�i�e�n�t�.�b�i�l�l�P�a�y�m�e�n�t�
�
�c�l�i�e�n�t�.�c�u�s�t�o�m�e�r�
�
�c�l�i�e�n�t�.�t�a�x�R�a�t�e�
�
�c�l�i�e�n�t�.�s�a�l�a�r�y�
�
�c�l�i�e�n�t�.�e�m�p�l�o�y�e�e�
�
�c�l�i�e�n�t�.�b�a�n�k�S�t�a�t�e�m�e�n�t�
�
�c�l�i�e�n�t�.�c�h�e�q�u�e�
�
����
�
�
�
�E�a�c�h� �s�e�r�v�i�c�e� �p�r�o�v�i�d�e�s� �c�o�m�m�o�n� �o�p�e�r�a�t�i�o�n�s� �l�i�k�e� ��c�r�e�a�t�e��,� ��g�e�t��,� ��l�i�s�t��,� ��u�p�d�a�t�e��,� �a�n�d� ��d�e�l�e�t�e�� �w�h�e�r�e� �a�p�p�l�i�c�a�b�l�e�.�
�
�
�
�#�#� �U�s�a�g�e� �E�x�a�m�p�l�e�s�
�
�
�
�#�#�#� �C�r�e�a�t�e� �a�n� �E�x�p�e�n�s�e�
�
�
�
����t�s�
�
�c�o�n�s�t� �r�e�s�p�o�n�s�e� �=� �a�w�a�i�t� �c�l�i�e�n�t�.�e�x�p�e�n�s�e�.�c�r�e�a�t�e�(�{�
�
� � �t�y�p�e�:� �"�t�r�a�v�e�l�"�,�
�
� � �m�e�r�c�h�a�n�t�:� �"�U�b�e�r�"�,�
�
� � �c�a�t�e�g�o�r�y�:� �"�T�r�a�n�s�p�o�r�t�a�t�i�o�n�"�,�
�
� � �d�a�t�e�:� �"�2�0�2�5�-�0�6�-�2�3�"�,�
�
� � �p�a�y�m�e�n�t�_�m�e�t�h�o�d�:� �"�c�r�e�d�i�t�_�c�a�r�d�"�,�
�
� � �a�m�o�u�n�t�:� �4�5�.�7�5�,�
�
�}�)�;�
�
�c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�.�d�a�t�a�)�;�
�
����
�
�
�
�#�#�#� �L�i�s�t� �E�x�p�e�n�s�e�s�
�
�
�
����t�s�
�
�c�o�n�s�t� �r�e�s�p�o�n�s�e� �=� �a�w�a�i�t� �c�l�i�e�n�t�.�e�x�p�e�n�s�e�.�l�i�s�t�(�{� �p�a�g�e�:� �1�,� �l�i�m�i�t�:� �5� �}�)�;�
�
�c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�.�d�a�t�a�)�;�
�
����
�
�
�
�#�#�#� �U�p�d�a�t�e� �a�n� �E�x�p�e�n�s�e�
�
�
�
����t�s�
�
�c�o�n�s�t� �u�p�d�a�t�e�s� �=� �{� �a�m�o�u�n�t�:� �5�0�.�0� �}�;�
�
�c�o�n�s�t� �r�e�s�p�o�n�s�e� �=� �a�w�a�i�t� �c�l�i�e�n�t�.�e�x�p�e�n�s�e�.�u�p�d�a�t�e�(�'�e�x�p�e�n�s�e�_�i�d�_�h�e�r�e�'�,� �u�p�d�a�t�e�s�)�;�
�
�c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�.�d�a�t�a�)�;�
�
����
�
�
�
�#�#�#� �D�e�l�e�t�e� �a�n� �E�x�p�e�n�s�e�
�
�
�
����t�s�
�
�c�o�n�s�t� �r�e�s�p�o�n�s�e� �=� �a�w�a�i�t� �c�l�i�e�n�t�.�e�x�p�e�n�s�e�.�d�e�l�e�t�e�(�'�e�x�p�e�n�s�e�_�i�d�_�h�e�r�e�'�)�;�
�
�c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�.�d�a�t�a�.�m�e�s�s�a�g�e�)�;�
�
����
�
�
�
�#�#� �T�y�p�e�S�c�r�i�p�t� �S�u�p�p�o�r�t�
�
�
�
�T�h�e� �S�D�K� �i�n�c�l�u�d�e�s� �f�u�l�l� �T�y�p�e�S�c�r�i�p�t� �s�u�p�p�o�r�t�:�
�
�
�
����t�s�
�
�i�m�p�o�r�t� �t�y�p�e� �{� �E�x�p�e�n�s�e�,� �C�r�e�a�t�e�E�x�p�e�n�s�e�R�e�q�u�e�s�t� �}� �f�r�o�m� �'�t�i�m�b�e�r�-�n�o�d�e�'�;�
�
����
�
�
�
�#�#� �E�r�r�o�r� �H�a�n�d�l�i�n�g�
�
�
�
�E�r�r�o�r�s� �a�r�e� �r�e�t�u�r�n�e�d� �a�s� �A�x�i�o�s� �e�r�r�o�r�s�:�
�
�
�
����t�s�
�
�t�r�y� �{�
�
� � �a�w�a�i�t� �c�l�i�e�n�t�.�e�x�p�e�n�s�e�.�g�e�t�(�'�i�n�v�a�l�i�d�-�i�d�'�)�;�
�
�}� �c�a�t�c�h� �(�e�r�r�)� �{�
�
� � �i�f� �(�a�x�i�o�s�.�i�s�A�x�i�o�s�E�r�r�o�r�(�e�r�r�)�)� �{�
�
� � � � �c�o�n�s�o�l�e�.�e�r�r�o�r�(�e�r�r�.�r�e�s�p�o�n�s�e�?�.�s�t�a�t�u�s�,� �e�r�r�.�r�e�s�p�o�n�s�e�?�.�d�a�t�a�)�;�
�
� � �}�
�
�}�
�
���`�
�
�
�
�#�#� �R�e�l�a�t�e�d� �L�i�n�k�s�
�
�
�
�*� �[�T�i�m�b�e�r� �W�e�b�s�i�t�e�]�(�h�t�t�p�s�:�/�/�t�i�m�b�e�r�.�m�e�)�
�
�
�
�
