Calculate document totals
Calculates totals for document items
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
merchantId
Merchant ID
organizationId
Organization ID
Request
This endpoint expects an object.
documentTypeId
Document type ID
items
Array of document items to calculate totals for
Response
Total calculation completed successfully
details
Items with calculated totals
totals
Document totals including net total, taxes total and grand total
Errors
400
Calculate Document Totals Request Bad Request Error
401
Calculate Document Totals Request Unauthorized Error
403
Calculate Document Totals Request Forbidden Error
422
Calculate Document Totals Request Unprocessable Entity Error
500
Calculate Document Totals Request Internal Server Error