GET api/invoice/{id}/total
Get the total values for an invoice
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Invoice identifier |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Invoice sub total model
InvoiceSubTotal| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceGuid | Collection of byte |
None. |
|
| InvoiceIdentifier | globally unique identifier |
None. |
|
| unitsOrdered |
Total Units Ordered |
integer |
None. |
| unitsShipped | integer |
None. |
|
| cartonsShipped | integer |
None. |
|
| weightShipped | integer |
None. |
|
| unitsReceived | integer |
None. |
|
| cartonsReceived | integer |
None. |
|
| weightReceived | integer |
None. |
|
| storeCost | decimal number |
None. |
|
| invoiceCost | decimal number |
None. |
|
| orderedCost | decimal number |
None. |
|
| extCost | decimal number |
None. |
|
| variance | decimal number |
None. |
|
| gst | decimal number |
None. |
|
| deliveryFee | decimal number |
None. |
|
| financeFee | decimal number |
None. |
|
| OrderSubTotal | OrderSubTotal |
None. |
|
| ShrinkWrap | decimal number |
None. |
|
| HighestLineNo | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"invoiceGuid": "JctLYdN5yEW30twc+I5WnQ==",
"invoiceIdentifier": "614bcb25-79d3-45c8-b7d2-dc1cf88e569d",
"unitsOrdered": 1,
"unitsShipped": 1,
"cartonsShipped": 1,
"weightShipped": 1,
"unitsReceived": 1,
"cartonsReceived": 1,
"weightReceived": 1,
"storeCost": 1.0,
"invoiceCost": 2.0,
"orderedCost": 3.0,
"extCost": 4.0,
"variance": 5.0,
"gst": 1.0,
"deliveryFee": 1.1,
"financeFee": 1.1,
"orderSubTotal": {
"$id": "2",
"orderGuid": "No50VovTTUuaKoAlLvqf/Q==",
"orderIdentifier": "56748e36-d38b-4b4d-9a2a-80252efa9ffd",
"supplierIdentifier": "y2+tMzVBNE6DpeFCel55Qw==",
"supplierGuid": "33ad6fcb-4135-4e34-83a5-e1427a5e7943",
"records": 1,
"cartons": 2.1,
"cartonQuantity": 3,
"weight": 4,
"costInc": 5,
"sellInc": 6,
"costGST": 7,
"sellGST": 8,
"pickedCostInc": 9,
"pickedSellInc": 10,
"receivedRecords": 11,
"receivedWeight": 1,
"receivedCartons": 1,
"receivedCartonQuantity": 1,
"receivedUnits": 1,
"receivedSellInc": 12,
"receivedCostInc": 13,
"receivedCostGST": 14,
"receivedSellGST": 15,
"investmentBuyRecords": 16,
"investmentBuyCartons": 17.1,
"investmentBuyCartonQuantity": 18,
"investmentBuyWeight": 19,
"investmentBuyCostInc": 20,
"investmentBuySellInc": 21,
"investmentBuyCostGST": 22,
"investmentBuySellGST": 23,
"investmentBuySavedAmount": 24.1
},
"shrinkWrap": 1.1,
"highestLineNo": "sample string 6"
}
application/xml, text/xml
Sample:
<InvoiceSubTotal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Invoices">
<HighestLineNo>sample string 6</HighestLineNo>
<InvoiceGuid>JctLYdN5yEW30twc+I5WnQ==</InvoiceGuid>
<InvoiceIdentifier>614bcb25-79d3-45c8-b7d2-dc1cf88e569d</InvoiceIdentifier>
<OrderSubTotal xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Orders">
<d2p1:CartonQuantity>3</d2p1:CartonQuantity>
<d2p1:Cartons>2.1</d2p1:Cartons>
<d2p1:CostGST>7</d2p1:CostGST>
<d2p1:CostInc>5</d2p1:CostInc>
<d2p1:InvestmentBuyCartonQuantity>18</d2p1:InvestmentBuyCartonQuantity>
<d2p1:InvestmentBuyCartons>17.1</d2p1:InvestmentBuyCartons>
<d2p1:InvestmentBuyCostGST>22</d2p1:InvestmentBuyCostGST>
<d2p1:InvestmentBuyCostInc>20</d2p1:InvestmentBuyCostInc>
<d2p1:InvestmentBuyRecords>16</d2p1:InvestmentBuyRecords>
<d2p1:InvestmentBuySavedAmount>24.1</d2p1:InvestmentBuySavedAmount>
<d2p1:InvestmentBuySellGST>23</d2p1:InvestmentBuySellGST>
<d2p1:InvestmentBuySellInc>21</d2p1:InvestmentBuySellInc>
<d2p1:InvestmentBuyWeight>19</d2p1:InvestmentBuyWeight>
<d2p1:OrderGuid>No50VovTTUuaKoAlLvqf/Q==</d2p1:OrderGuid>
<d2p1:OrderIdentifier>56748e36-d38b-4b4d-9a2a-80252efa9ffd</d2p1:OrderIdentifier>
<d2p1:PickedCostInc>9</d2p1:PickedCostInc>
<d2p1:PickedSellInc>10</d2p1:PickedSellInc>
<d2p1:ReceivedCartonQuantity>1</d2p1:ReceivedCartonQuantity>
<d2p1:ReceivedCartons>1</d2p1:ReceivedCartons>
<d2p1:ReceivedCostGST>14</d2p1:ReceivedCostGST>
<d2p1:ReceivedCostInc>13</d2p1:ReceivedCostInc>
<d2p1:ReceivedRecords>11</d2p1:ReceivedRecords>
<d2p1:ReceivedSellGST>15</d2p1:ReceivedSellGST>
<d2p1:ReceivedSellInc>12</d2p1:ReceivedSellInc>
<d2p1:ReceivedUnits>1</d2p1:ReceivedUnits>
<d2p1:ReceivedWeight>1</d2p1:ReceivedWeight>
<d2p1:Records>1</d2p1:Records>
<d2p1:SellGST>8</d2p1:SellGST>
<d2p1:SellInc>6</d2p1:SellInc>
<d2p1:SupplierGuid>33ad6fcb-4135-4e34-83a5-e1427a5e7943</d2p1:SupplierGuid>
<d2p1:SupplierIdentifier>y2+tMzVBNE6DpeFCel55Qw==</d2p1:SupplierIdentifier>
<d2p1:Weight>4</d2p1:Weight>
</OrderSubTotal>
<ShrinkWrap>1.1</ShrinkWrap>
<cartonsReceived>1</cartonsReceived>
<cartonsShipped>1</cartonsShipped>
<deliveryFee>1.1</deliveryFee>
<extCost>4</extCost>
<financeFee>1.1</financeFee>
<gst>1</gst>
<invoiceCost>2</invoiceCost>
<orderedCost>3</orderedCost>
<storeCost>1</storeCost>
<unitsOrdered>1</unitsOrdered>
<unitsReceived>1</unitsReceived>
<unitsShipped>1</unitsShipped>
<variance>5</variance>
<weightReceived>1</weightReceived>
<weightShipped>1</weightShipped>
</InvoiceSubTotal>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ��\ʽΒ� 5 xl/workbook.xml � (� ����0��&�C��(J�N\�z��"
�'m
>��7o;�����j��r�-h��sM��ITa�i+�i_Lw�h���[���E �8�Z�^GW�?,g,B�zD/�%A(Z���S�����l���o�/��bQD�ĂV��Ź�=Sbs�G�g]������a��wg���PK ��\���� � [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
��\�`�' ' _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="Rcc82f80e676c469e" /></Relationships>PK ��\��8�
� xl/worksheets/sheet1.xml � (� ��Ys�@��
��@�KJMeƘ}O�<3�F*"`��O��MC5ɋb����{<����3Yz*��t5�a |O���,^�
�M1�%���`�f��B����*?Ɇ��(�'a�O*�� ]�����,�
�3{��<��q:�$jU� fjz�|�s��;��u��Y��d�o�D��
f��۽����?�'����Ѡ���j���n��i���q5��d�<)̼��G�e�n/U��(�I��L�e^~zI��������Ƴb��p@f� !������H�U��ףJ�z,H I�Fn=���\H ����JO�z��S�!q�i��G=
��F��-g���$ Q!�dB��y����zaF��X[(�zQ酹}A%�A���n�����c�m�@���>���Cp)w�#��=
4��Pb�f���u!23��Bu���C�1$���`?H~����O�u� 3�HpƩ����y��A#v �s@���cu��1xH^J$t�EϹ�u�4��X�}z�9:����� ����+��/�Q�Y���������c^����u�1��c����m6�?m5�q��M�M�&1i�I\� �$.�oWmB4��6!��M�c������]b�z߁X�>t ������SbY�܁Xt ������P���at�0j��qb��F:>v�����v�]:jW�ڵ�vc֬ ݚ5+Awf͊νY�2����c�X�'g��㯴�yq6x�h����Ɲ��/�*��i���V=�l�� PK ��\sw��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞��6��vÆm���8��ؑ�=�����ĂMW��==i���c�{�F�B�ִ�&i�`��A?�n�4b��f���-�!�kν�iB�ؙL�h�&1u�Q��#� Qq�d�-�.3��h�$=Zy�Ȅ?��պ�����B?%ϯ!M"ؓja5据��̋F�����|������L�ɢN%6�(�F�w��ёz.^z�,/�T%r�*ˬ��(WxU�7��PK ��\Ѓ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 ��\Ό��v n xl/sharedStrings.xml � (� }�Ao�0������$M�t�]`E�h6`i��Ѓ"161�rE:k��&�����G>�=A��[SG{��r5M&*2�"��zz��W*b�du�ru V�u�1KF�sU��ҔM��ĵ@��o���/Sn=h��4u:�L�i��Td\G���\E�k7
�
,2)�i����m�J����н�!�~C���-x٦¶2��8�?�JF�Q�����> �Q�C>,}���!w�~���+�GM��r�j�{���wH�"g��56��щ��pSy��^�}�9$,H��
�,�$�_�p9�o�v��/��E<_�U����ؚ�٭V�X^
����kM���]�����&9����n� F�h�����PK- ��\ʽΒ� 5 xl/workbook.xmlPK- ��\���� � [Content_Types].xmlPK-
��\�`�' ' V _rels/.relsPK- ��\��8�
� � xl/worksheets/sheet1.xmlPK- ��\sw��� P xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
e xl/styles.xmlPK- ��\Ό��v n � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ��\%�� 5 xl/workbook.xml � (� ����0D�&�C�����N\�z4Ж�5��B $��ξ>Z�=���G����mC��-j�;��v�u�$٦Qk+�M`i�d�aAY�[5x���a��!H�"�/(
��j�#���
G�d�ug��%�~S<¶����%�! %ѹɒ)q����<e���R�A�tco0����PK ��\���� � [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
��\�i�i' ' _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="Re44c24d23b0a4de7" /></Relationships>PK ��\��8�
� xl/worksheets/sheet1.xml � (� ��Ys�@��
��@�KJMeƘ}O�<3�F*"`��O��MC5ɋb����{<����3Yz*��t5�a |O���,^�
�M1�%���`�f��B����*?Ɇ��(�'a�O*�� ]�����,�
�3{��<��q:�$jU� fjz�|�s��;��u��Y��d�o�D��
f��۽����?�'����Ѡ���j���n��i���q5��d�<)̼��G�e�n/U��(�I��L�e^~zI��������Ƴb��p@f� !������H�U��ףJ�z,H I�Fn=���\H ����JO�z��S�!q�i��G=
��F��-g���$ Q!�dB��y����zaF��X[(�zQ酹}A%�A���n�����c�m�@���>���Cp)w�#��=
4��Pb�f���u!23��Bu���C�1$���`?H~����O�u� 3�HpƩ����y��A#v �s@���cu��1xH^J$t�EϹ�u�4��X�}z�9:����� ����+��/�Q�Y���������c^����u�1��c����m6�?m5�q��M�M�&1i�I\� �$.�oWmB4��6!��M�c������]b�z߁X�>t ������SbY�܁Xt ������P���at�0j��qb��F:>v�����v�]:jW�ڵ�vc֬ ݚ5+Awf͊νY�2����c�X�'g��㯴�yq6x�h����Ɲ��/�*��i���V=�l�� PK ��\D���� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;qR�+�n�R.��8�H��6�����W�E��H]t�j4��'�|���o�H����lUQA��l��)���z���i"��HZ���>���Ҡz�D(܌6u��)���:�i]�K�s�2��2��ΘA�S� m�L_�?�19�al��5TE����z�\q�E�U#4B��e�����g2�d�/��R����2��_�O�Ν�r�&5[iY1SUu�yyU�7��PK ��\Ѓ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 ��\Ό��v n xl/sharedStrings.xml � (� }�Ao�0������$M�t�]`E�h6`i��Ѓ"161�rE:k��&�����G>�=A��[SG{��r5M&*2�"��zz��W*b�du�ru V�u�1KF�sU��ҔM��ĵ@��o���/Sn=h��4u:�L�i��Td\G���\E�k7
�
,2)�i����m�J����н�!�~C���-x٦¶2��8�?�JF�Q�����> �Q�C>,}���!w�~���+�GM��r�j�{���wH�"g��56��щ��pSy��^�}�9$,H��
�,�$�_�p9�o�v��/��E<_�U����ؚ�٭V�X^
����kM���]�����&9����n� F�h�����PK- ��\%�� 5 xl/workbook.xmlPK- ��\���� � � [Content_Types].xmlPK-
��\�i�i' ' U _rels/.relsPK- ��\��8�
� � xl/worksheets/sheet1.xmlPK- ��\D���� P xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
d xl/styles.xmlPK- ��\Ό��v n � xl/sharedStrings.xmlPK � �