Skip to main content

build_tech_responsible

Function build_tech_responsible 

Source
pub fn build_tech_responsible(tech: &TechResponsibleData) -> String
Expand description

Build <infRespTec> element.

When both csrt and csrt_id are present, generates <idCSRT> and <hashCSRT> tags. The hash follows the PHP sped-nfe algorithm: base64(sha1(CSRT + chNFe, raw_binary)).