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": "bgfe7nEuVUKc1/BlDxLM3w==",
"creditNoteGuid": "eede076e-2e71-4255-9cd7-f0650f12ccdf",
"creditDetailIdentifier": "arbx8b/CvUq/Cfrk14vjBg==",
"creditDetailIdentifierGuid": "f1f1b66a-c2bf-4abd-bf09-fae4d78be306",
"pluG_UID": "UyYNFyVmPUGKz1Jawx4+HA==",
"pluGuid": "170d2653-6625-413d-8acf-525ac31e3e1c",
"invoiceDetailIdentifier": "cCrYwKH3FkeMktlbM2qz4w==",
"invoiceDetailIdentifierGuid": "c0d82a70-f7a1-4716-8c92-d95b336ab3e3",
"created": "2026-06-03T18:34:36.1275486",
"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-06-03T18:34:36.1275486",
"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-06-03T18:34:36.1275486+00:00</Created> <CreditDetailIdentifier>arbx8b/CvUq/Cfrk14vjBg==</CreditDetailIdentifier> <CreditDetailIdentifierGuid>f1f1b66a-c2bf-4abd-bf09-fae4d78be306</CreditDetailIdentifierGuid> <CreditNoteGuid>eede076e-2e71-4255-9cd7-f0650f12ccdf</CreditNoteGuid> <CreditNoteIdentifier>bgfe7nEuVUKc1/BlDxLM3w==</CreditNoteIdentifier> <CreditReason>2</CreditReason> <Deleted>true</Deleted> <ExtendedAmount>12</ExtendedAmount> <Images>true</Images> <InventoryReason>1</InventoryReason> <InventoryReasonDescription>sample string 24</InventoryReasonDescription> <InvoiceDetailIdentifier>cCrYwKH3FkeMktlbM2qz4w==</InvoiceDetailIdentifier> <InvoiceDetailIdentifierGuid>c0d82a70-f7a1-4716-8c92-d95b336ab3e3</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>UyYNFyVmPUGKz1Jawx4+HA==</PLUG_UID> <PluGuid>170d2653-6625-413d-8acf-525ac31e3e1c</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-06-03T18:34:36.1275486+00:00</Updated> <UpdatedInventory>true</UpdatedInventory> <Weight>9</Weight> </CreditDetail>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
None.