POST api/Invoice/PostDocReversal

Request Information

URI Parameters

None.

Body Parameters

DocReversalInputs
NameDescriptionTypeAdditional information
RC_COMP_CODE

integer

None.

RC_DOC_TYPE_ID

integer

None.

RC_TRANS_TYPE

string

None.

RC_HEADER_ID

integer

None.

RC_DOC_ID

integer

None.

RC_DOCUMENT_NUMBER

string

None.

RC_GL_DATE

date

None.

RC_DOC_DATE

date

None.

RC_REV_REASON

string

None.

RC_PROGRAM_ID

string

None.

RC_CREATED_BY

integer

None.

RC_MODE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RC_COMP_CODE": 1,
  "RC_DOC_TYPE_ID": 1,
  "RC_TRANS_TYPE": "sample string 1",
  "RC_HEADER_ID": 1,
  "RC_DOC_ID": 1,
  "RC_DOCUMENT_NUMBER": "sample string 2",
  "RC_GL_DATE": "2025-12-06T05:20:43.3684098+00:00",
  "RC_DOC_DATE": "2025-12-06T05:20:43.3684098+00:00",
  "RC_REV_REASON": "sample string 3",
  "RC_PROGRAM_ID": "sample string 4",
  "RC_CREATED_BY": 1,
  "RC_MODE": "sample string 5"
}

application/xml, text/xml

Sample:
<DocReversalInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <RC_COMP_CODE>1</RC_COMP_CODE>
  <RC_CREATED_BY>1</RC_CREATED_BY>
  <RC_DOCUMENT_NUMBER>sample string 2</RC_DOCUMENT_NUMBER>
  <RC_DOC_DATE>2025-12-06T05:20:43.3684098+00:00</RC_DOC_DATE>
  <RC_DOC_ID>1</RC_DOC_ID>
  <RC_DOC_TYPE_ID>1</RC_DOC_TYPE_ID>
  <RC_GL_DATE>2025-12-06T05:20:43.3684098+00:00</RC_GL_DATE>
  <RC_HEADER_ID>1</RC_HEADER_ID>
  <RC_MODE>sample string 5</RC_MODE>
  <RC_PROGRAM_ID>sample string 4</RC_PROGRAM_ID>
  <RC_REV_REASON>sample string 3</RC_REV_REASON>
  <RC_TRANS_TYPE>sample string 1</RC_TRANS_TYPE>
</DocReversalInputs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.