Update a document type

Path parameters

document_type_idstringRequired

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
last_sequence_numberintegerRequired

Add the last_sequence_number with which you will start issuing.

Response

Your document type is successfully updated.
document_type_idinteger or null
Returns the ID of the document that was updated.
namestring or null
Returns the name of the document that was updated.
last_sequence_numberinteger or null
Returns the number of the document that was updated.
active_userinteger or null

Returns if the user is active to use the document that was updated.
1 = Enabled
0 = Disabled

active_systeminteger or null

Returns whether the system allows using the document that was updated.
1 = Enabled
0 = Disabled

received_issued_flaginteger or null

Returns whether the document type is issued or received.
1 = Issued
0 = Received

charge_credit_flaginteger or null

Returns whether the document type is a charge or a credit.
1 = Charge
0 = Credit

Errors