PUT api/creditNote/{id}/detail/{guid}
Save a credit detail for a credit note
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Credit note identifier |
globally unique identifier |
Required |
| guid |
Credit detail identifier |
globally unique identifier |
Required |
Body Parameters
Credit detail
CreditDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| CreditNoteIdentifier | Collection of byte |
None. |
|
| CreditNoteGuid | globally unique identifier |
None. |
|
| CreditDetailIdentifier | Collection of byte |
None. |
|
| CreditDetailIdentifierGuid | globally unique identifier |
None. |
|
| PLUG_UID | Collection of byte |
None. |
|
| PluGuid | globally unique identifier |
None. |
|
| InvoiceDetailIdentifier | Collection of byte |
None. |
|
| InvoiceDetailIdentifierGuid | globally unique identifier |
None. |
|
| Created | date |
None. |
|
| CreditReason | CreditDetailReason |
None. |
|
| InventoryReason | InventoryReasons |
None. |
|
| Notes | string |
None. |
|
| OrderByWeight | boolean |
None. |
|
| SoldByWeight | boolean |
None. |
|
| CartonQuantity | integer |
None. |
|
| Units | integer |
None. |
|
| Cartons | integer |
None. |
|
| Weight | integer |
None. |
|
| CostGstPercent | integer |
None. |
|
| Amount | integer |
None. |
|
| ExtendedAmount | integer |
None. |
|
| CostDecimals | integer |
None. |
|
| RequestedUnits | integer |
None. |
|
| RequestedCartons | integer |
None. |
|
| RequestedWeight | integer |
None. |
|
| MovementQty | integer |
None. |
|
| MovementQtyPacks | integer |
None. |
|
| UpdatedInventory | boolean |
None. |
|
| Deleted | boolean |
None. |
|
| Updated | date |
None. |
|
| ProductActive | boolean |
Relation. This field may not always be loaded or used for updates. |
|
| ProductDescription | string |
Relation. This field may not always be loaded or used for updates. |
|
| ProductBarcode | string |
Relation. This field may not always be loaded or used for updates. |
|
| InventoryReasonDescription | string |
Relation. This field may not always be loaded or used for updates. |
|
| OrderOrderedUnits | integer |
Relation. This field may not always be loaded or used for updates. |
|
| OrderOrderedCartons | integer |
Relation. This field may not always be loaded or used for updates. |
|
| OrderOrderedWeight | decimal number |
Relation. This field may not always be loaded or used for updates. |
|
| OrderReceivedUnits | integer |
Relation. This field may not always be loaded or used for updates. |
|
| OrderReceivedCartons | integer |
Relation. This field may not always be loaded or used for updates. |
|
| OrderReceivedWeight | decimal number |
Relation. This field may not always be loaded or used for updates. |
|
| InvoiceUnitsSupplied | integer |
Relation. This field may not always be loaded or used for updates. |
|
| InvoiceUnitsReceived | integer |
Relation. This field may not always be loaded or used for updates. |
|
| InvoiceWeightShipped | decimal number |
Relation. This field may not always be loaded or used for updates. |
|
| InvoiceWeightReceived | decimal number |
Relation. This field may not always be loaded or used for updates. |
|
| Images | boolean |
Relation. This field may not always be loaded or used for updates. |
|
| CalculateExtended |
When set to true, saving Credit Detail will calculate the ExtendedAmount |
boolean |
Relation. This field may not always be loaded or used for updates. |
| PopulateImages |
When set to true, copy credit detail receive images from source records |
boolean |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
{
"creditNoteIdentifier": "xqjGvlOnSkeKGrgCL+lI/A==",
"creditNoteGuid": "bec6a8c6-a753-474a-8a1a-b8022fe948fc",
"creditDetailIdentifier": "BCfb7hDXu0+73btq61GPqA==",
"creditDetailIdentifierGuid": "eedb2704-d710-4fbb-bbdd-bb6aeb518fa8",
"pluG_UID": "GwyUsyhgwkqt0VES8q7ySg==",
"pluGuid": "b3940c1b-6028-4ac2-add1-5112f2aef24a",
"invoiceDetailIdentifier": "wOclk2olxEmWn5sHA9XKAg==",
"invoiceDetailIdentifierGuid": "9325e7c0-256a-49c4-969f-9b0703d5ca02",
"created": "2026-04-03T06:20:03.2073175",
"creditReason": 2,
"inventoryReason": 1,
"notes": "sample string 3",
"orderByWeight": true,
"soldByWeight": true,
"cartonQuantity": 6,
"units": 7,
"cartons": 8,
"weight": 9,
"costGstPercent": 10,
"amount": 11,
"extendedAmount": 12,
"costDecimals": 13,
"requestedUnits": 14,
"requestedCartons": 15,
"requestedWeight": 16,
"movementQty": 17,
"movementQtyPacks": 18,
"updatedInventory": true,
"deleted": true,
"updated": "2026-04-03T06:20:03.2073175",
"productActive": true,
"productDescription": "sample string 22",
"productBarcode": "sample string 23",
"inventoryReasonDescription": "sample string 24",
"orderOrderedUnits": 1,
"orderOrderedCartons": 1,
"orderOrderedWeight": 1.1,
"orderReceivedUnits": 1,
"orderReceivedCartons": 1,
"orderReceivedWeight": 1.1,
"invoiceUnitsSupplied": 1,
"invoiceUnitsReceived": 1,
"invoiceWeightShipped": 1.1,
"invoiceWeightReceived": 1.1,
"images": true,
"calculateExtended": true,
"populateImages": true
}
application/xml, text/xml
<CreditDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.CreditNotes"> <Amount>11</Amount> <CalculateExtended>true</CalculateExtended> <CartonQuantity>6</CartonQuantity> <Cartons>8</Cartons> <CostDecimals>13</CostDecimals> <CostGstPercent>10</CostGstPercent> <Created>2026-04-03T06:20:03.2073175+00:00</Created> <CreditDetailIdentifier>BCfb7hDXu0+73btq61GPqA==</CreditDetailIdentifier> <CreditDetailIdentifierGuid>eedb2704-d710-4fbb-bbdd-bb6aeb518fa8</CreditDetailIdentifierGuid> <CreditNoteGuid>bec6a8c6-a753-474a-8a1a-b8022fe948fc</CreditNoteGuid> <CreditNoteIdentifier>xqjGvlOnSkeKGrgCL+lI/A==</CreditNoteIdentifier> <CreditReason>2</CreditReason> <Deleted>true</Deleted> <ExtendedAmount>12</ExtendedAmount> <Images>true</Images> <InventoryReason>1</InventoryReason> <InventoryReasonDescription>sample string 24</InventoryReasonDescription> <InvoiceDetailIdentifier>wOclk2olxEmWn5sHA9XKAg==</InvoiceDetailIdentifier> <InvoiceDetailIdentifierGuid>9325e7c0-256a-49c4-969f-9b0703d5ca02</InvoiceDetailIdentifierGuid> <InvoiceUnitsReceived>1</InvoiceUnitsReceived> <InvoiceUnitsSupplied>1</InvoiceUnitsSupplied> <InvoiceWeightReceived>1.1</InvoiceWeightReceived> <InvoiceWeightShipped>1.1</InvoiceWeightShipped> <MovementQty>17</MovementQty> <MovementQtyPacks>18</MovementQtyPacks> <Notes>sample string 3</Notes> <OrderByWeight>true</OrderByWeight> <OrderOrderedCartons>1</OrderOrderedCartons> <OrderOrderedUnits>1</OrderOrderedUnits> <OrderOrderedWeight>1.1</OrderOrderedWeight> <OrderReceivedCartons>1</OrderReceivedCartons> <OrderReceivedUnits>1</OrderReceivedUnits> <OrderReceivedWeight>1.1</OrderReceivedWeight> <PLUG_UID>GwyUsyhgwkqt0VES8q7ySg==</PLUG_UID> <PluGuid>b3940c1b-6028-4ac2-add1-5112f2aef24a</PluGuid> <PopulateImages>true</PopulateImages> <ProductActive>true</ProductActive> <ProductBarcode>sample string 23</ProductBarcode> <ProductDescription>sample string 22</ProductDescription> <RequestedCartons>15</RequestedCartons> <RequestedUnits>14</RequestedUnits> <RequestedWeight>16</RequestedWeight> <SoldByWeight>true</SoldByWeight> <Units>7</Units> <Updated>2026-04-03T06:20:03.2073175+00:00</Updated> <UpdatedInventory>true</UpdatedInventory> <Weight>9</Weight> </CreditDetail>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
None.