POST api/invoice/raisecreditnote
Raise a credit note against invoice items on an invoice
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.Accounts.CreditNotes.Command.RaiseCreditNoteDataContractName | Description | Type | Additional information |
---|---|---|---|
DateTime | date |
None. |
|
IssuingParty | Dezrez.Core.DataContracts.Accounts.Invoices.IssuingParty |
None. |
|
ReceipientAccountId | integer |
None. |
|
Description | string |
None. |
|
Items | Collection of Dezrez.Core.DataContracts.Accounts.CreditNotes.Query.CreditNoteItemDataContract |
None. |
|
Reason | string |
None. |
|
IssueRefund | boolean |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "DateTime": "2024-10-11T17:42:36.7172526Z", "IssuingParty": 0, "ReceipientAccountId": 2, "Description": "sample string 3", "Items": [ { "InvoiceItemId": 1, "Amount": 2.0, "LiabilityAccountType": 0 }, { "InvoiceItemId": 1, "Amount": 2.0, "LiabilityAccountType": 0 } ], "Reason": "sample string 4", "IssueRefund": true }
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.