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 AccountingExportBillResultName | 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": "7c701f28-4eb2-4d28-8dc7-62e739ea6f0f", "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>7c701f28-4eb2-4d28-8dc7-62e739ea6f0f</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>7c701f28-4eb2-4d28-8dc7-62e739ea6f0f</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 Q�D[M�� 5 xl/workbook.xml � (� ����0D�&�C��HH�8q�����.������Ϸ@ ��mgv��T��ι������T�8����@8�m����I�'s}��N� ���,��� Q;�]i����dP��+ʀ��9��f�SXd2���I�b��j���"ִ��,�M��L�/u�\�x���8��;�b���PK Q�D[���� � [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 Q�D[H�8H' ' _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="R9149b9233d054894" /></Relationships>PK Q�D[�<)� � xl/worksheets/sheet1.xml � (� ��A�� �� ý� ������{����( q~�d���Ӌ��<���=�uGpJ����0����U���l�/ |ȳA�W�a��{�Q[�s� ��Ft��I�v���+���uݖb'�s'z��1R�X;�nړ�S���OJ�[Bw�JuE��<�Z[}\=P����p���<s�V�C�I~K�:v�W[��<x�&��@%��|4?��M����Mb�)�Q�/��q� �7���4����Q' '�gmd�2�W�|2��?}:��� b��! S�����~t�)h�yLS�1��}��>��iF8&��^|�X@�$NcF��Ѵ��v�)�L�(7l���G����i{S.9��etg��'�%��dI�|�.��>-��O�+�l�k:rKG<'^�� �J��*�O��t��r�S.�����-�k0�X�u0�X�w���}���}���Ki�r����� PK Q�D[����� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_cJ�(N6�t������9[=R�P�J-���&�͇�'1�����}��+�0Z�BU�@�(ۍfh���6��'�FУ$=1��[R��Y��:4i�[?˘J?P'�QHYY �s�2����?D����g�N3����Y1�K?`l��5UE�y�Z� .ٓæ�� �л��x�0�z}L_#k����Z�UFK��.��ӹS���E}���*����ћ�XPK Q�D[Ѓ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 Q�D[x��28 7 xl/sharedStrings.xml � (� }�[O�0��J��6m�ց�Nh4���B"$n�MJ좍_O��E�ě�/�99.滮e���8[�4N8��6�)���u4�IZ-[g��{@��U�H,�Z,�����:����R;�I �o���- u�Ȓd*:i,g� ��l��`�� ��A�0UA����T�0>�;����q�h������K�6�O�=Ip,���#���[���K���)~���Z��$��Y4��,��Pʹʣi��9�i��#�{$��k[P��0�ި�� ��O���V6����b�����ח����r�띧�?���p��PK- Q�D[M�� 5 xl/workbook.xmlPK- Q�D[���� � � [Content_Types].xmlPK- Q�D[H�8H' ' U _rels/.relsPK- Q�D[�<)� � � xl/worksheets/sheet1.xmlPK- Q�D[����� P � xl/_rels/workbook.xml.relsPK- Q�D[Ѓc'2 E ) xl/styles.xmlPK- Q�D[x��28 7 � xl/sharedStrings.xmlPK � (
application/vnd.ms-excel
Sample:
PK Q�D[Ҿ"�� 5 xl/workbook.xml � (� ����0��&�C����N\�z��b�O�||o�vfg��|Զ����G�e���{�1���ATa�i+�i_Lw�h���[��,���8�Z9.����3�u��aAI���!���)pt��Zw2 [B�7�ϰ�bVD�ĂV��ٹ�=Rb3�G� M�kZ�9IN5��,g���PK Q�D[���� � [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 Q�D[D�Ϙ' ' _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="Rd76e84438f2f4fad" /></Relationships>PK Q�D[�<)� � xl/worksheets/sheet1.xml � (� ��A�� �� ý� ������{����( q~�d���Ӌ��<���=�uGpJ����0����U���l�/ |ȳA�W�a��{�Q[�s� ��Ft��I�v���+���uݖb'�s'z��1R�X;�nړ�S���OJ�[Bw�JuE��<�Z[}\=P����p���<s�V�C�I~K�:v�W[��<x�&��@%��|4?��M����Mb�)�Q�/��q� �7���4����Q' '�gmd�2�W�|2��?}:��� b��! S�����~t�)h�yLS�1��}��>��iF8&��^|�X@�$NcF��Ѵ��v�)�L�(7l���G����i{S.9��etg��'�%��dI�|�.��>-��O�+�l�k:rKG<'^�� �J��*�O��t��r�S.�����-�k0�X�u0�X�w���}���}���Ki�r����� PK Q�D[@��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�q�6��vÆm�gGMl�v���G� XE�Tb�������4����ݿM#y�g(�r�`��I?�m8ʔ'�|$y��LJ~CiT'���va�)���^���r�V4�p�$Nj���փ�G�������p�19��cj��5�E�y�8p^K!�Z����E��M-�ˈ���;��,�Z�t�֢UV��������N��LM2%�\�����_���_� PK Q�D[Ѓ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 Q�D[x��28 7 xl/sharedStrings.xml � (� }�[O�0��J��6m�ց�Nh4���B"$n�MJ좍_O��E�ě�/�99.滮e���8[�4N8��6�)���u4�IZ-[g��{@��U�H,�Z,�����:����R;�I �o���- u�Ȓd*:i,g� ��l��`�� ��A�0UA����T�0>�;����q�h������K�6�O�=Ip,���#���[���K���)~���Z��$��Y4��,��Pʹʣi��9�i��#�{$��k[P��0�ި�� ��O���V6����b�����ח����r�띧�?���p��PK- Q�D[Ҿ"�� 5 xl/workbook.xmlPK- Q�D[���� � [Content_Types].xmlPK- Q�D[D�Ϙ' ' V _rels/.relsPK- Q�D[�<)� � � xl/worksheets/sheet1.xmlPK- Q�D[@��� P � xl/_rels/workbook.xml.relsPK- Q�D[Ѓc'2 E + xl/styles.xmlPK- Q�D[x��28 7 � xl/sharedStrings.xmlPK � *