Void/Delete Voucher
    • 06 Jan 2025
    • 2 Minutes to read
    • Dark
      Light

    Void/Delete Voucher

    • Dark
      Light

    Article summary

    Post
    /ap-rest-api/rest/1/voiddeletevoucher

    Void/Delete Cheques

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    Body parameters
    object
    Example{ "VouBchPost": "N", "VouCompCode": "001", "VouJobCode": "16-001", "VouVenCode": "0415", "VouContCode": "16-001.001", "VouChgCode": "000", "VouInvCode": "LTEST123", "VouInvSeriesCode": "SUBS", "VouCurrCode": "USD", "VouNum": 1.0, "VouInvAmt": 1.0, "VouInvDate": "2020-10-07", "VouDueDate": "2020-11-06", "VouPostDate": "2020-12-01", "VouFinalRfpFlag": "N", "VouPayByManualChqFlag": "N" }
    VouDueDate
    string Required

    This is the date the invoice is to be paid by.

    💻 UI Fieldname: VouDueDate

    VouBchPost
    string

    💻 UI Fieldname: VouBchPost

    VouCompCode
    string Required

    This is the company code that holds the liability for this voucher. This must be a VALID CMiC company code.

    💻 UI Fieldname: VouCompCode

    Max length8
    VouPayByManualChqFlag
    string

    💻 UI Fieldname: VouPayByManualChqFlag

    Max length1
    VouPostDate
    string Required

    This is the date this invoice was posted to the General Ledger.

    💻 UI Fieldname: VouPostDate

    VouVenCode
    string Required

    This is the vendor code on this voucher. This must be a VALID CMiC Vendor.

    💻 UI Fieldname: VouVenCode

    Max length8
    VouCurrCode
    string Required

    This is the currency code of the invoice. This must be a VALID CMiC Currency Code for the company entered in VouNum

    💻 UI Fieldname: VouCurrCode

    Max length3
    VouJobCode
    string

    If this invoice is for a single job only, then enter the job code here. This must be a VALID CMiC job code or blank.

    💻 UI Fieldname: VouJobCode

    Max length10
    VouChgCode
    string

    If a value is entered in VouContCode this is a mandatory field. This is the change order number the subcontractor invoice refers to. If the invoice is for the standard contract then set this to ‘000’. If this is for a change order then enter the change order number.

    💻 UI Fieldname: VouChgCode

    Max length6
    VouContCode
    string

    If this invoice is for a subcontractor then this should be the contract number. This must be a VALID CMiC contract code or blank.

    💻 UI Fieldname: VouContCode

    Max length20
    VouInvSeriesCode
    string

    If invoice series codes are being used to indicate the type of invoice then a VALID CMiC series code should be entered or leave blank.

    💻 UI Fieldname: VouInvSeriesCode

    Max length4
    VouNum
    number Required

    This is a unique number for each voucher entered in the system. The first record in the first batch (file) should have a value of –999999 and increment from there by 1 for each record. Start each successive file with a value that is 1 + the value of the last record in the previous batch and increment the numbers from there for each record in the new batch.

    💻 UI Fieldname: VouNum

    Max length2211
    VouFinalRfpFlag
    string

    💻 UI Fieldname: VouFinalRfpFlag

    Max length1
    VouInvAmt
    number Required

    This is the amount of the invoice before taxes and regardless of retainage. (The amount entered in the ‘AMOUNT’ field of voucher entry). If this is a retainage release voucher, set this to ‘0’.

    💻 UI Fieldname: VouInvAmt

    Max length2218
    VouInvCode
    string Required

    This is the vendors invoice number as shown on the invoice. This must be unique for the vendor within the company and preferably within the system. See VouDuplicateId for a way to handle duplicate invoice codes.

    💻 UI Fieldname: VouInvCode

    Max length20
    VouInvDate
    string Required

    This is the date of the invoice.

    💻 UI Fieldname: VouInvDate

    Responses
    201

    Successful response