The referencePublication term in the codemeta vocabulary should be used to offer researchers depositing software the possibility to link to existing papers related to the software (in particular the most relevant article introducing/describing the software).
For HAL, this can be implemented using the same format as for the "relatedData" field