protected function generateFileTrailer()
    {
        $format = '%03.3s%04.4s%01.1s%-9.9s%06.6s%06.6s%06.6s%-205.205s';

        $data = [
            $this->shipping_file->assignment->bank->code,
            '9999',
            '9',
            '',
            $this->lot_count,
            $this->registry_count,
            '0',
            '',
        ];

        return vsprintf($format, static::normalize($data));
    }