Credit Invoice

Credit invoice.

PUT /api/.../invoices/{id}/creditinvoice

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the invoice.
dtoInvoiceCreditData Invoice Credit details Yes Define this parameter in the request body.
DtoInvoiceCreditData
Property Type Nullable Description
CheckVchrNumber string Yes Voucher number
CheckVchrDate Datetime No Voucher date
PaymentTypeID int No Options are 2 (Check), 3 (Voucher)
Example
application/json, text/json
  {
    "PaymentTypeID": 2,
    "CheckVchrNumber": "1234",
    "CheckVchrDate": "2021-04-15T00:04:37.634Z"
 }

Response Information

None

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE.
  • Bad request
  • Invalid invoice ID

Required Permissions

Permission IDs found here.

    CR_AccessAcquisitions_Allow (),
    CR_Invoices_Access (based on owner ID)
    CR_Invoices_Modify (based on owner ID)
    CR_Invoices_PayCredit (based on owner ID)