Finalize a draft credit
Changed onDeprecated — use /v1/SalesCredits/Finalize/{id} instead. This route still works and returns the same result; only the spelling of the resource changed.
Request
- Base URLhttps://api.altoviz.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Draft credit ID
Query parameters
Date the credit is finalized on. Defaults to the credit's own date.
How the credit date is recalculated when it prevents finalization, i.e. when it is earlier than the last finalized credit or too far in the future. None (default): keep the date, finalization fails. MinimumDate: use the date of the last finalized credit. Today: use today's date. When finalizationDate is also supplied, it is used first and this only applies if that date cannot be finalized on. Due dates are recalculated from the resulting date.
Response
OK
Changes
- warning
removed the optional property
//from the response with the status (media type: text/plain) - warning
removed the optional property
//from the response with the status (media type: application/json) - warning
removed the optional property
//from the response with the status (media type: text/json) - info
endpoint deprecated
- info
added the optional property
//to the response with the status (media type: text/plain) - info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: text/json) - info
added the optional property
///to the response with the status (media type: text/plain) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: text/json) - info
added the optional property
///to the response with the status (media type: text/plain) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: text/json) - info
added the optional property
///to the response with the status (media type: text/plain) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: text/json) - info
added the optional property
///to the response with the status (media type: text/plain) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: text/json) - info
added the optional property
///to the response with the status (media type: text/plain) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: text/json) - info
added the optional property
///to the response with the status (media type: text/plain) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: text/json) - info
response property
lines/items/product/isUnitPriceTaxIncludeddeprecated (media type: text/plain) - info
response property
lines/items/product/isUnitPriceTaxIncludeddeprecated (media type: application/json) - info
response property
lines/items/product/isUnitPriceTaxIncludeddeprecated (media type: text/json) - info
response property
lines/items/product/unitPricedeprecated (media type: text/plain) - info
response property
lines/items/product/unitPricedeprecated (media type: application/json) - info
response property
lines/items/product/unitPricedeprecated (media type: text/json)
- warning
- info
added the new optional
queryrequest parameterdateAdjustment - info
added the new optional
queryrequest parameterfinalizationDate - info
added the optional property
to the response with the status (media type: text/plain) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: text/json) - info
added the optional property
to the response with the status (media type: text/plain) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: text/json) - info
added the optional property
to the response with the status (media type: text/plain) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: text/json) - info
added the optional property
to the response with the status (media type: text/plain) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: text/json)
- info