POST api/store/{storeID}/invoices/export

Export bills for a given store

Request Information

URI Parameters

NameDescriptionTypeAdditional information
storeID

All bills of provided StoreID will be exported

integer

Required

Body Parameters

Bill export type indicator

BillExportType

Request 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
NameDescriptionTypeAdditional 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:
PKQ�D[M��5xl/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���PKQ�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>PKQ�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�����PKQ�D[�����Pxl/_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����Y1�K?`l��5UE�y�Z�
.ٓæ�� �л��x�0�z}׹L_#k����Z�UFK��.��ӹS���E}���*����ћ�XPKQ�D[Ѓc'2E
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��PKQ�D[x��287xl/sharedStrings.xml �(�}�[O�0��J��6m�ց�Nh4���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��5xl/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'2E
)xl/styles.xmlPK-Q�D[x��287�xl/sharedStrings.xmlPK�(

application/vnd.ms-excel

Sample:
PKQ�D[Ҿ"��5xl/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���PKQ�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>PKQ�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�����PKQ�D[@���Pxl/_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%�\�����_���_�PKQ�D[Ѓc'2E
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��PKQ�D[x��287xl/sharedStrings.xml �(�}�[O�0��J��6m�ց�Nh4���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[Ҿ"��5xl/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'2E
+xl/styles.xmlPK-Q�D[x��287�xl/sharedStrings.xmlPK�*