Skip to navigation

Add New GRN

View as Markdown

Add GRN

This API endpoint allows you to add a Goods Receipt Note (GRN) to the Dice system.

Request Body

ParamsRequiredTypeDescription
invoiceIdMandatoryIntegerThe ID of the invoice (e.g., 444935).
dataMandatoryObjectAdditional data related to the invoice.
referenceMandatoryStringA reference related to the invoice.
remarksMandatoryStringRemarks or notes about the invoice.
partialMandatoryBooleanIndicates if the invoice is partial.
filesMandatoryArrayAn array of files related to the invoice.
dateMandatoryStringThe date of the invoice (e.g., “12”).
itemsMandatoryArrayAn array of items within the invoice.
qttyMandatoryNumberQuantity of the item (e.g., 10.0).
idMandatoryIntegerID associated with the item

The “invoiceId” is the ID of the invoice associated with the GRN, and “data” contains additional information such as reference, remarks, partial status, files, date, and items with quantity and ID.

Response

  • success (boolean): Indicates whether the GRN addition was successful. A value of true means the addition was successful.

Example Response

{
"success": true
}

Headers

DICE-APP-IDstringOptional
Company Code of client
X-CLIENT-IDstringOptional
API Client ID
X-CLIENT-SECRETstringOptional
API Client Secret

Request

This endpoint expects an object.
invoiceIdintegerRequired
dataobjectRequired

Response

OK
successboolean