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": "t4klLNi3PUOo9AkZQwFDKw==",
"invoiceIdentifier": "2c2589b7-b7d8-433d-a8f4-09194301432b",
"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": "60PzflsNdkmQ1JrRHSKBrw==",
"orderIdentifier": "7ef343eb-0d5b-4976-90d4-9ad11d2281af",
"supplierIdentifier": "s9T2AbJl+k6qPIdb4AKDMA==",
"supplierGuid": "01f6d4b3-65b2-4efa-aa3c-875be0028330",
"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>t4klLNi3PUOo9AkZQwFDKw==</InvoiceGuid>
<InvoiceIdentifier>2c2589b7-b7d8-433d-a8f4-09194301432b</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>60PzflsNdkmQ1JrRHSKBrw==</d2p1:OrderGuid>
<d2p1:OrderIdentifier>7ef343eb-0d5b-4976-90d4-9ad11d2281af</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>01f6d4b3-65b2-4efa-aa3c-875be0028330</d2p1:SupplierGuid>
<d2p1:SupplierIdentifier>s9T2AbJl+k6qPIdb4AKDMA==</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 2�\� �L� 5 xl/workbook.xml � (� ����0D�&�C���� '.^=x_a+
�%m
~��o�vfg�N9k3<��G�����sS��m{�`OzB�w\ �K�b�s�b�۷D�XE38�Z�^L���Xv2���W��h}<R.�g�7���I�b��2������m�%��u�)1���=�)�� f�4�p��wXɶ��PK 2�\���� � [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
2�\��,' ' _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="R365264c4313a4c8f" /></Relationships>PK 2�\�_q � 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,�e�!� n=���\H ��~c}R��Q��9b\p�8�Y�Vzz�� ��`q�rV��QN"BJ&Gn=���_/�(C$�[/*�0�/�$ 3�ԭ��^�z�����A�p� .��}1C���!�F��J̘���ӡ� Df0�3@�C�u!6��0�c���O�u� ����d�c �8�S�7o�:h�Rb��q��<�� ��K��N��9��N���7�O/�=G��C�<|� q�p���8*�� K�^V�u��ә~��[V_����?F`~��M�&�M�&1n�I�� �$&m�6��6���e��M�M�&q�&d���p�2���\��@,[�;�ׇ�2����}�@,k�;�ۗ�2��9���2��F���!�@��HG�ǎڹ�6q�.�KG��Q�v�n̚�[�f%�άYѹ7kVf{yl����>w���8/��
���и3��Ve�4-TVު����PK 2�\`��P� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8�Դ6ݖ^`j�㨉�n�gc���V� �X��j4��'�|��6o�����`MY�##�L��)��6�ՎFq��a�,�߁a~��M���dbGY7a������=�<Mk��e��e���R��g+N����Zw�( ۣ�)t�S���$R�me�F�*+r�۲�0~75.#�_��|!���AVJYu}W���Kp��K�ey�V7�y�V���W5~��/PK 2�\Ѓ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 2�\:'��w n xl/sharedStrings.xml � (� }��n�@�_��{��1m�lW�j�����b��#�Y�3
O�6�@�1�{���sf���K�p��
�� U� Յzz�W*`�dtk
uV�M�3K�[�Ո�o㘫:͑�<�[�i�GW��;І ��8M����H*��@R�4S�@�c��?���\�:X����&����W��`��n\�=�?;&�'�m�溺�N,�џ�u#3�d�*�ì�>�Q��~X� �k���9�%/rI>h��*����@��t�{�T�^M.��kl�ݣݎ�qHߟ������|D�Ov�vd�.zw��m�*}�Z��ݵY��riB��ga�^��e�Ȗ�n�s�7�t
.�X����mt���&`��-�����_�S�PK- 2�\� �L� 5 xl/workbook.xmlPK- 2�\���� � � [Content_Types].xmlPK-
2�\��,' ' U _rels/.relsPK- 2�\�_q � � xl/worksheets/sheet1.xmlPK- 2�\`��P� P xl/_rels/workbook.xml.relsPK- 2�\Ѓc'2 E
a xl/styles.xmlPK- 2�\:'��w n � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK 2�\�V�+� 5 xl/workbook.xml � (� ����0��J}�(�P�0�t���S��ũ���@���w>�r������>z4T��!�Bj�@'��̻�z
a��)l߫۾5� �$���AYC�r�W�?,r��1�qEiP���c���p�(gc���L�!�*#l����X�p�kW�3g�P�p�Z�i�2�9�L��J����PK 2�\���� � [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
2�\���N' ' _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="R80fc5c247f3142ed" /></Relationships>PK 2�\�_q � 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,�e�!� n=���\H ��~c}R��Q��9b\p�8�Y�Vzz�� ��`q�rV��QN"BJ&Gn=���_/�(C$�[/*�0�/�$ 3�ԭ��^�z�����A�p� .��}1C���!�F��J̘���ӡ� Df0�3@�C�u!6��0�c���O�u� ����d�c �8�S�7o�:h�Rb��q��<�� ��K��N��9��N���7�O/�=G��C�<|� q�p���8*�� K�^V�u��ә~��[V_����?F`~��M�&�M�&1n�I�� �$&m�6��6���e��M�M�&q�&d���p�2���\��@,[�;�ׇ�2����}�@,k�;�ۗ�2��9���2��F���!�@��HG�ǎڹ�6q�.�KG��Q�v�n̚�[�f%�άYѹ7kVf{yl����>w���8/��
���и3��Ve�4-TVު����PK 2�\�<�#� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_�cL�(N6�d��Ɗ
HӜ���W(J�֑��&��h><=��|�Xoߦ��b���-��V�n�}���n�{e��>����LJ~EiT'���va�)���^���.4�p�$�����փ�'�N����]8F���d�1��ӊ��"S������(*�%�+��M-�ˈ��뻞ɠjj.Ւ�����{N!���iޞ��Jc):��Ԛ����ћ��|PK 2�\Ѓ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 2�\:'��w n xl/sharedStrings.xml � (� }��n�@�_��{��1m�lW�j�����b��#�Y�3
O�6�@�1�{���sf���K�p��
�� U� Յzz�W*`�dtk
uV�M�3K�[�Ո�o㘫:͑�<�[�i�GW��;І ��8M����H*��@R�4S�@�c��?���\�:X����&����W��`��n\�=�?;&�'�m�溺�N,�џ�u#3�d�*�ì�>�Q��~X� �k���9�%/rI>h��*����@��t�{�T�^M.��kl�ݣݎ�qHߟ������|D�Ov�vd�.zw��m�*}�Z��ݵY��riB��ga�^��e�Ȗ�n�s�7�t
.�X����mt���&`��-�����_�S�PK- 2�\�V�+� 5 xl/workbook.xmlPK- 2�\���� � � [Content_Types].xmlPK-
2�\���N' ' T _rels/.relsPK- 2�\�_q � � xl/worksheets/sheet1.xmlPK- 2�\�<�#� P xl/_rels/workbook.xml.relsPK- 2�\Ѓc'2 E
a xl/styles.xmlPK- 2�\:'��w n � xl/sharedStrings.xmlPK � �