Reserve Voucher

Use this endpoint to reserve amount on voucher.

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

voucherIdUUIDRequired
A unique identifier for the voucher

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
documentNostringRequired
The document number for which reservation has been done
amountdoubleRequired
The amount to reserve on voucher

Response

This endpoint returns an object.
reservationobject
Information about reservation