POST api/invoice/{guid}/creditNotes

Create a credit note from an invoice

Request Information

URI Parameters

NameDescriptionTypeAdditional information
guid

Invoice identifier

globally unique identifier

Required

Body Parameters

Details for credit note header

InvoiceCreditNote
NameDescriptionTypeAdditional information
InvoiceIdentifier

globally unique identifier

None.

CreatedByUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "invoiceIdentifier": "6564634a-7e34-4a13-a3ae-ee4a2452102a",
  "createdByUser": "sample string 1"
}

application/xml, text/xml

Sample:
<InvoiceCreditNote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.CreditNotes">
  <CreatedByUser>sample string 1</CreatedByUser>
  <InvoiceIdentifier>6564634a-7e34-4a13-a3ae-ee4a2452102a</InvoiceIdentifier>
</InvoiceCreditNote>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Credit note identifier

globally unique identifier

Response Formats

application/json, text/json

Sample:
"98756c24-8123-4d88-9b3e-29e34b5f39f2"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">98756c24-8123-4d88-9b3e-29e34b5f39f2</guid>

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Sample:
PK��\84���5xl/workbook.xml �(�����0��J}�(�T!����k��N0%��(IE�!�n�|����&n�D>j־r
C�c^���_�Ew�q
B����0H��o�:��z-���4ڏ�z���ay�z?"5o(R��|"�^�=%.>�h�uW��-�~Su�I
�AJ�s��Q�*�G��,y�9�o =��f���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="R6d906ba6c6cf4f6a" /></Relationships>PK��\y@��#�xl/worksheets/sheet1.xml �(��QMo� �+��
�TT%�*U�v�v��,qj���?�hӤ]vl���gS�v`w�����z%9�`k\_�)vO?���4@dw��+�c�B�F�Ua�#8�u譊��^`י.�L\)�à"Im����p�уj�;,TV��5Ğ�3]��k�D]f仁9��Y�񖒗��2c��5+�z�B��!����ב6��=
!�̚�7άz�w6m��+Ylw��^nŞ��)D�Kyq)��yQQեǙ�\&��yBvJ��ײ��K�����~M[E������_PK��\���/�Pxl/_rels/workbook.xml.rels �(���MN�0F�b͞8I�4��vÆm��3��&�e�@�Ƃ#q,@�J,�te�7��ӌ�_߶��i$O��lUQA+�l��9����G��hI~bc&%��4J����hsG�0���S���H�lh�3�I���!:���N�'��0}v�
br����O��Q�
�Aup�Eݴ����q)�Л��t1�z}�3�E�j�n�z�j��˛�P=��7=w���9-�J�F(�`L|�ѫ��PK��\Ѓ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��\�Yݐ��xl/sharedStrings.xml �(�5�An�0E�b��11$5�q�z���Sf����]t��������W��;�B�O
(��L��|��i�%��B8�2�{�̢�x�Ed���9�lH5�˞�Tܟ�������ئ����AR��J���s��%���rm��ٶ������Em{l��en��z#�������/PK-��\84���5xl/workbook.xmlPK-��\����	��[Content_Types].xmlPK-
��\��''U_rels/.relsPK-��\y@��#��xl/worksheets/sheet1.xmlPK-��\���/�P6xl/_rels/workbook.xml.relsPK-��\Ѓc'2E
}xl/styles.xmlPK-��\�Yݐ���xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PK��\�͒F�5xl/workbook.xml �(�����0��&�C����$�p��Ճ�i�?ik��-%�x�3;���Y���H>rR���7%c�P�;i�*�zm%� ��-6�}KT�%�s�,N�Vn�ѕ���й��iEI���!|i�8�(���]L���M��/�"
$V��D��U�B�-E�i�y��5ɳ����;���w�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
��\'
o�''_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="Rd3afc29dc1284eb4" /></Relationships>PK��\y@��#�xl/worksheets/sheet1.xml �(��QMo� �+��
�TT%�*U�v�v��,qj���?�hӤ]vl���gS�v`w�����z%9�`k\_�)vO?���4@dw��+�c�B�F�Ua�#8�u譊��^`י.�L\)�à"Im����p�уj�;,TV��5Ğ�3]��k�D]f仁9��Y�񖒗��2c��5+�z�B��!����ב6��=
!�̚�7άz�w6m��+Ylw��^nŞ��)D�Kyq)��yQQեǙ�\&��yBvJ��ײ��K�����~M[E������_PK��\R`��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8Nl7AM�a�m��3���m�n�gc���V� �X��j4��'�|���o�D���hM,ˁ�ѶM��)vl7�=N*��0�.��bBC��Ҡ�UȬC�:����)�=uJU���sI���Lr�8��vݨ���ӌ&����À���16�S
�X��@vm{��J
,�B
�R
��Z��	ï�w��)�@%P�b/�UfP���ӥ�N��B��k�^*Y��匵W5z��/PK��\Ѓ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��\�Yݐ��xl/sharedStrings.xml �(�5�An�0E�b��11$5�q�z���Sf����]t��������W��;�B�O
(��L��|��i�%��B8�2�{�̢�x�Ed���9�lH5�˞�Tܟ�������ئ����AR��J���s��%���rm��ٶ������Em{l��en��z#�������/PK-��\�͒F�5xl/workbook.xmlPK-��\����	�[Content_Types].xmlPK-
��\'
o�''V_rels/.relsPK-��\y@��#��xl/worksheets/sheet1.xmlPK-��\R`��P7xl/_rels/workbook.xml.relsPK-��\Ѓc'2E
}xl/styles.xmlPK-��\�Yݐ���xl/sharedStrings.xmlPK��