POST api/store/{storeID}/invoices/export
Export bills for a given store
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| storeID |
All bills of provided StoreID will be exported |
integer |
Required |
Body Parameters
Bill export type indicator
BillExportTypeRequest Formats
application/json, text/json
Sample:
0
application/xml, text/xml
Sample:
<BillExportType xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Accounting">Invoices</BillExportType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Value indicating success
Collection of AccountingExportBillResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Description |
Invoice / Credit note Description. |
string |
None. |
| ReferenceNo |
Represents the Invoice / Credit note Number |
string |
None. |
| IsCreditNote |
As Invoices and Credit notes are export together we need a flag to tell them apart. |
boolean |
None. |
| Identifier |
Identifier/Guid of the invoice/credit note/cash balancing record. |
globally unique identifier |
None. |
| Status |
Indicates the level of success when exporting to the external accounting provider. |
AccountingExportStatus |
None. |
| Responses |
Responses from the external accounting provider. |
Collection of AccountingExportResponse |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"description": "sample string 1",
"referenceNo": "sample string 2",
"isCreditNote": true,
"identifier": "a15ed58f-540c-4dc7-ae09-939aa969869c",
"status": 5,
"responses": [
{
"$id": "2",
"responseMessage": "sample string 1",
"responseStatus": 2
},
{
"$ref": "2"
}
]
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfAccountingExportBillResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Integrations.Accounting">
<AccountingExportBillResult>
<Identifier>a15ed58f-540c-4dc7-ae09-939aa969869c</Identifier>
<Responses>
<AccountingExportResponse>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseStatus>2</ResponseStatus>
</AccountingExportResponse>
<AccountingExportResponse>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseStatus>2</ResponseStatus>
</AccountingExportResponse>
</Responses>
<Status>5</Status>
<Description>sample string 1</Description>
<IsCreditNote>true</IsCreditNote>
<ReferenceNo>sample string 2</ReferenceNo>
</AccountingExportBillResult>
<AccountingExportBillResult>
<Identifier>a15ed58f-540c-4dc7-ae09-939aa969869c</Identifier>
<Responses>
<AccountingExportResponse>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseStatus>2</ResponseStatus>
</AccountingExportResponse>
<AccountingExportResponse>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseStatus>2</ResponseStatus>
</AccountingExportResponse>
</Responses>
<Status>5</Status>
<Description>sample string 1</Description>
<IsCreditNote>true</IsCreditNote>
<ReferenceNo>sample string 2</ReferenceNo>
</AccountingExportBillResult>
</ArrayOfAccountingExportBillResult>
text/csv
Sample:
Sample not available.
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK t2�\]�$y� 5 xl/workbook.xml � (� ����0��J}�(��&����`���$}�� ��u�ϟ����cz�Q�v�-��~�s\�w0#��U��/f�Nr�
+Ԟ��DŽY�K�������-B��WÂR 5��;B���S���Zw6 [B�7UD�vѠ��5x�$:���'Jl.��H�&K�&�n�\�����`[W_PK t2�\���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
t2�\Y�ߨ' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R6ad5570b94134681" /></Relationships>PK t2�\��
� � xl/worksheets/sheet1.xml � (� ��O�� ��
�^Q��3Q7�N'��=[�Ѭ��q?~]g�vv���</���<<w-�r�ѧ0�|x_���O)���S�d�I՜k`�^�e
k��{�TQ�.W�8�ތUBv�6]yB����Dq�x���I���L����T�=��Y�K�کT�7=̒�1���ɫ>�#� e��5|P��`L�G����L�oY��G;� J^�V��7ޜjm6�Y���_�5��A����?4��M�z��]����(-����K��dz�?��'7{�EQ�`�Qxߧ�O�D^шR0�7�g����1��<�a� w!#��M�o���<K���æ��z4Me�27�� ���L|v�`M|q �&.A��W��k��l!� ��÷t�q�M:��6�\"ޤs��&��^��˵����-y3�Kl���6�Kl��;�\� �^��ڼ]\��\�ۻ���_PK t2�\����� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8q���ݰa[zǞ�Q;�]�gc���V� �X��j4��'�|�lvo�H^0������N{3���S���a���qT)OD;̑��)��FmqR��3���|�T�i���Q�HYY
��f��y��}�
�>M��`���1Z��B����R��P�
��4��]K��u�ǕBo��y�����/dj�DeZ.�<���X�<��/�tZ�j�frUq#����F��b�PK t2�\Ѓc'2 E
xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK t2�\ɬy�9 7 xl/sharedStrings.xml � (� }��N�0�_%�}�vlcEm'4��v�
!%n�MJ좍�'c�G�ĝ�/�9>����a���8[�4N8��6�.���6�q�$����P� g�2G$F-|G�] �j���u`��o%���v�� ��%�T��XΔ�-ٔ�ޚ�?� aʜ�@�MG�_.��ű}BP�na���
���#0
�Le���G���P;g e�5��!-���G�x���5�N@OfU4'*kuIH�(�Ȥ̦�l�������5
�cL߁oT|o�^���YK+k���ih0^Y�����k�u�`�O��w����/��"\��PK- t2�\]�$y� 5 xl/workbook.xmlPK- t2�\���� � � [Content_Types].xmlPK-
t2�\Y�ߨ' ' U _rels/.relsPK- t2�\��
� � � xl/worksheets/sheet1.xmlPK- t2�\����� P � xl/_rels/workbook.xml.relsPK- t2�\Ѓc'2 E
( xl/styles.xmlPK- t2�\ɬy�9 7 � xl/sharedStrings.xmlPK � (
application/vnd.ms-excel
Sample:
PK t2�\��4�� 5 xl/workbook.xml � (� ����0��J}�(�PEB���k��LA~����_�[7�����l��3����/]EE�d�w������`���H�bfd����
u`i�ܘ� �4�i=�h���u��AMJ�Դ>��k����G�{��$l�����"*�AaE@It�}E���R.�#k�4��"�r̠���>`���/PK t2�\���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
t2�\J��' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R163a380b12f34bff" /></Relationships>PK t2�\��
� � xl/worksheets/sheet1.xml � (� ��O�� ��
�^Q��3Q7�N'��=[�Ѭ��q?~]g�vv���</���<<w-�r�ѧ0�|x_���O)���S�d�I՜k`�^�e
k��{�TQ�.W�8�ތUBv�6]yB����Dq�x���I���L����T�=��Y�K�کT�7=̒�1���ɫ>�#� e��5|P��`L�G����L�oY��G;� J^�V��7ޜjm6�Y���_�5��A����?4��M�z��]����(-����K��dz�?��'7{�EQ�`�Qxߧ�O�D^шR0�7�g����1��<�a� w!#��M�o���<K���æ��z4Me�27�� ���L|v�`M|q �&.A��W��k��l!� ��÷t�q�M:��6�\"ޤs��&��^��˵����-y3�Kl���6�Kl��;�\� �^��ڼ]\��\�ۻ���_PK t2�\�q@�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8n��n7lؖ^���q�Ďl��Xp$��E%H%l����I3�����4�q�N +J �׃����ka���q�)OD;̑�ؔ�J��8�X�]�&�rz:Ku�=�UY�4,p�$���!zc��^�&t�0}��-br���$��w`E�y���3+^��r�h �fj1�G��^�|!�X��r��!W]}S+���N��B���4�5c�Nj����PK t2�\Ѓc'2 E
xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK t2�\ɬy�9 7 xl/sharedStrings.xml � (� }��N�0�_%�}�vlcEm'4��v�
!%n�MJ좍�'c�G�ĝ�/�9>����a���8[�4N8��6�.���6�q�$����P� g�2G$F-|G�] �j���u`��o%���v�� ��%�T��XΔ�-ٔ�ޚ�?� aʜ�@�MG�_.��ű}BP�na���
���#0
�Le���G���P;g e�5��!-���G�x���5�N@OfU4'*kuIH�(�Ȥ̦�l�������5
�cL߁oT|o�^���YK+k���ih0^Y�����k�u�`�O��w����/��"\��PK- t2�\��4�� 5 xl/workbook.xmlPK- t2�\���� � � [Content_Types].xmlPK-
t2�\J��' ' U _rels/.relsPK- t2�\��
� � � xl/worksheets/sheet1.xmlPK- t2�\�q@�� P � xl/_rels/workbook.xml.relsPK- t2�\Ѓc'2 E
' xl/styles.xmlPK- t2�\ɬy�9 7 � xl/sharedStrings.xmlPK � '