Invoices
post/api/v1/Invoices/void

Request

Query parameters

isVoidETaxInvoice0 | 1

Numeric code indicating whether to also void the linked e-Tax Invoice. Defaults to 0

Headers

Time-Stampstring required

Timestamp (yyyyMMddHHmmss)

Time-Signaturestring required

HMAC-SHA1 encrypted Time-Stamp where Secret Key is connectId

User-Tokenstring required

This token will be generated by PEAK.

Client-Tokenstring required

Token used to identify between client and PEAK to call API.

Request body

Response

Success

resCodestring
resDescstring

Changes

    • breaking

      removed the media type application/*+json from the request body

    • breaking

      removed the media type application/json-patch+json from the request body

    • breaking

      removed the media type text/json from the request body

    • breaking

      the query request parameter isVoidETaxInvoice was restricted to a list of enum values

    • breaking

      the request property became required

    • info

      added the new enum value 0.00 to the query request parameter isVoidETaxInvoice

    • info

      added the new enum value 1.00 to the query request parameter isVoidETaxInvoice