POST api/Accounting/ReceiveInvoice/CreatedFromTaxInvoice

Request Information

URI Parameters

None.

Body Parameters

m_ReceiveInvoice
NameDescriptionTypeAdditional information
fromCreate

string

Required

receiptInvoiceId

integer

None.

cust_id

integer

None.

startDate

date

None.

toDate

date

None.

remark

string

None.

creditNote

Collection of m_ReceiveInvoice_creditNote

None.

taxInvoiceDeliveryNote

Collection of m_ReceiveInvoice_taxInvoiceDeliveryNote

None.

Request Formats

application/json, text/json

Sample:
{
  "fromCreate": "sample string 1",
  "receiptInvoiceId": 2,
  "cust_id": 1,
  "startDate": "2026-04-07T18:08:19.860334+07:00",
  "toDate": "2026-04-07T18:08:19.860334+07:00",
  "remark": "sample string 3",
  "creditNote": [
    {
      "status": true,
      "creditNoteId": 1
    },
    {
      "status": true,
      "creditNoteId": 1
    }
  ],
  "taxInvoiceDeliveryNote": [
    {
      "status": true,
      "taxInvoiceDeliveryNoteId": 1
    },
    {
      "status": true,
      "taxInvoiceDeliveryNoteId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<m_ReceiveInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Accounting">
  <creditNote>
    <m_ReceiveInvoice_creditNote>
      <creditNoteId>1</creditNoteId>
      <status>true</status>
    </m_ReceiveInvoice_creditNote>
    <m_ReceiveInvoice_creditNote>
      <creditNoteId>1</creditNoteId>
      <status>true</status>
    </m_ReceiveInvoice_creditNote>
  </creditNote>
  <cust_id>1</cust_id>
  <fromCreate>sample string 1</fromCreate>
  <receiptInvoiceId>2</receiptInvoiceId>
  <remark>sample string 3</remark>
  <startDate>2026-04-07T18:08:19.860334+07:00</startDate>
  <taxInvoiceDeliveryNote>
    <m_ReceiveInvoice_taxInvoiceDeliveryNote>
      <status>true</status>
      <taxInvoiceDeliveryNoteId>1</taxInvoiceDeliveryNoteId>
    </m_ReceiveInvoice_taxInvoiceDeliveryNote>
    <m_ReceiveInvoice_taxInvoiceDeliveryNote>
      <status>true</status>
      <taxInvoiceDeliveryNoteId>1</taxInvoiceDeliveryNoteId>
    </m_ReceiveInvoice_taxInvoiceDeliveryNote>
  </taxInvoiceDeliveryNote>
  <toDate>2026-04-07T18:08:19.860334+07:00</toDate>
</m_ReceiveInvoice>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'm_ReceiveInvoice'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.