GET api/invoice/{id}/total

Get the total values for an invoice

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Invoice identifier

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Invoice sub total model

InvoiceSubTotal
NameDescriptionTypeAdditional 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": "suc/86V1SEG8Kr3Ki+wYPA==",
  "invoiceIdentifier": "f33fe7b2-75a5-4148-bc2a-bdca8bec183c",
  "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": "QmrJIZsoIUafrW+T+aU+aQ==",
    "orderIdentifier": "21c96a42-289b-4621-9fad-6f93f9a53e69",
    "supplierIdentifier": "ccNcGkwT8U27/7D9N49PpQ==",
    "supplierGuid": "1a5cc371-134c-4df1-bbff-b0fd378f4fa5",
    "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>suc/86V1SEG8Kr3Ki+wYPA==</InvoiceGuid>
  <InvoiceIdentifier>f33fe7b2-75a5-4148-bc2a-bdca8bec183c</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>QmrJIZsoIUafrW+T+aU+aQ==</d2p1:OrderGuid>
    <d2p1:OrderIdentifier>21c96a42-289b-4621-9fad-6f93f9a53e69</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>1a5cc371-134c-4df1-bbff-b0fd378f4fa5</d2p1:SupplierGuid>
    <d2p1:SupplierIdentifier>ccNcGkwT8U27/7D9N49PpQ==</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�4�Z$��5xl/workbook.xml �(�����0D�&�C��@#)��x��}�[i�-ik��-H�yۙ�};|��o���GƗ��]cɘj�';��;i���{1+��X��h˒�`�ߩ�ӕ�ˏ��;Ġ��AZ���C�����l���o�/��bQĀƊ6��Ź=+�R�J�;Jъk�3&y��tg�0ζ��PK�4�Z����	�[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
�4�Z\�Z�''_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="R015c8d5b89dc4ee6" /></Relationships>PK�4�Z�:�
�xl/worksheets/sheet1.xml �(���[s�0��
��B·��鮵�sg���X��8��?�AC`B{�a�������08�L�އ��8]
}�S�i:�WoCS�	�t4ئ�{�P��4��O���(��I�ӅJ�<H�j�k�4K�B?foa:��S5N��D����L-�BO�/�u��}�W��T4+��,���(^���,��w��25�g���^8���Xmsc��v�?M�wW��J6l��r��̛�y�Y���R�o�B�DK�4]�寗�;�|/�>��m<+z��0#�	��7��E����u��Uzt�c,$BB  t�q����@)�ߘ�Tzrԣ@`��2�[O+==�i��`q޳|V��QN"BJ&Gn=���ܾ��Q 0�HJ�^Tza._PIf $�[/+�4�h�!�i��:?��A\ʝ�b�pO�C�Bm!��1�%��CA��`D9f�P��M�!���$���`?H~����O�u� 3�HpƩ�����֩�F�@ %�p�����c��ׯ	�~�sna�<(�]p,�^�>��TG��q
��q���Xޗ㨈F�,�zYY��w�3=��[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ѹ7kVfkyl����>w�Jk;/��
���и3��Ve�4-TVު����PK�4�Z'k|��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞�q��AM�a�m��=N�&�e����G�
XE�Tb�������4����޾M#9c���-��V9=خ�S2+�n�{e��|$y�����#�Q�8�X8�6w��L9
�Re��3��a΀[&9\<���>9u�Ц?��Յc����~J�^CYd*��na�F��f!�52�K��M-�ˈ���;��Tذ�F�0U��*�*�ˀ�9�|�Ӽ<S+EŅ�56\�J�U�����PK�4�ZЃ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��PK�4�Z����tnxl/sharedStrings.xml �(�}�[O�0��J��$�J��&�]��xX��L��8x&��_�J�H�}��f����⣩�-8FK��F[ ��z~�	�*`�T���j���,a�����i��M��ȶ@�l�k���+cn�+i�x6��ƍFR��I�ft�o\���%���֢���$�,�?�o�� �~����
p0h޳u�m;dF;�4F��JF����v�w��(�u~?,}��5C����9&o�CM�z9,-��s��
�7H�&G��5�]�dE�}�����m���������4��N����(����Yxv�O��t�s3�a^���L�s����+M��������*ڏ���n����A������dPK-�4�Z$��5xl/workbook.xmlPK-�4�Z����	��[Content_Types].xmlPK-
�4�Z\�Z�''U_rels/.relsPK-�4�Z�:�
��xl/worksheets/sheet1.xmlPK-�4�Z'k|��Pxl/_rels/workbook.xml.relsPK-�4�ZЃc'2E
cxl/styles.xmlPK-�4�Z����tn�	xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PK�4�Z�����5xl/workbook.xml �(�����0D�&�C��ER8q����Z��@[����%�x�3;�v��|�t�#��P���1cA�h ܀v�)�
�I�sJi���o�6�����C�ΆV�.�Xa�Mh���mi��"�f�cHr2ֺ�I�b�)�`�ERĂ������ܚ�)񅞆;�S��x湢{�	����PK�4�Z����	�[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
�4�Z&���''_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="R6fb651ce5ca443cf" /></Relationships>PK�4�Z�:�
�xl/worksheets/sheet1.xml �(���[s�0��
��B·��鮵�sg���X��8��?�AC`B{�a�������08�L�އ��8]
}�S�i:�WoCS�	�t4ئ�{�P��4��O���(��I�ӅJ�<H�j�k�4K�B?foa:��S5N��D����L-�BO�/�u��}�W��T4+��,���(^���,��w��25�g���^8���Xmsc��v�?M�wW��J6l��r��̛�y�Y���R�o�B�DK�4]�寗�;�|/�>��m<+z��0#�	��7��E����u��Uzt�c,$BB  t�q����@)�ߘ�Tzrԣ@`��2�[O+==�i��`q޳|V��QN"BJ&Gn=���ܾ��Q 0�HJ�^Tza._PIf $�[/+�4�h�!�i��:?��A\ʝ�b�pO�C�Bm!��1�%��CA��`D9f�P��M�!���$���`?H~����O�u� 3�HpƩ�����֩�F�@ %�p�����c��ׯ	�~�sna�<(�]p,�^�>��TG��q
��q���Xޗ㨈F�,�zYY��w�3=��[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ѹ7kVfkyl����>w�Jk;/��
���и3��Ve�4-TVު����PK�4�Z�����Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞�I�Vu�aö���Q;�]�gc���V���X��j4��'�|�lvo�H^0��;uŀ�S^�pJ殃�v��Q�<�0G�W\`S�הFeq���3��1>L2�4�t��({�
c�4��f��y���1���N�����p�19��c�S���*S�<j{��V6K4L!g�Bo��y�����2�׍^�g�k�M�7��2�~J!_�t*˅���Y)���E�^���PK�4�ZЃ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��PK�4�Z����tnxl/sharedStrings.xml �(�}�[O�0��J��$�J��&�]��xX��L��8x&��_�J�H�}��f����⣩�-8FK��F[ ��z~�	�*`�T���j���,a�����i��M��ȶ@�l�k���+cn�+i�x6��ƍFR��I�ft�o\���%���֢���$�,�?�o�� �~����
p0h޳u�m;dF;�4F��JF����v�w��(�u~?,}��5C����9&o�CM�z9,-��s��
�7H�&G��5�]�dE�}�����m���������4��N����(����Yxv�O��t�s3�a^���L�s����+M��������*ڏ���n����A������dPK-�4�Z�����5xl/workbook.xmlPK-�4�Z����	��[Content_Types].xmlPK-
�4�Z&���''T_rels/.relsPK-�4�Z�:�
��xl/worksheets/sheet1.xmlPK-�4�Z�����Pxl/_rels/workbook.xml.relsPK-�4�ZЃc'2E
axl/styles.xmlPK-�4�Z����tn�	xl/sharedStrings.xmlPK��